Don't execute npm prune on every npm install

This commit is contained in:
Aurelsicoko 2017-11-13 19:38:16 +01:00
parent f80b54f1e0
commit 98cbcd6940
8 changed files with 15 additions and 15 deletions

View File

@ -29,7 +29,7 @@
]
},
"scripts": {
"prepublish": "npm prune"
"prepublishOnly": "npm prune"
},
"author": {
"email": "hi@strapi.io",
@ -55,4 +55,4 @@
"npm": ">= 5.3.0"
},
"license": "MIT"
}
}

View File

@ -20,7 +20,7 @@
"isHook": true
},
"scripts": {
"prepublish": "npm prune"
"prepublishOnly": "npm prune"
},
"author": {
"email": "hi@strapi.io",
@ -46,4 +46,4 @@
"npm": ">= 5.3.0"
},
"license": "MIT"
}
}

View File

@ -17,7 +17,7 @@
"pluralize": "^6.0.0"
},
"scripts": {
"prepublish": "npm prune"
"prepublishOnly": "npm prune"
},
"author": {
"email": "hi@strapi.io",
@ -43,4 +43,4 @@
"npm": ">= 5.3.0"
},
"license": "MIT"
}
}

View File

@ -20,7 +20,7 @@
"strapi-utils": "3.0.0-alpha.6.4"
},
"scripts": {
"prepublish": "npm prune"
"prepublishOnly": "npm prune"
},
"author": {
"email": "hi@strapi.io",
@ -46,4 +46,4 @@
"npm": ">= 5.3.0"
},
"license": "MIT"
}
}

View File

@ -18,7 +18,7 @@
"pluralize": "^6.0.0"
},
"scripts": {
"prepublish": "npm prune"
"prepublishOnly": "npm prune"
},
"author": {
"email": "hi@strapi.io",
@ -44,4 +44,4 @@
"npm": ">= 5.3.0"
},
"license": "MIT"
}
}

View File

@ -17,7 +17,7 @@
"lodash": "^4.17.4"
},
"scripts": {
"prepublish": "npm prune"
"prepublishOnly": "npm prune"
},
"author": {
"email": "hi@strapi.io",
@ -43,4 +43,4 @@
"npm": ">= 5.3.0"
},
"license": "MIT"
}
}

View File

@ -17,7 +17,7 @@
"lodash": "^4.17.4"
},
"scripts": {
"prepublish": "npm prune"
"prepublishOnly": "npm prune"
},
"author": {
"email": "hi@strapi.io",
@ -43,4 +43,4 @@
"npm": ">= 5.3.0"
},
"license": "MIT"
}
}

View File

@ -109,4 +109,4 @@
"webpack-hot-middleware": "^2.18.2",
"whatwg-fetch": "^2.0.3"
}
}
}