-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
148 lines (148 loc) · 5.38 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
145
146
147
148
{
"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.17.2",
"@ericcornelissen/eslint-plugin-top": "3.4.0",
"@eslint/json": "0.9.0",
"@eslint/markdown": "6.2.1",
"@fast-check/ava": "2.0.1",
"@stryker-mutator/core": "8.7.1",
"@stryker-mutator/tap-runner": "8.7.1",
"ava": "6.2.0",
"better-npm-audit": "3.9.0",
"c8": "10.1.3",
"depreman": "0.3.4",
"dotenv": "16.3.1",
"eslint": "9.14.0",
"eslint-plugin-ava": "15.0.1",
"eslint-plugin-depend": "0.12.0",
"eslint-plugin-jsdoc": "50.4.1",
"eslint-plugin-regexp": "2.6.0",
"eslint-plugin-unicorn": "56.0.1",
"eslint-plugin-yml": "1.14.0",
"fast-check": "3.22.0",
"husky": "9.1.1",
"is-ci": "4.1.0",
"licensee": "11.1.1",
"lockfile-lint": "4.13.1",
"ls-engines": "0.9.3",
"markdownlint-cli": "0.43.0",
"npm-run-all2": "7.0.1",
"nve": "18.0.0",
"pp-test-kit": "0.5.1",
"prettier": "3.4.0",
"publint": "0.3.2",
"rollup": "4.31.0",
"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-all audit:*",
"audit:deprecations": "depreman --errors-only --report-unused",
"audit:vulnerabilities": "better-npm-audit audit",
"audit:vulnerabilities:runtime": "better-npm-audit audit --production",
"check": "npm-run-all check:*",
"check:ci": "node script/maybe-run.js actionlint",
"check:dependencies": "node script/check-runtime-deps.js",
"check:formatting": "npm run _prettier -- --check",
"check:js": "npm run _eslint -- '**/*.{cjs,js}'",
"check:json": "npm run _eslint -- '**/*.json'",
"check:licenses": "licensee --errors-only",
"check:lockfile": "lockfile-lint",
"check:manifest": "npm run transpile && publint --strict && attw --pack . && ls-engines",
"check:md": "npm-run-all check:md:*",
"check:md:code": "npm run _eslint -- '**/*.md'",
"check:md:text": "markdownlint --config config/markdownlint.yml --dot --ignore-path .gitignore .",
"check:sh": "node script/maybe-run.js shellcheck script/hooks/*.sh script/hooks/pre-*",
"check:yml": "npm run _eslint -- '**/*.yml'",
"clean": "node script/clean.js",
"coverage": "npm-run-all coverage:*",
"coverage:unit": "c8 --config config/c8/unit.json npm run test:unit",
"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: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:compat": "c8 --config config/c8/compat.json npm run test:compat",
"coverage:breakage": "c8 --config config/c8/breakage.json npm run test:breakage",
"format": "npm run _prettier -- --write",
"fuzz": "node script/fuzz.js",
"mutation": "npm-run-all mutation:*",
"mutation:unit": "stryker run config/stryker/unit.js",
"mutation:integration": "npm run transpile && stryker run config/stryker/integration.js",
"setup": "husky script/hooks",
"test": "npm-run-all test:*",
"test:unit": "ava test/unit/**/*.test.js",
"test:integration": "npm run transpile && ava test/integration/**/*.test.js --timeout 2m",
"test:e2e": "ava test/e2e/**/*.test.js --timeout 1m",
"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:breakage": "ava test/breakage/**/*.test.js",
"transpile": "rollup --config config/rollup.js && node script/create-d-cts.js",
"verify": "npm run check && npm run coverage"
}
}