✨ Set up prepublishOnly command
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
"format": "prettier nodes credentials --write",
|
"format": "prettier nodes credentials --write",
|
||||||
"lint": "tslint -p tsconfig.json -c tslint.json; eslint nodes credentials package.json",
|
"lint": "tslint -p tsconfig.json -c tslint.json; eslint nodes credentials package.json",
|
||||||
"lintfix": "tslint --fix -p tsconfig.json -c tslint.json; eslint nodes credentials package.json --fix",
|
"lintfix": "tslint --fix -p tsconfig.json -c tslint.json; eslint nodes credentials package.json --fix",
|
||||||
"prepare": "npm run build && npm run lint"
|
"prepublishOnly": "npm run build && npm run lint -c .eslintrc.prepublish.js nodes credentials package.json"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist"
|
"dist"
|
||||||
|
|||||||
Reference in New Issue
Block a user