|
1 | 1 | {
|
2 | 2 | "name": "@googlemaps/extended-component-library",
|
3 |
| - "version": "0.6.12", |
| 3 | + "version": "0.6.14", |
4 | 4 | "description": "Web Components for building rich experiences with the Google Maps JavaScript API.",
|
5 | 5 | "license": "Apache-2.0",
|
6 | 6 | "homepage": "https://github.com/googlemaps/extended-component-library",
|
|
100 | 100 | "!**/*_test.ts",
|
101 | 101 | "!src/testing/*.ts"
|
102 | 102 | ],
|
103 |
| - "output": ["custom-elements.json"] |
| 103 | + "output": [ |
| 104 | + "custom-elements.json" |
| 105 | + ] |
104 | 106 | },
|
105 | 107 | "docs": {
|
106 | 108 | "command": "node build/make_docs.js",
|
107 |
| - "dependencies": ["cem"], |
108 |
| - "files": ["**/doc_src/*", "build/make_docs.js", "custom-elements.json"], |
109 |
| - "output": ["README.md", "src/**/README.md", "!src/react/README.md"] |
| 109 | + "dependencies": [ |
| 110 | + "cem" |
| 111 | + ], |
| 112 | + "files": [ |
| 113 | + "**/doc_src/*", |
| 114 | + "build/make_docs.js", |
| 115 | + "custom-elements.json" |
| 116 | + ], |
| 117 | + "output": [ |
| 118 | + "README.md", |
| 119 | + "src/**/README.md", |
| 120 | + "!src/react/README.md" |
| 121 | + ] |
110 | 122 | },
|
111 | 123 | "build": {
|
112 |
| - "dependencies": ["build:ts"] |
| 124 | + "dependencies": [ |
| 125 | + "build:ts" |
| 126 | + ] |
113 | 127 | },
|
114 | 128 | "build:react": {
|
115 | 129 | "command": "node build/make_react.js",
|
116 |
| - "dependencies": ["cem"], |
117 |
| - "files": ["build/make_react.js", "custom-elements.json"], |
118 |
| - "output": ["src/react/index.ts"] |
| 130 | + "dependencies": [ |
| 131 | + "cem" |
| 132 | + ], |
| 133 | + "files": [ |
| 134 | + "build/make_react.js", |
| 135 | + "custom-elements.json" |
| 136 | + ], |
| 137 | + "output": [ |
| 138 | + "src/react/index.ts" |
| 139 | + ] |
119 | 140 | },
|
120 | 141 | "build:ts": {
|
121 | 142 | "command": "tsc",
|
122 |
| - "dependencies": ["build:react"], |
123 |
| - "files": ["tsconfig.json", "src/**/*.ts"], |
124 |
| - "output": [".tsbuildinfo", "lib/**/*"], |
| 143 | + "dependencies": [ |
| 144 | + "build:react" |
| 145 | + ], |
| 146 | + "files": [ |
| 147 | + "tsconfig.json", |
| 148 | + "src/**/*.ts" |
| 149 | + ], |
| 150 | + "output": [ |
| 151 | + ".tsbuildinfo", |
| 152 | + "lib/**/*" |
| 153 | + ], |
125 | 154 | "clean": "if-file-deleted"
|
126 | 155 | },
|
127 | 156 | "build:package": {
|
128 | 157 | "command": ". build/finalize_package.sh",
|
129 |
| - "dependencies": ["build:ts"], |
130 |
| - "files": ["build/finalize_package.sh", "lib/base/constants.js"], |
131 |
| - "output": ["lib/**/*.js", "lib/**/*.md"], |
| 158 | + "dependencies": [ |
| 159 | + "build:ts" |
| 160 | + ], |
| 161 | + "files": [ |
| 162 | + "build/finalize_package.sh", |
| 163 | + "lib/base/constants.js" |
| 164 | + ], |
| 165 | + "output": [ |
| 166 | + "lib/**/*.js", |
| 167 | + "lib/**/*.md" |
| 168 | + ], |
132 | 169 | "clean": false
|
133 | 170 | },
|
134 | 171 | "build:bundle": {
|
135 | 172 | "command": "rollup -c build/rollup.config.js",
|
136 |
| - "dependencies": ["build:package"], |
137 |
| - "files": ["build/rollup.config.js", "lib/**/*.js"], |
138 |
| - "output": ["dist/index.min.js"] |
| 173 | + "dependencies": [ |
| 174 | + "build:package" |
| 175 | + ], |
| 176 | + "files": [ |
| 177 | + "build/rollup.config.js", |
| 178 | + "lib/**/*.js" |
| 179 | + ], |
| 180 | + "output": [ |
| 181 | + "dist/index.min.js" |
| 182 | + ] |
139 | 183 | },
|
140 | 184 | "example:prepare": {
|
141 | 185 | "command": "chmod +x build/start_example.sh"
|
|
145 | 189 | "env": {
|
146 | 190 | "PORT": "8001"
|
147 | 191 | },
|
148 |
| - "dependencies": ["build:package", "example:prepare"], |
| 192 | + "dependencies": [ |
| 193 | + "build:package", |
| 194 | + "example:prepare" |
| 195 | + ], |
149 | 196 | "service": {
|
150 | 197 | "readyWhen": {
|
151 | 198 | "lineMatches": "You can now view \\S+ in the browser"
|
|
157 | 204 | "env": {
|
158 | 205 | "PORT": "8002"
|
159 | 206 | },
|
160 |
| - "dependencies": ["build:bundle", "example:prepare"], |
| 207 | + "dependencies": [ |
| 208 | + "build:bundle", |
| 209 | + "example:prepare" |
| 210 | + ], |
161 | 211 | "service": {
|
162 | 212 | "readyWhen": {
|
163 | 213 | "lineMatches": "Web Dev Server started"
|
|
169 | 219 | "env": {
|
170 | 220 | "PORT": "8003"
|
171 | 221 | },
|
172 |
| - "dependencies": ["build:package", "example:prepare"], |
| 222 | + "dependencies": [ |
| 223 | + "build:package", |
| 224 | + "example:prepare" |
| 225 | + ], |
173 | 226 | "service": {
|
174 | 227 | "readyWhen": {
|
175 | 228 | "lineMatches": "Angular Live Development Server is listening on localhost"
|
|
183 | 236 | "example:js_sample_app",
|
184 | 237 | "example:angular_sample_app"
|
185 | 238 | ],
|
186 |
| - "files": ["e2e/**/*.js"], |
| 239 | + "files": [ |
| 240 | + "e2e/**/*.js" |
| 241 | + ], |
187 | 242 | "output": []
|
188 | 243 | },
|
189 | 244 | "test": {
|
190 | 245 | "command": "wtr",
|
191 |
| - "dependencies": ["build:ts"], |
192 |
| - "files": ["web-test-runner.config.js"], |
| 246 | + "dependencies": [ |
| 247 | + "build:ts" |
| 248 | + ], |
| 249 | + "files": [ |
| 250 | + "web-test-runner.config.js" |
| 251 | + ], |
193 | 252 | "output": []
|
194 | 253 | }
|
195 | 254 | }
|
|
0 commit comments