Skip to content

Commit

Permalink
chore(package): Adds nsp for security check
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwiens committed Apr 2, 2018
1 parent 78ca637 commit 91902a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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",
Expand Down

0 comments on commit 91902a0

Please sign in to comment.