File tree 1 file changed +9
-2
lines changed 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 8
8
"node" : " >=8"
9
9
},
10
10
"scripts" : {
11
- "build" : " kcd-scripts build && kcd-scripts build --bundle --no-clean" ,
11
+ "prebuild" : " rimraf dist" ,
12
+ "build" : " npm-run-all --parallel build:main build:bundle:main build:bundle:pure" ,
13
+ "build:main" : " kcd-scripts build --no-clean" ,
14
+ "build:bundle:main" : " kcd-scripts build --bundle --no-clean" ,
15
+ "build:bundle:pure" : " cross-env BUILD_FILENAME_SUFFIX=.pure BUILD_INPUT=src/pure.js kcd-scripts build --bundle --no-clean" ,
12
16
"lint" : " kcd-scripts lint" ,
13
17
"test" : " kcd-scripts test" ,
14
18
"test:update" : " npm test -- --updateSnapshot --coverage" ,
48
52
"devDependencies" : {
49
53
"@reach/router" : " ^1.2.1" ,
50
54
"@testing-library/jest-dom" : " ^4.1.0" ,
55
+ "cross-env" : " ^6.0.0" ,
51
56
"kcd-scripts" : " ^1.7.0" ,
57
+ "npm-run-all" : " ^4.1.5" ,
52
58
"react" : " ^16.9.0" ,
53
- "react-dom" : " ^16.9.0"
59
+ "react-dom" : " ^16.9.0" ,
60
+ "rimraf" : " ^3.0.0"
54
61
},
55
62
"peerDependencies" : {
56
63
"react" : " *" ,
You can’t perform that action at this time.
0 commit comments