File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 10
10
"env" : {
11
11
"production" : {
12
12
"plugins" : [
13
+ " transform-es2015-modules-commonjs" ,
13
14
" transform-react-remove-prop-types" ,
14
15
" transform-react-constant-elements" ,
15
16
" transform-react-inline-elements" ,
Original file line number Diff line number Diff line change 6
6
"scripts" : {
7
7
"clean:lib" : " rimraf lib" ,
8
8
"clean:dist" : " rimraf dist" ,
9
- "build:lib" : " babel src -d lib --copy-files && babel example/src -d example/lib --copy-files" ,
9
+ "build:lib" : " NODE_ENV=production babel src -d lib --copy-files && babel example/src -d example/lib --copy-files" ,
10
10
"build:dist" : " NODE_ENV=production webpack --config webpack.config.production.js" ,
11
11
"lint" : " eslint --ext .js,.jsx src" ,
12
12
"deploy" : " npm run build:dist && surge -p ." ,
55
55
"enzyme" : " ^2.5.1" ,
56
56
"enzyme-to-json" : " ^1.3.0" ,
57
57
"eslint" : " ^3.8.0" ,
58
- "eslint-config-defaults" : " ^9.0.0" ,
59
58
"eslint-config-formidable" : " ^2.0.1" ,
60
59
"eslint-plugin-filenames" : " ^1.1.0" ,
61
60
"eslint-plugin-import" : " ^2.0.1" ,
You can’t perform that action at this time.
0 commit comments