Skip to content

Commit

Permalink
Better build scripts for demo/example. Dont write to dist (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
bencmbrook authored Jun 15, 2022
1 parent 667ef03 commit f0b151a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
"test:local:rebuild": "yarn && karma start karma.local.js",
"test:browserstack": "karma start karma.browserstack.js",
"####### Build #######": "",
"clean": "rimraf build && rimraf coverage",
"clean": "rimraf dist && rimraf ts-build && rimraf coverage",
"build": "yarn clean && mkdir -p dist && webpack --config webpack.prod.js && tsc",
"build:example": "rimraf example/build && yarn build && mkdir -p example/build && cp -a example/. dist/ && cp -a dist/. example/build/",
"build:demo": "rimraf demo/build && yarn build && mkdir -p demo/build && cp -a demo/. dist/ && cp -a dist/. demo/build/",
"build:example": "rimraf example/build && yarn build && mkdir -p example/build && cp example/*.* example/build/ && cp -a dist/. example/build/",
"build:demo": "rimraf demo/build && yarn build && mkdir -p demo/build && cp demo/*.* demo/build/ && cp -a dist/. demo/build/",
"webpack:watch": "yarn clean && webpack --config webpack.dev.js --watch"
},
"repository": {
Expand Down

1 comment on commit f0b151a

@vercel
Copy link

@vercel vercel bot commented on f0b151a Jun 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.