File tree 2 files changed +8
-6
lines changed
eslint-config-airbnb-base 2 files changed +8
-6
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" : " eslint-find-rules --unused && npm test" ,
10
- "pretest" : " npm run --silent lint" ,
9
+ "prepublish" : " not-in-install && ( eslint-find-rules --unused && npm test) || in-install " ,
10
+ "pretest" : " npm run --silent lint" ,
11
11
"test" : " npm run --silent tests-only" ,
12
12
"travis" : " npm run --silent test"
13
13
},
49
49
"eslint" : " ^2.10.2" ,
50
50
"eslint-find-rules" : " ^1.9.2" ,
51
51
"eslint-plugin-import" : " ^1.8.0" ,
52
- "tape" : " ^4.5.1"
52
+ "tape" : " ^4.5.1" ,
53
+ "in-publish" : " ^2.0.0"
53
54
},
54
55
"peerDependencies" : {
55
56
"eslint" : " ^2.10.2" ,
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" : " eslint-find-rules --unused && npm test" ,
10
- "pretest" : " npm run --silent lint" ,
9
+ "prepublish" : " not-in-install && ( eslint-find-rules --unused && npm test) || in-install " ,
10
+ "pretest" : " npm run --silent lint" ,
11
11
"test" : " npm run --silent tests-only" ,
12
12
"travis" : " cd ../eslint-config-airbnb-base && npm link && cd - && npm link eslint-config-airbnb-base && npm run --silent test ; npm unlink eslint-config-airbnb-base >/dev/null &"
13
13
},
55
55
"eslint-plugin-jsx-a11y" : " ^1.2.2" ,
56
56
"eslint-plugin-react" : " ^5.1.1" ,
57
57
"react" : " >= 0.13.0" ,
58
- "tape" : " ^4.5.1"
58
+ "tape" : " ^4.5.1" ,
59
+ "in-publish" : " ^2.0.0"
59
60
},
60
61
"peerDependencies" : {
61
62
"eslint" : " ^2.10.2" ,
You can’t perform that action at this time.
0 commit comments