package-json-scripts-portability 0.0.0-stage → 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,120 @@
1
1
  {
2
2
  "name": "package-json-scripts-portability",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.0.1",
4
+ "description": "Finds package.json scripts that don't work the same on Windows, macOS and Linux with npm, pnpm, Yarn, aube, upm or node --run, and suggests fixes.",
5
+ "keywords": [
6
+ "npm-scripts",
7
+ "package.json",
8
+ "scripts",
9
+ "cross-platform",
10
+ "portability",
11
+ "windows",
12
+ "cmd",
13
+ "posix",
14
+ "bash",
15
+ "lint"
16
+ ],
17
+ "homepage": "https://github.com/andreww2012/package-json-scripts-portability",
18
+ "bugs": {
19
+ "url": "https://github.com/andreww2012/package-json-scripts-portability/issues/new"
20
+ },
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "git+https://github.com/andreww2012/package-json-scripts-portability.git"
24
+ },
25
+ "license": "MIT",
26
+ "author": "andreww2012",
27
+ "type": "module",
28
+ "exports": {
29
+ ".": "./dist/index.mjs",
30
+ "./package.json": "./package.json"
31
+ },
32
+ "types": "./dist/index.d.mts",
33
+ "files": [
34
+ "dist"
35
+ ],
36
+ "dependencies": {
37
+ "unbash": "6.0.3"
38
+ },
39
+ "devDependencies": {
40
+ "@andreww2012/commitlint-config": "0.1.0",
41
+ "@andreww2012/npm-check-updates-config": "0.1.1",
42
+ "@antfu/ni": "30.6.0",
43
+ "@arethetypeswrong/cli": "0.18.5",
44
+ "@changesets/changelog-github": "1.0.1",
45
+ "@changesets/cli": "3.0.3",
46
+ "@commitlint/cli": "21.2.4",
47
+ "@eslint/config-inspector": "3.5.0",
48
+ "@types/node": "22.20.5",
49
+ "@vitest/coverage-v8": "5.0.5",
50
+ "@vitest/eslint-plugin": "1.6.28",
51
+ "@vitest/ui": "5.0.5",
52
+ "actions-up": "2.0.0",
53
+ "cspell": "10.4.0",
54
+ "eslint": "10.13.0",
55
+ "eslint-config-un": "1.0.0-rc.5",
56
+ "eslint-plugin-github-action": "0.4.0",
57
+ "eslint-plugin-sentences-per-line": "0.1.6",
58
+ "eslint-plugin-sonarjs": "4.2.2",
59
+ "knip": "6.43.0",
60
+ "lefthook": "2.2.2",
61
+ "npm-check-updates": "23.1.1",
62
+ "oxfmt": "0.74.0",
63
+ "publint": "0.3.25",
64
+ "tsdown": "0.23.2",
65
+ "tsx": "4.23.15",
66
+ "typescript": "npm:@typescript/typescript6@6.0.2",
67
+ "typescript7": "npm:typescript@7.1.0-beta",
68
+ "utilery": "0.3.0",
69
+ "vitest": "5.0.5"
70
+ },
71
+ "engines": {
72
+ "node": "^22.23.1 || ^24.18.0 || >=26.4.0"
73
+ },
74
+ "devEngines": {
75
+ "packageManager": {
76
+ "name": "pnpm",
77
+ "version": "12.17.0"
78
+ }
79
+ },
80
+ "inlinedDependencies": {
81
+ "utilery": "0.3.0"
82
+ },
83
+ "scripts": {
84
+ "build": "tsdown",
85
+ "u": "ncu",
86
+ "u:m": "ncu -t minor",
87
+ "u:pm": "pnpm self-update",
88
+ "u:actions": "actions-up",
89
+ "deps:audit": "pnpm audit --audit-level high",
90
+ "deps:audit:fix": "nr deps:audit --fix override",
91
+ "deps:audit:fix:update": "nr deps:audit --fix update",
92
+ "check:deps:dedupe": "pnpm dedupe --check",
93
+ "check:deps:peers": "pnpm peers check",
94
+ "check:spelling": "cspell --no-progress --no-summary .",
95
+ "check:format": "oxfmt --check",
96
+ "format": "oxfmt",
97
+ "eslint:inspect": "eslint-config-inspector --open false",
98
+ "eslint": "eslint --cache",
99
+ "ts": "tsc --noEmit",
100
+ "ts6": "tsc6 --noEmit",
101
+ "knip:main": "knip --no-progress",
102
+ "knip:cycles": "knip --no-progress --cycles --reporter cycles",
103
+ "knip": "nr \"/^knip:.+$/\"",
104
+ "check": "nr \"/^(knip|check:(spelling|format)|ts|eslint)$/\"",
105
+ "check:deps": "nr \"/^(deps:audit|check:deps:peers)$/\"",
106
+ "check:deps:strict": "nr \"/^(deps:audit|check:deps:(dedupe|peers))$/\"",
107
+ "check:package": "pnpm pack --out temp/package.tgz && nr check:package:attw && nr check:package:publint",
108
+ "check:package:attw": "attw temp/package.tgz --profile esm-only",
109
+ "check:package:publint": "publint temp/package.tgz --strict",
110
+ "check:fix": "nr format && nr eslint --fix && nr format",
111
+ "t": "vitest",
112
+ "t:ui": "vitest --ui",
113
+ "t:cov": "vitest --coverage",
114
+ "test:vitest": "nr t run",
115
+ "test:vitest:cov": "nr t:cov run",
116
+ "test": "nr check:deps && nr check && nr test:vitest",
117
+ "ch": "changeset add --message \"___REPLACE_ME___\"",
118
+ "release": "changeset publish"
119
+ }
6
120
  }