File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 14
14
"scripts" : {
15
15
"build" : " node ./tools/build.js" ,
16
16
"clean" : " git clean -fdX ." ,
17
- "prepublish " : " node ./tools/build.js" ,
17
+ "prepublishOnly " : " node ./tools/build.js" ,
18
18
"release" : " node ./tools/release.js" ,
19
19
"lint" : " eslint modules" ,
20
20
"test" : " jest"
39
39
"eslint-plugin-jest" : " ^20.0.3" ,
40
40
"eslint-plugin-react" : " ^6.0.0" ,
41
41
"gzip-size" : " ^3.0.0" ,
42
- "in-publish" : " ^2.0.0" ,
43
42
"jest" : " ^20.0.4" ,
44
43
"pretty-bytes" : " ^4.0.2" ,
45
44
"react" : " ^15.4.1 || ^0.14.7" ,
Original file line number Diff line number Diff line change 1
1
const fs = require ( 'fs' )
2
2
const execSync = require ( 'child_process' ) . execSync
3
- const inInstall = require ( 'in-publish' ) . inInstall
4
3
const prettyBytes = require ( 'pretty-bytes' )
5
4
const gzipSize = require ( 'gzip-size' )
6
5
7
- if ( inInstall ( ) )
8
- process . exit ( 0 )
9
-
10
6
const exec = ( command , extraEnv ) =>
11
7
execSync ( command , {
12
8
stdio : 'inherit' ,
You can’t perform that action at this time.
0 commit comments