File tree Expand file tree Collapse file tree 4 files changed +12
-4
lines changed
Expand file tree Collapse file tree 4 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ module.exports = {
256256 new HtmlWebpackPlugin ( {
257257 inject : true ,
258258 chunks : [ 'sandbox-startup' , 'sandbox' ] ,
259- filename : 'frame .html' ,
259+ filename : 'index .html' ,
260260 template : paths . sandboxHtml ,
261261 minify : __PROD__ && {
262262 removeComments : true ,
Original file line number Diff line number Diff line change 22storybook-static
33.rpt2_cache
44dist
5- docs
5+ docs
6+ sandpack /
Original file line number Diff line number Diff line change 1+ const gulp = require ( 'gulp' ) ;
2+
3+ gulp . task ( 'copy-sandbox' , ( ) =>
4+ gulp . src ( '../app/www/**/*.*' ) . pipe ( gulp . dest ( './sandpack/' ) )
5+ ) ;
Original file line number Diff line number Diff line change 2929 "commit" : " git-cz" ,
3030 "semantic-release" : " semantic-release" ,
3131 "semantic-release-prepare" : " ts-node tools/semantic-release-prepare" ,
32- "precommit" : " lint-staged"
32+ "precommit" : " lint-staged" ,
33+ "prepublishOnly" : " lerna run build:sandbox --scope app --stream && rimraf sandpack && gulp copy-sandbox"
3334 },
3435 "lint-staged" : {
3536 "{src,test}/**/*.ts" : [
8384 "coveralls" : " ^3.0.0" ,
8485 "cross-env" : " ^5.0.1" ,
8586 "cz-conventional-changelog" : " ^2.0.0" ,
87+ "gulp" : " ^3.9.1" ,
8688 "husky" : " ^0.14.0" ,
8789 "jest" : " ^22.0.2" ,
8890 "lint-staged" : " ^7.0.0" ,
8991 "lodash.camelcase" : " ^4.3.0" ,
9092 "prettier" : " ^1.4.4" ,
9193 "prompt" : " ^1.0.0" ,
9294 "replace-in-file" : " ^3.0.0-beta.2" ,
93- "rimraf" : " ^2.6.1 " ,
95+ "rimraf" : " ^2.6.2 " ,
9496 "rollup" : " ^0.55.4" ,
9597 "rollup-plugin-commonjs" : " ^8.0.2" ,
9698 "rollup-plugin-node-resolve" : " ^3.0.0" ,
You can’t perform that action at this time.
0 commit comments