File tree Expand file tree Collapse file tree 2 files changed +10
-11
lines changed
Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 11sudo : false
22language : node_js
3- cache :
4- directories :
5- - node_modules
63notifications :
74 email : false
85node_js :
96 - 4
107 - 6
118matrix :
12- fast_finish : true
13- allow_failures :
9+ fast_finish : true
1410env :
1511 global :
1612 - CXX=g++-4.8
17- script : " npm run travis"
13+ script : npm run travis
1814addons :
1915 apt :
2016 sources :
2117 - ubuntu-toolchain-r-test
2218 packages :
2319 - g++-4.8
2420before_install :
25- - npm i -g npm@^2 .0.0
21+ - npm i -g npm@^3 .0.0
2622before_script :
2723 - npm prune
2824after_success :
Original file line number Diff line number Diff line change 1212 "author" : " mapzen" ,
1313 "main" : " index.js" ,
1414 "devDependencies" : {
15+ "npm-check" : " ^5.4.0" ,
1516 "precommit-hook" : " 3.0.0" ,
1617 "semantic-release" : " ^6.3.2"
1718 },
1819 "dependencies" : {
1920 "winston" : " ^2.2.0" ,
20- "pelias-config" : " 2.7.1 "
21+ "pelias-config" : " 2.9.0 "
2122 },
2223 "scripts" : {
2324 "units" : " node test/units.js" ,
2425 "test" : " npm run units" ,
25- "travis" : " npm test" ,
26+ "travis" : " npm run check-dependencies && npm test" ,
2627 "lint" : " jshint ." ,
2728 "validate" : " npm ls" ,
28- "semantic-release" : " semantic-release pre && npm publish && semantic-release post"
29+ "semantic-release" : " semantic-release pre && npm publish && semantic-release post" ,
30+ "check-dependencies" : " node_modules/.bin/npm-check --production"
2931 },
3032 "repository" : {
3133 "type" : " git" ,
3941 "pre-commit" : [
4042 " lint" ,
4143 " validate" ,
42- " test"
44+ " test" ,
45+ " check-dependencies"
4346 ]
4447}
You can’t perform that action at this time.
0 commit comments