mirror of
https://github.com/peaceiris/actions-hugo.git
synced 2026-01-24 10:47:28 +01:00
deps: Compile deps into single file with ncc (#88)
* deps: Compile deps into single file with ncc * ci: update husky setting Close #67
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
"lint": "eslint ./src/**/*.ts",
|
||||
"lint:fix": "eslint --fix ./src/**/*.ts",
|
||||
"test": "jest --coverage --verbose",
|
||||
"build": "npm prune --production",
|
||||
"build": "ncc build ./src/index.ts -o lib",
|
||||
"tsc": "tsc",
|
||||
"format": "prettier --write **/*.ts",
|
||||
"format:check": "prettier --check **/*.ts"
|
||||
@@ -16,7 +16,7 @@
|
||||
"skipCI": true,
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged",
|
||||
"post-commit": "npm run tsc && npm run build && echo '⚠️ Do not forget to Commit and Push ./lib and ./node_modules'"
|
||||
"post-commit": "npm run build && echo '⚠️ Do not forget to Commit and Push ./lib/index.js'"
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
@@ -56,6 +56,7 @@
|
||||
"@types/jest": "^24.0.23",
|
||||
"@types/node": "^12.12.7",
|
||||
"@typescript-eslint/parser": "^2.7.0",
|
||||
"@zeit/ncc": "^0.20.5",
|
||||
"eslint": "^6.6.0",
|
||||
"husky": "^3.0.9",
|
||||
"jest": "^24.9.0",
|
||||
|
||||
Reference in New Issue
Block a user