Skip to content

Commit

Permalink
build(npm): 👞 nsp as it's now baked into npm
Browse files Browse the repository at this point in the history
  • Loading branch information
sverweij committed Jul 17, 2018
1 parent 986cde4 commit b512d07
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ test_async_node_latest:
- npm run lint
- npm run lint:types
- npm run depcruise
- npm run nsp
- npm run test:cover
except:
- tags
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ before_script:
script:
- npm run depcruise
- 'npm run test:glob && npm run test:cover'
- 'if test `node --version | cut -c 2` = 10; then npm run nsp && npm run lint; fi'
- 'if test `node --version | cut -c 2` = 10; then npm run lint; fi'

after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"build": "make dev-build",
"build:clean": "make clean",
"check": "npm-run-all build lint depcruise test:cover",
"check:full": "npm-run-all check nsp",
"check:full": "npm-run-all check",
"depcruise": "node ./bin/dependency-cruise --validate .dependency-cruiser-custom.json src bin/dependency-cruise test",
"depcruise:graph": "node ./bin/dependency-cruise --exclude \"(^node_modules|^fs$|^path$)\" --output-type dot --validate .dependency-cruiser-custom.json bin src | dot -T svg > tmp_deps.svg",
"depcruise:graph:doc": "npm-run-all depcruise:graph:doc:generate depcruise:graph:doc:optimize",
Expand All @@ -30,7 +30,6 @@
"lint": "eslint bin/dependency-cruise src test",
"lint:types": "tslint types/dependency-cruiser.d.ts",
"lint:fix": "eslint --fix bin/dependency-cruise src test",
"nsp": "nsp check",
"npm-install": "npm install",
"postversion": "git push && git push --tags",
"preversion": "test `git branch | grep \"^* [a-zA-Z]\" | cut -c 3-` = 'master'",
Expand Down Expand Up @@ -79,7 +78,6 @@
"mocha": "5.2.0",
"normalize-newline": "3.0.0",
"npm-run-all": "4.1.3",
"nsp": "3.2.1",
"nyc": "12.0.2",
"symlink-dir": "1.1.3",
"tslint": "5.10.0",
Expand Down

0 comments on commit b512d07

Please sign in to comment.