|
67 | 67 | "@typescript-eslint/no-non-null-assertion": "off" |
68 | 68 | } |
69 | 69 | }, |
| 70 | + "runScriptsConfig": { |
| 71 | + "build": [ |
| 72 | + "rimraf build dist **/.DS_Store", |
| 73 | + "jshint . --exclude-path .gitignore", |
| 74 | + "eslint --max-warnings 0 . --ext .ts", |
| 75 | + "tsc", |
| 76 | + "tsc --module UMD --outDir build/umd", |
| 77 | + "copy-file build/umd/html-validator.js build/html-validator.umd.cjs", |
| 78 | + "add-dist-header build dist" |
| 79 | + ] |
| 80 | + }, |
70 | 81 | "scripts": { |
71 | | - "step:01": "rimraf build dist **/.DS_Store", |
72 | | - "step:02": "jshint . --exclude-path .gitignore", |
73 | | - "step:03": "eslint --max-warnings 0 . --ext .ts", |
74 | | - "step:10": "tsc", |
75 | | - "step:11": "tsc --module UMD --outDir build/umd", |
76 | | - "step:12": "copy-file build/umd/html-validator.js build/html-validator.umd.cjs", |
77 | | - "step:20": "add-dist-header build dist", |
78 | | - "pretest": "npm-run-all step:*", |
| 82 | + "pretest": "run-scripts build", |
79 | 83 | "test": "mocha spec --timeout 5000" |
80 | 84 | }, |
81 | 85 | "dependencies": { |
|
85 | 89 | "w3c-html-validator": "~1.2" |
86 | 90 | }, |
87 | 91 | "devDependencies": { |
88 | | - "@types/node": "~18.8", |
| 92 | + "@types/node": "~18.11", |
89 | 93 | "@types/through2": "~2.0", |
90 | 94 | "@typescript-eslint/eslint-plugin": "~5.40", |
91 | 95 | "@typescript-eslint/parser": "~5.40", |
92 | 96 | "add-dist-header": "~0.3", |
93 | 97 | "assert-deep-strict-equal": "~1.0", |
94 | 98 | "copy-file-util": "~0.1", |
95 | 99 | "copy-folder-util": "~0.2", |
96 | | - "eslint": "~8.25", |
| 100 | + "eslint": "~8.26", |
97 | 101 | "jshint": "~2.13", |
98 | | - "mocha": "~10.0", |
99 | | - "npm-run-all2": "~6.0", |
| 102 | + "mocha": "~10.1", |
100 | 103 | "rimraf": "~3.0", |
| 104 | + "run-scripts-util": "~0.1", |
101 | 105 | "sinon": "~14.0", |
102 | 106 | "slash": "~5.0", |
103 | 107 | "typescript": "~4.8" |
|
0 commit comments