|
18 | 18 | }, |
19 | 19 | "scripts": { |
20 | 20 | "start": "npm run storybook", |
21 | | - "build": "npm run clean && npm run build:styles && npm run build:typescript && npm run cem && npm run build:meta", |
22 | 21 | "build:publish": "npm run cem && node scripts/build.mjs", |
23 | | - "build:typescript": "tsc", |
24 | 22 | "cem": "cem analyze --config cem.config.mjs", |
25 | 23 | "cem:watch": "cem analyze --config cem.config.mjs --watch", |
26 | 24 | "build:styles": "node scripts/build-styles.mjs", |
27 | | - "build:watch": "npm run build:styles && concurrently -k -r \"npm:watch-scss\" \"npm:watch-ts\"", |
28 | 25 | "build:meta": "node scripts/build-stories.mjs", |
29 | 26 | "watch-meta": "node scripts/stories-watcher.js ", |
30 | 27 | "watch-scss": "node scripts/styles-watcher.mjs", |
31 | | - "watch-ts": "tsc --watch --preserveWatchOutput", |
32 | | - "check": "madge --circular --warning --no-spinner dist/src/index.js", |
| 28 | + "check": "madge --circular --warning --no-spinner --ts-config ./tsconfig.json --extensions ts src/index.ts", |
33 | 29 | "clean": "npm run clean:dist && npm run clean:styles && npm run clean:docs", |
34 | 30 | "clean:dist": "rimraf ./dist", |
35 | 31 | "clean:styles": "rimraf --glob \"src/**/*.css.ts\"", |
|
41 | 37 | "lint:styles": "stylelint \"src/**/*.scss\"", |
42 | 38 | "format": "biome check --fix && prettier \"**/*.ts\" --write --ignore-path .gitignore", |
43 | 39 | "release": "node scripts/gen-changelog.mjs", |
44 | | - "test": "npm run build && wtr --coverage", |
45 | | - "test:watch": "npm run build && concurrently -k -r \"npm:watch-scss\" \"npm:watch-ts\" \"wtr --watch\"", |
46 | | - "storybook": "npm run build && concurrently -k -r \"npm run cem:watch\" \"npm:watch-scss\" \"npm:watch-meta\" \"storybook dev -p 8000 --debug\"", |
47 | | - "storybook:build": "npm run build && storybook build -o ./storybook-static", |
| 40 | + "test": "npm run build:styles && wtr --coverage", |
| 41 | + "test:watch": "npm run build:styles && concurrently -k -r \"npm:watch-scss\" \"wtr --watch\"", |
| 42 | + "storybook": "npm run build:styles && concurrently -k -r \"npm run cem:watch\" \"npm:watch-scss\" \"npm:watch-meta\" \"storybook dev -p 8000\"", |
| 43 | + "storybook:build": "npm run build:styles && storybook build -o ./storybook-static", |
48 | 44 | "build:typedoc:export": "node scripts/build-typedoc.js export", |
49 | 45 | "build:typedoc:import": "node scripts/build-typedoc.js import", |
50 | 46 | "build:typedoc:watch": "node scripts/build-typedoc.js watch", |
|
71 | 67 | "@storybook/web-components": "^8.4.6", |
72 | 68 | "@storybook/web-components-vite": "^8.4.6", |
73 | 69 | "@types/mocha": "^10.0.10", |
| 70 | + "@web/dev-server-esbuild": "^1.0.3", |
74 | 71 | "@web/test-runner": "^0.19.0", |
75 | 72 | "@web/test-runner-playwright": "^0.11.0", |
76 | 73 | "autoprefixer": "^10.4.20", |
|
90 | 87 | "node-watch": "^0.7.4", |
91 | 88 | "playwright": "^1.49.0", |
92 | 89 | "postcss": "^8.4.49", |
93 | | - "prettier": "^3.4.1", |
| 90 | + "prettier": "^3.4.2", |
94 | 91 | "rimraf": "^5.0.10", |
95 | 92 | "sass": "^1.78.0", |
96 | 93 | "sass-embedded": "^1.78.0", |
|
105 | 102 | "typedoc": "^0.26.11", |
106 | 103 | "typedoc-plugin-localization": "^3.0.5", |
107 | 104 | "typescript": "^5.6.3", |
108 | | - "vite": "^6.0.1" |
| 105 | + "vite": "^6.0.2" |
109 | 106 | }, |
110 | 107 | "browserslist": [ |
111 | 108 | "defaults" |
|
117 | 114 | "git add" |
118 | 115 | ] |
119 | 116 | }, |
| 117 | + "madge": { |
| 118 | + "detectiveOptions": { |
| 119 | + "ts": { |
| 120 | + "skipTypeImports": true |
| 121 | + } |
| 122 | + } |
| 123 | + }, |
120 | 124 | "customElements": "custom-elements.json" |
121 | 125 | } |
0 commit comments