File tree 3 files changed +767
-131
lines changed
3 files changed +767
-131
lines changed Original file line number Diff line number Diff line change 1
- yarn.lock - - diff
1
+ yarn.lock - diff
Original file line number Diff line number Diff line change 22
22
"start" : " (cd showcase && command -v yarn >/dev/null && yarn && npm start || npm install && npm start)" ,
23
23
"start-docs" : " (cd docs && command -v yarn >/dev/null && yarn && npm start || npm install && npm start)" ,
24
24
"clean" : " rm -rf dist bundle.* index.html && mkdir dist" ,
25
- "build" : " npm run clean && babel src -d dist --copy-files && node-sass src/main.scss dist/style.css --output-style compressed" ,
25
+ "build:browser" : " browserify src/index.js -t [ babelify ] --standalone reactVis | uglifyjs > dist/dist.min.js" ,
26
+ "build" : " npm run clean && babel src -d dist --copy-files && node-sass src/main.scss dist/style.css --output-style compressed && npm run build:browser" ,
26
27
"lint" : " eslint src tests showcase docs --ignore-pattern node_modules --ignore-pattern bundle.js" ,
27
28
"lint-styles" : " stylelint src/styles/*.scss --syntax scss" ,
28
29
"test" : " babel-node tests/index.js" ,
56
57
"babel-preset-react" : " ^6.16.0" ,
57
58
"babel-preset-stage-0" : " ^6.16.0" ,
58
59
"babel-register" : " ^6.18.0" ,
60
+ "babelify" : " ^7.3.0" ,
61
+ "browserify" : " ^14.3.0" ,
59
62
"canvas-prebuilt" : " ^1.6.0" ,
60
63
"enzyme" : " ^2.7.0" ,
61
64
"eslint" : " ^3.13.1" ,
72
75
"react-dom" : " >=15.4.2" ,
73
76
"stylelint" : " ^7.7.1" ,
74
77
"stylelint-config-standard" : " ^15.0.1" ,
75
- "tape" : " ^4.6.3"
78
+ "tape" : " ^4.6.3" ,
79
+ "uglify-js" : " ^2.8.22"
76
80
},
77
81
"peerDependencies" : {
78
82
"react" : " 0.14.x - 15.x" ,
You can’t perform that action at this time.
0 commit comments