Run npm tasks concurrently

This commit is contained in:
daz 2024-01-12 06:38:50 -07:00
parent 0e6b90783e
commit 11693a1169
No known key found for this signature in database
2 changed files with 1136 additions and 167 deletions

1298
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -10,9 +10,9 @@
"lint": "eslint src/**/*.ts", "lint": "eslint src/**/*.ts",
"compile-main": "ncc build src/main.ts --out dist/main --source-map --no-source-map-register", "compile-main": "ncc build src/main.ts --out dist/main --source-map --no-source-map-register",
"compile-post": "ncc build src/post.ts --out dist/post --source-map --no-source-map-register", "compile-post": "ncc build src/post.ts --out dist/post --source-map --no-source-map-register",
"compile": "npm run compile-main && npm run compile-post", "compile": "npm-run-all --parallel compile-*",
"check": "npm-run-all --parallel format lint",
"test": "jest", "test": "jest",
"check": "npm run format && npm run lint",
"build": "npm run check && npm run compile", "build": "npm run check && npm run compile",
"all": "npm run build && npm test" "all": "npm run build && npm test"
}, },
@ -53,6 +53,7 @@
"eslint-plugin-prettier": "5.1.2", "eslint-plugin-prettier": "5.1.2",
"jest": "29.7.0", "jest": "29.7.0",
"js-yaml": "4.1.0", "js-yaml": "4.1.0",
"npm-run-all": "4.1.5",
"patch-package": "8.0.0", "patch-package": "8.0.0",
"prettier": "3.1.1", "prettier": "3.1.1",
"ts-jest": "29.1.1", "ts-jest": "29.1.1",