File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
eslint-config-airbnb-base Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 6
6
"scripts" : {
7
7
"lint" : " eslint ." ,
8
8
"tests-only" : " babel-tape-runner ./test/test-*.js" ,
9
- "prepublish" : " (in-install || eslint-find-rules --unused) && (not-in-publish || npm test)" ,
9
+ "prepublish" : " (in-install || eslint-find-rules --unused) && (not-in-publish || npm test) && safe-publish-latest " ,
10
10
"pretest" : " npm run --silent lint" ,
11
11
"test" : " npm run --silent tests-only" ,
12
12
"travis" : " npm run --silent test"
51
51
"eslint-find-rules" : " ^1.11.1" ,
52
52
"eslint-plugin-import" : " ^1.12.0" ,
53
53
"in-publish" : " ^2.0.0" ,
54
+ "safe-publish-latest" : " ^1.0.1" ,
54
55
"tape" : " ^4.6.0"
55
56
},
56
57
"peerDependencies" : {
Original file line number Diff line number Diff line change 6
6
"scripts" : {
7
7
"lint" : " eslint ." ,
8
8
"tests-only" : " babel-tape-runner ./test/test-*.js" ,
9
- "prepublish" : " (in-install || eslint-find-rules --unused) && (not-in-publish || npm test)" ,
9
+ "prepublish" : " (in-install || eslint-find-rules --unused) && (not-in-publish || npm test) && safe-publish-latest " ,
10
10
"pretest" : " npm run --silent lint" ,
11
11
"test" : " npm run --silent tests-only" ,
12
12
"travis" : " cd ../eslint-config-airbnb-base && npm install && npm link && cd - && npm link eslint-config-airbnb-base && npm run --silent test ; npm unlink eslint-config-airbnb-base >/dev/null &"
57
57
"eslint-plugin-react" : " ^6.0.0" ,
58
58
"in-publish" : " ^2.0.0" ,
59
59
"react" : " >= 0.13.0" ,
60
+ "safe-publish-latest" : " ^1.0.1" ,
60
61
"tape" : " ^4.6.0"
61
62
},
62
63
"peerDependencies" : {
You can’t perform that action at this time.
0 commit comments