Configure ncc and remove node_modules

This commit is contained in:
Konrad Pabjan
2019-11-25 10:04:57 -05:00
parent 9557e68f0c
commit 66e61f647e
183 changed files with 4780 additions and 14056 deletions

View File

@ -3,11 +3,12 @@
"version": "1.0.0",
"private": true,
"description": "setup java action",
"main": "lib/setup-java.js",
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts",
"release": "ncc build && git add -f dist/",
"test": "jest"
},
"repository": {
@ -33,6 +34,7 @@
"@types/jest": "^24.0.13",
"@types/node": "^12.0.4",
"@types/semver": "^6.0.0",
"@zeit/ncc": "^0.20.5",
"husky": "^3.0.0",
"jest": "^24.8.0",
"jest-circus": "^24.7.1",
@ -43,8 +45,7 @@
"husky": {
"skipCI": true,
"hooks": {
"pre-commit": "npm run build && npm run format",
"post-commit": "npm prune --production && git add node_modules/* && git commit -m \"Husky commit correct node modules\""
"pre-commit": "npm run build && npm run format"
}
}
}