Skip to content
This repository has been archived by the owner on Dec 2, 2019. It is now read-only.
/ joyent-portal Public archive

Commit

Permalink
fix(ui-toolkit): copy fonts before compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
sergioramos committed May 25, 2017
1 parent 44a2f2e commit 19f3678
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/ui-toolkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@
"lint:js": "eslint . --fix --format=tap",
"lint": "run-s lint:*",
"test": "exit 0 # react-scripts test --env=jsdom",
"copy-fonts": "rm -rf dist; mkdir -p dist/typography; cp -r src/typography/libre-franklin dist/typography",
"compile": "babel src --out-dir dist --source-maps inline",
"watch": "cross-env NODE_ENV=development run-s \"compile -- --watch\"",
"watch": "cross-env NODE_ENV=development run-s copy-fonts \"compile -- --watch\"",
"styleguide:build": "cross-env NODE_ENV=production styleguidist build",
"styleguide": "cross-env NODE_ENV=development styleguidist server",
"prepare": "cross-env NODE_ENV=production run-s compile"
"prepare": "cross-env NODE_ENV=production run-s copy-fonts compile"
},
"dependencies": {
"camel-case": "^3.0.0",
Expand Down

0 comments on commit 19f3678

Please sign in to comment.