Skip to content
This repository was archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
fix(tabler css): copy tabler css before build and start
Browse files Browse the repository at this point in the history
  • Loading branch information
jonthomp committed May 23, 2018
1 parent 943d814 commit 2062c71
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"scripts": {
"test": "CI=1 react-scripts test --env=jsdom",
"test:watch": "react-scripts test --env=jsdom",
"build": "rollup -c && flow-copy-source -v src dist",
"start": "rollup -c -w",
"prepare":
"yarn run build && cp src/Tabler.css src/Tabler.RTL.css dist/ && cp -r src/fonts src/images dist/",
"build":
"yarn run copytablercsstodist && rollup -c && flow-copy-source -v src dist",
"start": "yarn run copytablercsstodist && rollup -c -w",
"prepare": "yarn run build && yarn run copytablercsstodist",
"predeploy": "cd example && yarn install && yarn run build",
"deploy": "gh-pages -d example/build",
"precommit":
Expand All @@ -23,7 +23,9 @@
"lint": "eslint --ext .js src/**/*",
"styleguide": "styleguidist server",
"styleguide:build": "styleguidist build",
"commitmsg": "commitlint -e $GIT_PARAMS"
"commitmsg": "commitlint -e $GIT_PARAMS",
"copytablercsstodist":
"mkdir -p dist && cp src/Tabler.css src/Tabler.RTL.css dist/ && cp -r src/fonts src/images dist/"
},
"lint-staged": {
"src/**/*.js": "eslint --max-warnings=0"
Expand Down

0 comments on commit 2062c71

Please sign in to comment.