mirror of
https://github.com/crazy-max/ghaction-upx.git
synced 2025-12-09 14:30:42 -07:00
Use ncc and clean workflows
This commit is contained in:
18
package.json
18
package.json
@@ -5,6 +5,13 @@
|
||||
"directories": {
|
||||
"lib": "lib"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc && ncc build",
|
||||
"test": "jest",
|
||||
"format": "prettier --write **/*.ts",
|
||||
"format-check": "prettier --check **/*.ts",
|
||||
"pre-checkin": "npm run format && npm run build"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/crazy-max/ghaction-upx.git"
|
||||
@@ -26,6 +33,7 @@
|
||||
"@types/jest": "^25.2.1",
|
||||
"@types/node": "^13.11.0",
|
||||
"@types/download": "^6.2.4",
|
||||
"@zeit/ncc": "^0.22.1",
|
||||
"jest": "^25.2.7",
|
||||
"jest-circus": "^25.2.7",
|
||||
"jest-runtime": "^25.2.7",
|
||||
@@ -33,13 +41,5 @@
|
||||
"ts-jest": "^25.3.1",
|
||||
"typescript": "^3.8.3",
|
||||
"typescript-formatter": "^7.2.2"
|
||||
},
|
||||
"scripts": {
|
||||
"build-dep": "npm install -g removeNPMAbsolutePaths",
|
||||
"build": "tsc",
|
||||
"test": "jest",
|
||||
"format": "prettier --write **/*.ts",
|
||||
"format-check": "prettier --check **/*.ts",
|
||||
"prune": "npm prune --production && removeNPMAbsolutePaths \"./\" --force --fields _where _args"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user