1
0
mirror of https://github.com/sasjs/lint.git synced 2026-01-05 03:30:06 +00:00

chore(ci): add node version check

This commit is contained in:
Krishna Acondy
2021-09-13 08:41:58 +01:00
parent cd91780cf5
commit 31cee0af91
3 changed files with 19 additions and 1 deletions

View File

@@ -4,6 +4,8 @@
"scripts": {
"test": "jest --coverage",
"build": "rimraf build && tsc",
"preinstall": "node checkNodeVersion",
"prebuild": "node checkNodeVersion",
"prepublishOnly": "cp -r ./build/* . && rm -rf ./build && rm -rf ./src && rm tsconfig.json",
"postpublish": "git clean -fd",
"package:lib": "npm run build && cp ./package.json build && cp README.md build && cd build && npm version \"5.0.0\" && npm pack",