Skip to content

Commit

Permalink
Add test for clean dependency tree
Browse files Browse the repository at this point in the history
Breaks the build if any packages are missing
  • Loading branch information
colinrotherham committed Apr 17, 2019
1 parent 2aac9d2 commit e61a3a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"release-to-branch": "node bin/check-nvmrc.js && ./bin/release-to-branch.sh",
"build:package": "node bin/check-nvmrc.js && gulp build:package --destination 'package' && npm run test:build:package",
"build:dist": "node bin/check-nvmrc.js && gulp build:dist --destination 'dist' && npm run test:build:dist",
"test": "standard && gulp test && gulp copy-assets && jest --testPathIgnorePatterns='after-*'",
"test": "npm run test:dependencies && standard && gulp test && gulp copy-assets && jest --testPathIgnorePatterns='after-*'",
"test:dependencies": "npm ls --depth=0",
"test:build:package": "jest tasks/gulp/__tests__/after-build-package.test.js",
"test:build:dist": "jest tasks/gulp/__tests__/after-build-dist.test.js"
},
Expand Down

0 comments on commit e61a3a3

Please sign in to comment.