|
32 | 32 | "test": "tests"
|
33 | 33 | },
|
34 | 34 | "scripts": {
|
35 |
| - "build": "run-s icons build-ember build-storybook", |
36 |
| - "build:icons": "node lib/generate-icon-components.mjs", |
| 35 | + "build": "run-s build-ember build-storybook", |
| 36 | + "build:icons": "concurrently \"node lib/generate-icon-components.mjs\" \"svg-symbols ./public/icons > ./public/appuniversum-symbolset.svg\"", |
37 | 37 | "build:types": "glint -d",
|
38 | 38 | "lint": "concurrently \"npm:lint:*(!fix)\" --names \"lint:\"",
|
39 | 39 | "lint:css": "stylelint --allow-empty-input \"**/*.css\"",
|
|
46 | 46 | "lint:js": "eslint . --cache",
|
47 | 47 | "lint:js:fix": "eslint . --fix",
|
48 | 48 | "lint:types": "glint",
|
49 |
| - "prepack": "glint -d", |
| 49 | + "prepack": "run-s build:icons build:types", |
50 | 50 | "postpack": "rimraf declarations",
|
51 | 51 | "start": "run-p ember storybook",
|
52 |
| - "ember": "ember serve", |
| 52 | + "ember": "npm run build:icons && ember serve", |
53 | 53 | "test": "concurrently \"npm:lint\" \"npm:test:*\" --names \"lint,test:\"",
|
54 | 54 | "test:ember": "ember test",
|
55 | 55 | "test:ember-compatibility": "ember try:each",
|
56 |
| - "icons": "svg-symbols ./public/icons > ./public/appuniversum-symbolset.svg", |
57 |
| - "prepare": "concurrently npm:build:icons npm:icons", |
58 | 56 | "storybook": "start-storybook -p 6006",
|
59 | 57 | "build-storybook": "build-storybook",
|
60 |
| - "build-ember": "ember build --environment=production", |
| 58 | + "build-ember": "npm run build:icons && ember build --environment=production", |
61 | 59 | "build-ember-chromatic": "ember build --environment=chromatic",
|
62 |
| - "prep-chromatic": "run-s icons build-ember-chromatic", |
| 60 | + "prep-chromatic": "run-s build:icons build-ember-chromatic", |
63 | 61 | "release": "release-it",
|
64 | 62 | "chromatic": "chromatic --exit-zero-on-changes"
|
65 | 63 | },
|
|
0 commit comments