-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
144 lines (144 loc) · 5.66 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"name": "shescape",
"version": "2.1.1",
"description": "simple shell escape library",
"homepage": "https://github.com/ericcornelissen/shescape#readme",
"license": "MPL-2.0",
"type": "module",
"exports": {
".": {
"import": {
"types": "./index.d.ts",
"default": "./src/modules/index.js"
},
"require": {
"types": "./index.d.cts",
"default": "./src/modules/index.cjs"
}
},
"./stateless": {
"import": {
"types": "./stateless.d.ts",
"default": "./src/modules/stateless.js"
},
"require": {
"types": "./stateless.d.cts",
"default": "./src/modules/stateless.cjs"
}
},
"./testing": {
"import": {
"types": "./testing.d.ts",
"default": "./src/modules/testing.js"
},
"require": {
"types": "./testing.d.cts",
"default": "./src/modules/testing.cjs"
}
}
},
"typings": "index.d.ts",
"engines": {
"node": "^14.18.0 || ^16.13.0 || ^18 || ^19 || ^20 || ^22"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ericcornelissen/shescape.git"
},
"bugs": {
"url": "https://github.com/ericcornelissen/shescape/issues"
},
"author": {
"name": "Eric Cornelissen",
"email": "[email protected]",
"url": "https://ericcornelissen.dev/"
},
"keywords": [
"shell",
"escape",
"injection"
],
"dependencies": {
"which": "^3.0.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.16.4",
"@ericcornelissen/eslint-plugin-top": "3.4.0",
"@eslint/json": "0.6.0",
"@fast-check/ava": "2.0.1",
"@stryker-mutator/core": "8.6.0",
"@stryker-mutator/tap-runner": "8.6.0",
"ava": "6.2.0",
"better-npm-audit": "3.9.0",
"c8": "10.0.0",
"depreman": "0.3.1",
"dotenv": "16.3.1",
"eslint": "9.14.0",
"eslint-plugin-ava": "15.0.0",
"eslint-plugin-jsdoc": "50.4.1",
"eslint-plugin-regexp": "2.6.0",
"eslint-plugin-yml": "1.14.0",
"fast-check": "3.22.0",
"husky": "9.1.1",
"is-ci": "3.0.1",
"knip": "5.11.0",
"licensee": "11.1.1",
"lockfile-lint": "4.13.1",
"ls-engines": "0.9.3",
"markdownlint-cli": "0.42.0",
"nve": "18.0.0",
"pp-test-kit": "0.5.1",
"prettier": "3.3.3",
"publint": "0.2.12",
"rollup": "4.22.4",
"shescape-previous": "npm:[email protected]",
"sinon": "19.0.2"
},
"scripts": {
"_eslint": "eslint --config config/eslint.js --report-unused-disable-directives",
"_prettier": "prettier . --ignore-path .gitignore",
"audit": "npm run audit:deprecations && npm run audit:vulnerabilities",
"audit:deprecations": "depreman --errors-only",
"audit:vulnerabilities": "better-npm-audit audit",
"audit:vulnerabilities:runtime": "better-npm-audit audit --production",
"clean": "node script/clean.js",
"coverage": "npm run coverage:unit && npm run coverage:integration && npm run coverage:e2e && npm run coverage:compat && npm run coverage:breakage",
"coverage:breakage": "c8 --config config/c8/breakage.json npm run test:breakage",
"coverage:compat": "c8 --config config/c8/compat.json npm run test:compat",
"coverage:e2e": "node script/run-platform-coverage.js e2e",
"coverage:e2e:unix": "c8 --config config/c8/e2e-unix.json npm run test:e2e",
"coverage:e2e:win": "c8 --config config/c8/e2e-win.json npm run test:e2e",
"coverage:integration": "node script/run-platform-coverage.js integration",
"coverage:integration:unix": "c8 --config config/c8/integration-unix.json npm run test:integration",
"coverage:integration:win": "c8 --config config/c8/integration-win.json npm run test:integration",
"coverage:unit": "c8 --config config/c8/unit.json npm run test:unit",
"format": "npm run _prettier -- --write",
"format:check": "npm run _prettier -- --check",
"fuzz": "node script/fuzz.js",
"license-check": "licensee --errors-only",
"lint": "npm run lint:ci && npm run lint:js && npm run lint:json && npm run lint:md && npm run lint:sh && npm run lint:yml",
"lint:ci": "node script/maybe-run.js actionlint",
"lint:js": "npm run _eslint -- '**/*.{cjs,js}'",
"lint:json": "npm run _eslint -- '**/*.{json,jsonc}'",
"lint:md": "markdownlint --config config/markdownlint.yml --dot --ignore-path .gitignore .",
"lint:sh": "node script/maybe-run.js shellcheck script/hooks/*.sh script/hooks/pre-*",
"lint:yml": "npm run _eslint -- '**/*.yml'",
"mutation": "npm run mutation:unit && npm run mutation:integration",
"mutation:integration": "npm run transpile && stryker run config/stryker/integration.js",
"mutation:unit": "stryker run config/stryker/unit.js",
"setup": "husky script/hooks",
"test": "npm run test:unit && npm run test:integration && npm run test:e2e && npm run test:compat && npm run test:breakage",
"test:breakage": "ava test/breakage/**/*.test.js",
"test:compat": "node test/compat/runner.js",
"test:compat-all": "nve 14.18.0,16.13.0,18.0.0,19.0.0,20.0.0,22.0.0 npm run test:compat",
"test:e2e": "ava test/e2e/**/*.test.js --timeout 1m",
"test:integration": "npm run transpile && ava test/integration/**/*.test.js --timeout 2m",
"test:unit": "ava test/unit/**/*.test.js",
"transpile": "rollup --config config/rollup.js && node script/create-d-cts.js",
"verify": "npm run format:check && npm run license-check && npm run lint && npm run coverage && npm run vet",
"vet": "npm run vet:deps && npm run vet:package.json && npm run vet:package-lock.json",
"vet:deps": "knip --config config/knip.jsonc",
"vet:package.json": "npm run transpile && publint --strict && attw --pack . && ls-engines",
"vet:package-lock.json": "lockfile-lint"
}
}