Update package dependencies and scripts; add 'shx' for shell command execution in package.json
Some checks failed
Some checks failed
This commit is contained in:
@@ -34,12 +34,13 @@
|
||||
"@ts-dev-tools/core": "^1.6.2",
|
||||
"@vercel/ncc": "^0.38.3",
|
||||
"eslint-plugin-github": "^6.0.0",
|
||||
"eslint-plugin-jsonc": "^2.20.1"
|
||||
"eslint-plugin-jsonc": "^2.20.1",
|
||||
"shx": "^0.4.0"
|
||||
},
|
||||
"scripts": {
|
||||
"package": "npm run package:index && npm run package:post",
|
||||
"package:index": "ncc build src/index.ts -o dist --license licenses.txt",
|
||||
"package:post": "ncc build src/post.ts -o dist/post && mv dist/post/index.js dist/post.js && rm -rf dist/post",
|
||||
"package:post": "ncc build src/post.ts -o dist/post && shx mv dist/post/index.js dist/post.js && shx rm -rf dist/post",
|
||||
"package:watch": "npm run package -- --watch",
|
||||
"lint": "eslint \"src/**/*.{ts,tsx}\"",
|
||||
"all": "npm run format && npm run lint && npm run test && npm run package",
|
||||
|
||||
Reference in New Issue
Block a user