|
33 | 33 | "update-docs": "wireit", |
34 | 34 | "update-size": "wireit" |
35 | 35 | }, |
| 36 | + "customElement": "custom-elements.json", |
36 | 37 | "type": "module", |
37 | 38 | "files": [ |
38 | 39 | "**/*.js", |
|
41 | 42 | "**/*.scss", |
42 | 43 | "**/*.css", |
43 | 44 | "**/*.css.map", |
| 45 | + "custom-elements.json", |
| 46 | + "web-types.json", |
44 | 47 | "!web-test-runner.config.js", |
45 | 48 | "!commitlint.config.js", |
46 | 49 | "!**/test/**", |
|
52 | 55 | "testing/harness.{js,js.map,d.ts}", |
53 | 56 | "testing/transform-pseudo-classes.{js,js.map,d.ts}" |
54 | 57 | ], |
55 | | - "workspaces": [ |
56 | | - "catalog" |
57 | | - ], |
| 58 | + "workspaces": ["catalog"], |
58 | 59 | "dependencies": { |
59 | 60 | "lit": "^2.7.4 || ^3.0.0", |
60 | 61 | "tslib": "^2.4.0" |
61 | 62 | }, |
62 | 63 | "devDependencies": { |
63 | | - "@lit-labs/analyzer": "^0.12.1", |
| 64 | + "@lit-labs/analyzer": "npm:@maicol07/lit-labs-analyzer@0.13.0-1", |
| 65 | + "@lit-labs/gen-manifest": "npm:@maicol07/lit-labs-gen-manifest", |
64 | 66 | "@rollup/plugin-multi-entry": "^6.0.1", |
65 | 67 | "@rollup/plugin-node-resolve": "^15.2.3", |
66 | 68 | "@rollup/plugin-terser": "^0.4.4", |
67 | 69 | "@types/jasmine": "^4.0.3", |
68 | 70 | "@web/test-runner": "^0.18.2", |
69 | 71 | "@web/test-runner-playwright": "^0.9.0", |
| 72 | + "custom-element-jet-brains-integration": "^1.6.2", |
| 73 | + "custom-elements-manifest-inheritance": "^1.1.1", |
70 | 74 | "jasmine": "^4.5.0", |
71 | 75 | "rollup": "^2.79.1", |
72 | 76 | "sass": "^1.52.3", |
|
77 | 81 | }, |
78 | 82 | "wireit": { |
79 | 83 | "build": { |
80 | | - "dependencies": [ |
81 | | - "build:ts" |
82 | | - ] |
| 84 | + "dependencies": ["build:ts"] |
83 | 85 | }, |
84 | 86 | "build:ts": { |
85 | 87 | "command": "tsc --pretty", |
|
103 | 105 | "!scripts/" |
104 | 106 | ], |
105 | 107 | "clean": "if-file-deleted", |
106 | | - "dependencies": [ |
107 | | - "build:css-to-ts" |
108 | | - ] |
| 108 | + "dependencies": ["build:css-to-ts"] |
109 | 109 | }, |
110 | 110 | "build:css-to-ts": { |
111 | 111 | "command": "find . \\( -path ./.wireit -o -path ./node_modules -o -path ./catalog \\) -prune -o -name '*-styles.css' -print | xargs -L1 node scripts/css-to-ts.js", |
112 | | - "files": [ |
113 | | - "**/*-styles.css", |
114 | | - "!catalog/" |
115 | | - ], |
116 | | - "output": [ |
117 | | - "**/*-styles.ts", |
118 | | - "!catalog/" |
119 | | - ], |
120 | | - "dependencies": [ |
121 | | - "build:scripts", |
122 | | - "build:sass" |
123 | | - ] |
| 112 | + "files": ["**/*-styles.css", "!catalog/"], |
| 113 | + "output": ["**/*-styles.ts", "!catalog/"], |
| 114 | + "dependencies": ["build:scripts", "build:sass"] |
124 | 115 | }, |
125 | 116 | "build:sass": { |
126 | 117 | "command": "sass --style=compressed --load-path=node_modules --load-path=node_modules/sass-true/sass $(ls -d */ | grep -vE 'node_modules|catalog')", |
127 | | - "files": [ |
128 | | - "**/*.scss", |
129 | | - "!catalog/" |
130 | | - ], |
131 | | - "output": [ |
132 | | - "**/*.css", |
133 | | - "**/*.css.map", |
134 | | - "!catalog/" |
135 | | - ] |
| 118 | + "files": ["**/*.scss", "!catalog/"], |
| 119 | + "output": ["**/*.css", "**/*.css.map", "!catalog/"] |
136 | 120 | }, |
137 | 121 | "test": { |
138 | 122 | "command": "wtr", |
139 | | - "dependencies": [ |
140 | | - "build:ts" |
141 | | - ], |
142 | | - "files": [ |
143 | | - "web-test-runner.config.js" |
144 | | - ], |
| 123 | + "dependencies": ["build:ts"], |
| 124 | + "files": ["web-test-runner.config.js"], |
145 | 125 | "output": [] |
146 | 126 | }, |
147 | 127 | "build:catalog": { |
148 | | - "dependencies": [ |
149 | | - "./catalog:build:prod" |
150 | | - ] |
| 128 | + "dependencies": ["./catalog:build:prod"] |
151 | 129 | }, |
152 | 130 | "build:scripts": { |
153 | 131 | "command": "tsc -b scripts/tsconfig.json --pretty", |
|
176 | 154 | "!scripts/", |
177 | 155 | "scripts/analyzer/update-docs.js" |
178 | 156 | ], |
179 | | - "output": [], |
180 | | - "dependencies": [ |
181 | | - "build:scripts" |
182 | | - ] |
| 157 | + "output": ["custom-elements.json", "web-types.json"], |
| 158 | + "dependencies": ["build:scripts"] |
183 | 159 | }, |
184 | 160 | "update-size": { |
185 | 161 | "command": "node scripts/size/update-size.js", |
186 | | - "dependencies": [ |
187 | | - "build:scripts", |
188 | | - "build" |
189 | | - ] |
| 162 | + "dependencies": ["build:scripts", "build"] |
190 | 163 | } |
191 | | - } |
| 164 | + }, |
| 165 | + "web-types": "./web-types.json" |
192 | 166 | } |
0 commit comments