-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
113 lines (113 loc) · 3.69 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
{
"name": "run-scripts-util",
"version": "1.3.1",
"description": "Organize npm package.json scripts into groups of easy to manage commands (CLI tool designed for use in npm package.json scripts)",
"license": "MIT",
"type": "module",
"module": "dist/run-scripts.js",
"types": "dist/run-scripts.d.ts",
"exports": "./dist/run-scripts.js",
"files": [
"dist"
],
"bin": {
"run-scripts": "bin/cli.js",
"run-scripts-util": "bin/cli.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/center-key/run-scripts-util.git"
},
"homepage": "https://github.com/center-key/run-scripts-util",
"bugs": "https://github.com/center-key/run-scripts-util/issues",
"docs": "https://github.com/center-key/run-scripts-util#readme",
"author": "Center Key (https://centerkey.com)",
"keywords": [
"asynchronous",
"build",
"cli",
"npm-scripts",
"npm",
"parallel",
"scripts",
"sequential",
"serial",
"synchronous",
"task"
],
"jshintConfig": {
"esversion": 11,
"strict": "implied",
"eqeqeq": true,
"undef": true,
"unused": true,
"varstmt": true,
"node": true,
"mocha": true
},
"runScriptsConfig": {
"spec-a": [
"copy-folder bin spec/fixtures/target/a",
"//echo 'This command will be skipped.'",
"copy-file spec/fixtures/target/a/cli.js spec/fixtures/target/a/cli2.js",
"copy-folder .github/workflows spec/fixtures/target/a"
],
"spec-b1": [
"npm run sleep && copy-file tsconfig.json spec/fixtures/target/b/1/w.json",
"copy-file tsconfig.json spec/fixtures/target/b/1/x.json"
],
"spec-b2": [
"npm run sleep && copy-file tsconfig.json spec/fixtures/target/b/1/y.json",
"npm run sleep && copy-file tsconfig.json spec/fixtures/target/b/1/z.json",
"copy-folder spec/fixtures/target/b/1 spec/fixtures/target/b/2"
],
"spec-c1": [
"copy-file LICENSE.txt spec/fixtures/target/c/1/license1.txt"
],
"spec-c2": [
"copy-folder --cd=spec/fixtures/target/c 1 2",
"copy-file --cd=spec/fixtures/target/c/2 license1.txt license2.txt",
"copy-file --cd=spec/fixtures/target/c/2 license2.txt last.txt",
"rimraf spec/fixtures/target/c/1 spec/fixtures/target/c/2/license*.txt"
],
"spec-d": [
"copy-file 'LICENSE.txt' '--note=Comment with spaces' --folder 'spec/fixtures/target/d/folder name with spaces'"
],
"spec-e": [
"copy-file screenshot.png --folder spec/fixtures/target/e",
"jshint . --bogus-option"
]
},
"scripts": {
"step:01": "rimraf build dist spec/fixtures/target",
"step:02": "jshint . --exclude-path .gitignore",
"step:03": "eslint --max-warnings 0",
"step:10": "tsc",
"step:20": "add-dist-header build dist",
"pretest": "npm-run-all step:*",
"test": "mocha spec/*.spec.js --timeout 7000",
"sleep": "node --eval 'setTimeout(() => {}, 500)'",
"dev": "tsc && add-dist-header build dist && mocha spec/*.spec.js --grep serial"
},
"dependencies": {
"chalk": "~5.3",
"cli-argv-util": "~1.2",
"fancy-log": "~2.0"
},
"devDependencies": {
"@eslint/js": "~9.9",
"@types/fancy-log": "~2.0",
"@types/node": "~22.3",
"add-dist-header": "~1.4",
"assert-deep-strict-equal": "~1.2",
"copy-file-util": "~1.2",
"copy-folder-util": "~1.1",
"eslint": "~9.9",
"jshint": "~2.13",
"mocha": "~10.7",
"npm-run-all2": "~6.2",
"rimraf": "~6.0",
"typescript": "~5.5",
"typescript-eslint": "~8.1"
}
}