Skip to content

Commit

Permalink
build styles
Browse files Browse the repository at this point in the history
  • Loading branch information
MicheleBertoli committed Dec 28, 2016
1 parent f4e64ad commit 536855e
Show file tree
Hide file tree
Showing 2 changed files with 519 additions and 19 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"scripts": {
"test": "jest",
"lint": "eslint --ignore-path .gitignore ./",
"build": "babel ./src/client --out-dir ./dist",
"build:components": "babel ./src/client --out-dir ./dist",
"build:styles": "cssnano ./src/client/styles.css ./dist/styles.css",
"build": "yarn run build:components && yarn run build:styles",
"dev": "node ./src/server"
},
"authors": [
Expand All @@ -19,6 +21,7 @@
"babel-cli": "^6.18.0",
"babel-preset-es2015": "^6.18.0",
"babel-preset-react": "^6.16.0",
"cssnano-cli": "^1.0.5",
"eslint": "^3.12.0",
"eslint-config-airbnb": "^13.0.0",
"eslint-plugin-import": "^2.2.0",
Expand Down
Loading

0 comments on commit 536855e

Please sign in to comment.