chore(webpack): allow use of pnpm / yarn

This commit is contained in:
Martin Guillon
2020-09-07 15:18:44 +02:00
parent 6e274675be
commit 6c2cfa101b

View File

@@ -28,8 +28,11 @@
"type": "git",
"url": "https://github.com/NativeScript/nativescript-dev-webpack.git"
},
"config": {
"npm_alias":"npm"
},
"scripts": {
"clean": "npx rimraf -- node_modules package-lock.json && npm i --ignore-scripts",
"clean": "npx rimraf -- node_modules package-lock.json && $npm_package_config_npm_alias i --ignore-scripts",
"tsc": "tsc",
"postinstall": "node postinstall.js",
"preuninstall": "node preuninstall.js",