chore: make scripts windows compatible

This commit is contained in:
Igor Randjelovic
2021-02-01 18:04:03 +01:00
parent 3ddfb5c34a
commit d00f47f550
2 changed files with 4 additions and 5 deletions

View File

@@ -29,12 +29,11 @@
"url": "https://github.com/NativeScript/nativescript-dev-webpack.git"
},
"scripts": {
"clean": "npx rimraf -- node_modules package-lock.json && npm i --ignore-scripts",
"clean": "git clean -f -X -d",
"tsc": "tsc",
"postinstall": "node postinstall.js",
"preuninstall": "node preuninstall.js",
"postpack": "rm -rf node_modules",
"setup": "npm run clean && npm run build",
"setup": "npm run clean && npm i --ignore-scripts && npm run build",
"build": "npm run tsc && npm run jasmine",
"test": "npm run build",
"jasmine": "jasmine --config=jasmine-config/jasmine.json",