Skip to content

Commit

Permalink
Chore(web): Build design tokens before building examples
Browse files Browse the repository at this point in the history
  • Loading branch information
literat committed Nov 6, 2023
1 parent c0709c5 commit 91d0787
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
"types": "js/index.d.ts",
"scripts": {
"icons:build": "shx mkdir -p public/icons && cd ../icons && yarn build && shx cp -r dist/. ../web/public/icons",
"design-tokens:build": "cd ../design-tokens && yarn build",
"prestart": "yarn icons:build",
"start": "vite --host",
"preexamples:build": "yarn icons:build",
"preexamples:build": "npm-run-all icons:build design-tokens:build",
"examples:build": "vite build",
"examples:build:gh": "yarn examples:build --base=/spirit-design-system/",
"examples:preview": "vite preview",
Expand Down

0 comments on commit 91d0787

Please sign in to comment.