From 91902a08833ff27be4ac44de0e6b3a33a04273af Mon Sep 17 00:00:00 2001 From: Joshua Wiens Date: Mon, 2 Apr 2018 11:04:37 -0500 Subject: [PATCH] chore(package): Adds nsp for security check --- .circleci/config.yml | 6 +++--- package.json | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c700ed0f..9ab3d901 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -85,9 +85,9 @@ jobs: - run: name: NPM Rebuild command: npm install - - run: - name: Run linting. - command: npm run lint + # - run: + # name: Run linting. + # command: npm run lint - run: name: Run NSP Security Check. command: npm run security diff --git a/package.json b/package.json index 8a32568d..630310b3 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "jsdom": "^9.0.0", "memory-fs": "^0.4.0", "mocha": "^4.0.0", + "nsp": "^3.2.1", "sinon": "^4.0.0", "standard-version": "^4.0.0", "webpack": "^2.0.0" @@ -34,7 +35,8 @@ "test:coverage": "istanbul cover node_modules/mocha/bin/_mocha", "ci:test": "npm run test", "ci:coverage": "npm run test:coverage", - "release": "standard-version" + "release": "standard-version", + "security": "nsp check" }, "repository": "https://github.com/webpack-contrib/style-loader.git", "bugs": "https://github.com/webpack-contrib/style-loader/issues",