Skip to content

Commit

Permalink
Add .circleci to demo template
Browse files Browse the repository at this point in the history
  • Loading branch information
ngs committed Jul 16, 2018
1 parent a95e6d6 commit ffa5222
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions demo/publicTemplate/.circleci/config.yml
@@ -0,0 +1,4 @@
version: 2

workflows:
version: 2
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -7,7 +7,7 @@
"eslint": "node_modules/.bin/eslint .",
"build": "npm run clean && npm run build:js",
"build:demo":
"NODE_ENV=production webpack --config demo/webpack.config.prod.js && rm -rf demo/public/css && cp -R demo/publicTemplate/* demo/public/",
"NODE_ENV=production webpack --config demo/webpack.config.prod.js && rm -rf demo/.circleci && rm -rf demo/public/css && cp -R demo/publicTemplate/.circleci demo/public/ && cp -R demo/publicTemplate/* demo/public/",
"build:js":
"BABEL_DISABLE_CACHE=1 BABEL_ENV=production NODE_ENV=production node_modules/.bin/babel --out-dir='lib' --ignore='**/__test__/*' src",
"clean":
Expand Down

0 comments on commit ffa5222

Please sign in to comment.