From ef784e742b56dc7f8170457f66fd9e84a03161a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20K=C3=BChnel?= Date: Thu, 7 Feb 2019 16:36:10 +0100 Subject: [PATCH] feature: Remove `security` npm script since nsp is dead and gone The security script might come back when this is merged and released: https://github.com/npm/cli/pull/125 --- package.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index ef58061..34f7270 100644 --- a/package.json +++ b/package.json @@ -17,8 +17,8 @@ "private": true, "scripts": { "start": "npm-run-all clean:dev handlebars --parallel handlebars:watch webpack:server eslint:watch stylelint:watch --silent", - "build": "npm-run-all security test handlebars clean webpack --silent", - "build:dev": "npm-run-all security test handlebars clean:dev webpack:dev --silent", + "build": "npm-run-all test handlebars clean webpack --silent", + "build:dev": "npm-run-all test handlebars clean:dev webpack:dev --silent", "build:serve": "serve dist --open", "build:analyze": "npm run webpack:stats --silent && webpack-bundle-analyzer ./.webpack-stats.json ./dist -s parsed", "pretest": "npm run eslint --silent", @@ -41,7 +41,6 @@ "webpack:stats": "cross-env NODE_ENV=production webpack --config build/webpack.config.babel.js --profile --json > ./.webpack-stats.json", "handlebars": "babel-node build/handlebars.js", "handlebars:watch": "onchange \"src/**/*.hbs\" \"src/handlebars/helpers/*.js\" -- onerror \"npm run handlebars --silent\" -t \"Handlebars build failed\"", - "security": "nsp check", "clean": "del .webpack-assets.json dist", "clean:dev": "del .webpack-assets.json server", "postmerge": "npm install", @@ -106,7 +105,6 @@ "minimist": "^1.2.0", "node-sass": "^4.8.3", "npm-run-all": "^4.1.2", - "nsp": "^3.2.1", "ntl": "^3.0.0", "onchange": "^3.3.0", "perfy": "^1.1.2",