@iconify/tools 2.2.0-beta.4 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,534 +1,532 @@
1
1
  {
2
- "name": "@iconify/tools",
3
- "type": "module",
4
- "description": "Collection of functions for cleaning up and parsing SVG for Iconify project",
5
- "author": "Vjacheslav Trushkin",
6
- "version": "2.2.0-beta.4",
7
- "license": "MIT",
8
- "bugs": "https://github.com/iconify/tools/issues",
9
- "homepage": "https://github.com/iconify/tools",
10
- "repository": {
11
- "type": "git",
12
- "url": "git://github.com/iconify/tools.git"
13
- },
14
- "main": "./lib/index.cjs",
15
- "module": "./lib/index.mjs",
16
- "types": "./lib/index.d.ts",
17
- "scripts": {
18
- "clean": "rimraf lib tests-compiled tsconfig.tsbuildinfo",
19
- "lint": "eslint src/**/*.ts",
20
- "prebuild": "npm run lint && npm run clean",
21
- "build": "unbuild",
22
- "test:jest-cjs": "jest --clearCache --config=jest.config.cjs && jest --runInBand --config=jest.config.cjs",
23
- "test:jest-esm": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --clearCache --config=jest.config.mjs && cross-env NODE_OPTIONS=--experimental-vm-modules npx jest --runInBand --config=jest.config.mjs",
24
- "test:jasmine": "cross-env NODE_OPTIONS='--experimental-vm-modules --experimental-json-modules' npx jasmine",
25
- "test": "npm run test:jest-cjs && npm run test:jest-esm && npm run test:jasmine"
26
- },
27
- "dependencies": {
28
- "@iconify/utils": "^2.0.9",
29
- "@types/cheerio": "^0.22.31",
30
- "@types/node-fetch": "^2.6.2",
31
- "@types/tar": "^6.1.3",
32
- "cheerio": "^1.0.0-rc.12",
33
- "extract-zip": "^2.0.1",
34
- "local-pkg": "^0.4.2",
35
- "node-fetch": "^2.6.7",
36
- "pathe": "^1.0.0",
37
- "svgo": "^3.0.2",
38
- "tar": "^6.1.13"
39
- },
40
- "devDependencies": {
41
- "@types/jest": "^29.2.4",
42
- "@types/node": "^18.11.17",
43
- "@typescript-eslint/eslint-plugin": "^5.47.0",
44
- "@typescript-eslint/parser": "^5.47.0",
45
- "cross-env": "^7.0.3",
46
- "eslint": "^8.30.0",
47
- "eslint-config-prettier": "^8.5.0",
48
- "eslint-plugin-jasmine": "^4.1.3",
49
- "eslint-plugin-prettier": "^4.2.1",
50
- "jasmine": "^4.5.0",
51
- "jest": "^29.3.1",
52
- "prettier": "^2.8.1",
53
- "rimraf": "^3.0.2",
54
- "ts-jest": "^29.0.3",
55
- "typescript": "^4.9.4",
56
- "unbuild": "^1.0.2"
57
- },
58
- "peerDependencies": {
59
- "@iconify/types": "*"
60
- },
61
- "exports": {
62
- "./*": "./*",
63
- ".": {
64
- "require": "./lib/index.cjs",
65
- "import": "./lib/index.mjs",
66
- "types": "./lib/index.d.ts"
67
- },
68
- "./lib/colors/attribs": {
69
- "require": "./lib/colors/attribs.cjs",
70
- "import": "./lib/colors/attribs.mjs",
71
- "types": "./lib/colors/attribs.d.ts"
72
- },
73
- "./lib/colors/detect": {
74
- "require": "./lib/colors/detect.cjs",
75
- "import": "./lib/colors/detect.mjs",
76
- "types": "./lib/colors/detect.d.ts"
77
- },
78
- "./lib/colors/parse": {
79
- "require": "./lib/colors/parse.cjs",
80
- "import": "./lib/colors/parse.mjs",
81
- "types": "./lib/colors/parse.d.ts"
82
- },
83
- "./lib/colors/validate": {
84
- "require": "./lib/colors/validate.cjs",
85
- "import": "./lib/colors/validate.mjs",
86
- "types": "./lib/colors/validate.d.ts"
87
- },
88
- "./lib/css/parse": {
89
- "require": "./lib/css/parse.cjs",
90
- "import": "./lib/css/parse.mjs",
91
- "types": "./lib/css/parse.d.ts"
92
- },
93
- "./lib/css/parser/error": {
94
- "require": "./lib/css/parser/error.cjs",
95
- "import": "./lib/css/parser/error.mjs",
96
- "types": "./lib/css/parser/error.d.ts"
97
- },
98
- "./lib/css/parser/export": {
99
- "require": "./lib/css/parser/export.cjs",
100
- "import": "./lib/css/parser/export.mjs",
101
- "types": "./lib/css/parser/export.d.ts"
102
- },
103
- "./lib/css/parser/strings": {
104
- "require": "./lib/css/parser/strings.cjs",
105
- "import": "./lib/css/parser/strings.mjs",
106
- "types": "./lib/css/parser/strings.d.ts"
107
- },
108
- "./lib/css/parser/text": {
109
- "require": "./lib/css/parser/text.cjs",
110
- "import": "./lib/css/parser/text.mjs",
111
- "types": "./lib/css/parser/text.d.ts"
112
- },
113
- "./lib/css/parser/tokens": {
114
- "require": "./lib/css/parser/tokens.cjs",
115
- "import": "./lib/css/parser/tokens.mjs",
116
- "types": "./lib/css/parser/tokens.d.ts"
117
- },
118
- "./lib/css/parser/tree": {
119
- "require": "./lib/css/parser/tree.cjs",
120
- "import": "./lib/css/parser/tree.mjs",
121
- "types": "./lib/css/parser/tree.d.ts"
122
- },
123
- "./lib/css/parser/types": {
124
- "require": "./lib/css/parser/types.cjs",
125
- "import": "./lib/css/parser/types.mjs",
126
- "types": "./lib/css/parser/types.d.ts"
127
- },
128
- "./lib/download/api/cache": {
129
- "require": "./lib/download/api/cache.cjs",
130
- "import": "./lib/download/api/cache.mjs",
131
- "types": "./lib/download/api/cache.d.ts"
132
- },
133
- "./lib/download/api/download": {
134
- "require": "./lib/download/api/download.cjs",
135
- "import": "./lib/download/api/download.mjs",
136
- "types": "./lib/download/api/download.d.ts"
137
- },
138
- "./lib/download/api": {
139
- "require": "./lib/download/api/index.cjs",
140
- "import": "./lib/download/api/index.mjs",
141
- "types": "./lib/download/api/index.d.ts"
142
- },
143
- "./lib/download/api/index": {
144
- "require": "./lib/download/api/index.cjs",
145
- "import": "./lib/download/api/index.mjs",
146
- "types": "./lib/download/api/index.d.ts"
147
- },
148
- "./lib/download/api/types": {
149
- "require": "./lib/download/api/types.cjs",
150
- "import": "./lib/download/api/types.mjs",
151
- "types": "./lib/download/api/types.d.ts"
152
- },
153
- "./lib/download/git/branch": {
154
- "require": "./lib/download/git/branch.cjs",
155
- "import": "./lib/download/git/branch.mjs",
156
- "types": "./lib/download/git/branch.d.ts"
157
- },
158
- "./lib/download/git/hash": {
159
- "require": "./lib/download/git/hash.cjs",
160
- "import": "./lib/download/git/hash.mjs",
161
- "types": "./lib/download/git/hash.d.ts"
162
- },
163
- "./lib/download/git": {
164
- "require": "./lib/download/git/index.cjs",
165
- "import": "./lib/download/git/index.mjs",
166
- "types": "./lib/download/git/index.d.ts"
167
- },
168
- "./lib/download/git/index": {
169
- "require": "./lib/download/git/index.cjs",
170
- "import": "./lib/download/git/index.mjs",
171
- "types": "./lib/download/git/index.d.ts"
172
- },
173
- "./lib/download/git/reset": {
174
- "require": "./lib/download/git/reset.cjs",
175
- "import": "./lib/download/git/reset.mjs",
176
- "types": "./lib/download/git/reset.d.ts"
177
- },
178
- "./lib/download/github/hash": {
179
- "require": "./lib/download/github/hash.cjs",
180
- "import": "./lib/download/github/hash.mjs",
181
- "types": "./lib/download/github/hash.d.ts"
182
- },
183
- "./lib/download/github": {
184
- "require": "./lib/download/github/index.cjs",
185
- "import": "./lib/download/github/index.mjs",
186
- "types": "./lib/download/github/index.d.ts"
187
- },
188
- "./lib/download/github/index": {
189
- "require": "./lib/download/github/index.cjs",
190
- "import": "./lib/download/github/index.mjs",
191
- "types": "./lib/download/github/index.d.ts"
192
- },
193
- "./lib/download/github/types": {
194
- "require": "./lib/download/github/types.cjs",
195
- "import": "./lib/download/github/types.mjs",
196
- "types": "./lib/download/github/types.d.ts"
197
- },
198
- "./lib/download/gitlab/hash": {
199
- "require": "./lib/download/gitlab/hash.cjs",
200
- "import": "./lib/download/gitlab/hash.mjs",
201
- "types": "./lib/download/gitlab/hash.d.ts"
202
- },
203
- "./lib/download/gitlab": {
204
- "require": "./lib/download/gitlab/index.cjs",
205
- "import": "./lib/download/gitlab/index.mjs",
206
- "types": "./lib/download/gitlab/index.d.ts"
207
- },
208
- "./lib/download/gitlab/index": {
209
- "require": "./lib/download/gitlab/index.cjs",
210
- "import": "./lib/download/gitlab/index.mjs",
211
- "types": "./lib/download/gitlab/index.d.ts"
212
- },
213
- "./lib/download/gitlab/types": {
214
- "require": "./lib/download/gitlab/types.cjs",
215
- "import": "./lib/download/gitlab/types.mjs",
216
- "types": "./lib/download/gitlab/types.d.ts"
217
- },
218
- "./lib/download/helpers/untar": {
219
- "require": "./lib/download/helpers/untar.cjs",
220
- "import": "./lib/download/helpers/untar.mjs",
221
- "types": "./lib/download/helpers/untar.d.ts"
222
- },
223
- "./lib/download/helpers/unzip": {
224
- "require": "./lib/download/helpers/unzip.cjs",
225
- "import": "./lib/download/helpers/unzip.mjs",
226
- "types": "./lib/download/helpers/unzip.d.ts"
227
- },
228
- "./lib/download": {
229
- "require": "./lib/download/index.cjs",
230
- "import": "./lib/download/index.mjs",
231
- "types": "./lib/download/index.d.ts"
232
- },
233
- "./lib/download/index": {
234
- "require": "./lib/download/index.cjs",
235
- "import": "./lib/download/index.mjs",
236
- "types": "./lib/download/index.d.ts"
237
- },
238
- "./lib/download/npm": {
239
- "require": "./lib/download/npm/index.cjs",
240
- "import": "./lib/download/npm/index.mjs",
241
- "types": "./lib/download/npm/index.d.ts"
242
- },
243
- "./lib/download/npm/index": {
244
- "require": "./lib/download/npm/index.cjs",
245
- "import": "./lib/download/npm/index.mjs",
246
- "types": "./lib/download/npm/index.d.ts"
247
- },
248
- "./lib/download/npm/types": {
249
- "require": "./lib/download/npm/types.cjs",
250
- "import": "./lib/download/npm/types.mjs",
251
- "types": "./lib/download/npm/types.d.ts"
252
- },
253
- "./lib/download/npm/version": {
254
- "require": "./lib/download/npm/version.cjs",
255
- "import": "./lib/download/npm/version.mjs",
256
- "types": "./lib/download/npm/version.d.ts"
257
- },
258
- "./lib/download/types/modified": {
259
- "require": "./lib/download/types/modified.cjs",
260
- "import": "./lib/download/types/modified.mjs",
261
- "types": "./lib/download/types/modified.d.ts"
262
- },
263
- "./lib/download/types/sources": {
264
- "require": "./lib/download/types/sources.cjs",
265
- "import": "./lib/download/types/sources.mjs",
266
- "types": "./lib/download/types/sources.d.ts"
267
- },
268
- "./lib/export/directory": {
269
- "require": "./lib/export/directory.cjs",
270
- "import": "./lib/export/directory.mjs",
271
- "types": "./lib/export/directory.d.ts"
272
- },
273
- "./lib/export/helpers/custom-files": {
274
- "require": "./lib/export/helpers/custom-files.cjs",
275
- "import": "./lib/export/helpers/custom-files.mjs",
276
- "types": "./lib/export/helpers/custom-files.d.ts"
277
- },
278
- "./lib/export/helpers/prepare": {
279
- "require": "./lib/export/helpers/prepare.cjs",
280
- "import": "./lib/export/helpers/prepare.mjs",
281
- "types": "./lib/export/helpers/prepare.d.ts"
282
- },
283
- "./lib/export/helpers/types-version": {
284
- "require": "./lib/export/helpers/types-version.cjs",
285
- "import": "./lib/export/helpers/types-version.mjs",
286
- "types": "./lib/export/helpers/types-version.d.ts"
287
- },
288
- "./lib/export/icon-package": {
289
- "require": "./lib/export/icon-package.cjs",
290
- "import": "./lib/export/icon-package.mjs",
291
- "types": "./lib/export/icon-package.d.ts"
292
- },
293
- "./lib/export/json-package": {
294
- "require": "./lib/export/json-package.cjs",
295
- "import": "./lib/export/json-package.mjs",
296
- "types": "./lib/export/json-package.d.ts"
297
- },
298
- "./lib/icon-set": {
299
- "require": "./lib/icon-set/index.cjs",
300
- "import": "./lib/icon-set/index.mjs",
301
- "types": "./lib/icon-set/index.d.ts"
302
- },
303
- "./lib/icon-set/index": {
304
- "require": "./lib/icon-set/index.cjs",
305
- "import": "./lib/icon-set/index.mjs",
306
- "types": "./lib/icon-set/index.d.ts"
307
- },
308
- "./lib/icon-set/match": {
309
- "require": "./lib/icon-set/match.cjs",
310
- "import": "./lib/icon-set/match.mjs",
311
- "types": "./lib/icon-set/match.d.ts"
312
- },
313
- "./lib/icon-set/merge": {
314
- "require": "./lib/icon-set/merge.cjs",
315
- "import": "./lib/icon-set/merge.mjs",
316
- "types": "./lib/icon-set/merge.d.ts"
317
- },
318
- "./lib/icon-set/modified": {
319
- "require": "./lib/icon-set/modified.cjs",
320
- "import": "./lib/icon-set/modified.mjs",
321
- "types": "./lib/icon-set/modified.d.ts"
322
- },
323
- "./lib/icon-set/props": {
324
- "require": "./lib/icon-set/props.cjs",
325
- "import": "./lib/icon-set/props.mjs",
326
- "types": "./lib/icon-set/props.d.ts"
327
- },
328
- "./lib/icon-set/tags": {
329
- "require": "./lib/icon-set/tags.cjs",
330
- "import": "./lib/icon-set/tags.mjs",
331
- "types": "./lib/icon-set/tags.d.ts"
332
- },
333
- "./lib/icon-set/types": {
334
- "require": "./lib/icon-set/types.cjs",
335
- "import": "./lib/icon-set/types.mjs",
336
- "types": "./lib/icon-set/types.d.ts"
337
- },
338
- "./lib/import/directory": {
339
- "require": "./lib/import/directory.cjs",
340
- "import": "./lib/import/directory.mjs",
341
- "types": "./lib/import/directory.d.ts"
342
- },
343
- "./lib/import/figma": {
344
- "require": "./lib/import/figma/index.cjs",
345
- "import": "./lib/import/figma/index.mjs",
346
- "types": "./lib/import/figma/index.d.ts"
347
- },
348
- "./lib/import/figma/index": {
349
- "require": "./lib/import/figma/index.cjs",
350
- "import": "./lib/import/figma/index.mjs",
351
- "types": "./lib/import/figma/index.d.ts"
352
- },
353
- "./lib/import/figma/nodes": {
354
- "require": "./lib/import/figma/nodes.cjs",
355
- "import": "./lib/import/figma/nodes.mjs",
356
- "types": "./lib/import/figma/nodes.d.ts"
357
- },
358
- "./lib/import/figma/query": {
359
- "require": "./lib/import/figma/query.cjs",
360
- "import": "./lib/import/figma/query.mjs",
361
- "types": "./lib/import/figma/query.d.ts"
362
- },
363
- "./lib/import/figma/types/api": {
364
- "require": "./lib/import/figma/types/api.cjs",
365
- "import": "./lib/import/figma/types/api.mjs",
366
- "types": "./lib/import/figma/types/api.d.ts"
367
- },
368
- "./lib/import/figma/types/nodes": {
369
- "require": "./lib/import/figma/types/nodes.cjs",
370
- "import": "./lib/import/figma/types/nodes.mjs",
371
- "types": "./lib/import/figma/types/nodes.d.ts"
372
- },
373
- "./lib/import/figma/types/options": {
374
- "require": "./lib/import/figma/types/options.cjs",
375
- "import": "./lib/import/figma/types/options.mjs",
376
- "types": "./lib/import/figma/types/options.d.ts"
377
- },
378
- "./lib/import/figma/types/result": {
379
- "require": "./lib/import/figma/types/result.cjs",
380
- "import": "./lib/import/figma/types/result.mjs",
381
- "types": "./lib/import/figma/types/result.d.ts"
382
- },
383
- "./lib": {
384
- "require": "./lib/index.cjs",
385
- "import": "./lib/index.mjs",
386
- "types": "./lib/index.d.ts"
387
- },
388
- "./lib/index": {
389
- "require": "./lib/index.cjs",
390
- "import": "./lib/index.mjs",
391
- "types": "./lib/index.d.ts"
392
- },
393
- "./lib/misc/bump-version": {
394
- "require": "./lib/misc/bump-version.cjs",
395
- "import": "./lib/misc/bump-version.mjs",
396
- "types": "./lib/misc/bump-version.d.ts"
397
- },
398
- "./lib/misc/cheerio": {
399
- "require": "./lib/misc/cheerio.cjs",
400
- "import": "./lib/misc/cheerio.mjs",
401
- "types": "./lib/misc/cheerio.d.ts"
402
- },
403
- "./lib/misc/compare-dirs": {
404
- "require": "./lib/misc/compare-dirs.cjs",
405
- "import": "./lib/misc/compare-dirs.mjs",
406
- "types": "./lib/misc/compare-dirs.d.ts"
407
- },
408
- "./lib/misc/exec": {
409
- "require": "./lib/misc/exec.cjs",
410
- "import": "./lib/misc/exec.mjs",
411
- "types": "./lib/misc/exec.d.ts"
412
- },
413
- "./lib/misc/keyword": {
414
- "require": "./lib/misc/keyword.cjs",
415
- "import": "./lib/misc/keyword.mjs",
416
- "types": "./lib/misc/keyword.d.ts"
417
- },
418
- "./lib/misc/scan": {
419
- "require": "./lib/misc/scan.cjs",
420
- "import": "./lib/misc/scan.mjs",
421
- "types": "./lib/misc/scan.d.ts"
422
- },
423
- "./lib/misc/write-json": {
424
- "require": "./lib/misc/write-json.cjs",
425
- "import": "./lib/misc/write-json.mjs",
426
- "types": "./lib/misc/write-json.d.ts"
427
- },
428
- "./lib/optimise/flags": {
429
- "require": "./lib/optimise/flags.cjs",
430
- "import": "./lib/optimise/flags.mjs",
431
- "types": "./lib/optimise/flags.d.ts"
432
- },
433
- "./lib/optimise/global-style": {
434
- "require": "./lib/optimise/global-style.cjs",
435
- "import": "./lib/optimise/global-style.mjs",
436
- "types": "./lib/optimise/global-style.d.ts"
437
- },
438
- "./lib/optimise/scale": {
439
- "require": "./lib/optimise/scale.cjs",
440
- "import": "./lib/optimise/scale.mjs",
441
- "types": "./lib/optimise/scale.d.ts"
442
- },
443
- "./lib/optimise/svgo": {
444
- "require": "./lib/optimise/svgo.cjs",
445
- "import": "./lib/optimise/svgo.mjs",
446
- "types": "./lib/optimise/svgo.d.ts"
447
- },
448
- "./lib/svg/analyse": {
449
- "require": "./lib/svg/analyse.cjs",
450
- "import": "./lib/svg/analyse.mjs",
451
- "types": "./lib/svg/analyse.d.ts"
452
- },
453
- "./lib/svg/analyse/error": {
454
- "require": "./lib/svg/analyse/error.cjs",
455
- "import": "./lib/svg/analyse/error.mjs",
456
- "types": "./lib/svg/analyse/error.d.ts"
457
- },
458
- "./lib/svg/analyse/types": {
459
- "require": "./lib/svg/analyse/types.cjs",
460
- "import": "./lib/svg/analyse/types.mjs",
461
- "types": "./lib/svg/analyse/types.d.ts"
462
- },
463
- "./lib/svg/cleanup": {
464
- "require": "./lib/svg/cleanup.cjs",
465
- "import": "./lib/svg/cleanup.mjs",
466
- "types": "./lib/svg/cleanup.d.ts"
467
- },
468
- "./lib/svg/cleanup/attribs": {
469
- "require": "./lib/svg/cleanup/attribs.cjs",
470
- "import": "./lib/svg/cleanup/attribs.mjs",
471
- "types": "./lib/svg/cleanup/attribs.d.ts"
472
- },
473
- "./lib/svg/cleanup/bad-tags": {
474
- "require": "./lib/svg/cleanup/bad-tags.cjs",
475
- "import": "./lib/svg/cleanup/bad-tags.mjs",
476
- "types": "./lib/svg/cleanup/bad-tags.d.ts"
477
- },
478
- "./lib/svg/cleanup/inline-style": {
479
- "require": "./lib/svg/cleanup/inline-style.cjs",
480
- "import": "./lib/svg/cleanup/inline-style.mjs",
481
- "types": "./lib/svg/cleanup/inline-style.d.ts"
482
- },
483
- "./lib/svg/cleanup/root-style": {
484
- "require": "./lib/svg/cleanup/root-style.cjs",
485
- "import": "./lib/svg/cleanup/root-style.mjs",
486
- "types": "./lib/svg/cleanup/root-style.d.ts"
487
- },
488
- "./lib/svg/cleanup/root-svg": {
489
- "require": "./lib/svg/cleanup/root-svg.cjs",
490
- "import": "./lib/svg/cleanup/root-svg.mjs",
491
- "types": "./lib/svg/cleanup/root-svg.d.ts"
492
- },
493
- "./lib/svg/cleanup/svgo-style": {
494
- "require": "./lib/svg/cleanup/svgo-style.cjs",
495
- "import": "./lib/svg/cleanup/svgo-style.mjs",
496
- "types": "./lib/svg/cleanup/svgo-style.d.ts"
497
- },
498
- "./lib/svg/data/attributes": {
499
- "require": "./lib/svg/data/attributes.cjs",
500
- "import": "./lib/svg/data/attributes.mjs",
501
- "types": "./lib/svg/data/attributes.d.ts"
502
- },
503
- "./lib/svg/data/tags": {
504
- "require": "./lib/svg/data/tags.cjs",
505
- "import": "./lib/svg/data/tags.mjs",
506
- "types": "./lib/svg/data/tags.d.ts"
507
- },
508
- "./lib/svg": {
509
- "require": "./lib/svg/index.cjs",
510
- "import": "./lib/svg/index.mjs",
511
- "types": "./lib/svg/index.d.ts"
512
- },
513
- "./lib/svg/index": {
514
- "require": "./lib/svg/index.cjs",
515
- "import": "./lib/svg/index.mjs",
516
- "types": "./lib/svg/index.d.ts"
517
- },
518
- "./lib/svg/parse": {
519
- "require": "./lib/svg/parse.cjs",
520
- "import": "./lib/svg/parse.mjs",
521
- "types": "./lib/svg/parse.d.ts"
522
- },
523
- "./lib/svg/parse-style": {
524
- "require": "./lib/svg/parse-style.cjs",
525
- "import": "./lib/svg/parse-style.mjs",
526
- "types": "./lib/svg/parse-style.d.ts"
527
- },
528
- "./lib/tests/load": {
529
- "require": "./lib/tests/load.cjs",
530
- "import": "./lib/tests/load.mjs",
531
- "types": "./lib/tests/load.d.ts"
532
- }
533
- }
534
- }
2
+ "name": "@iconify/tools",
3
+ "type": "module",
4
+ "description": "Collection of functions for cleaning up and parsing SVG for Iconify project",
5
+ "author": "Vjacheslav Trushkin",
6
+ "version": "2.2.1",
7
+ "license": "MIT",
8
+ "bugs": "https://github.com/iconify/tools/issues",
9
+ "homepage": "https://github.com/iconify/tools",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git://github.com/iconify/tools.git"
13
+ },
14
+ "main": "./lib/index.cjs",
15
+ "module": "./lib/index.mjs",
16
+ "types": "./lib/index.d.ts",
17
+ "dependencies": {
18
+ "@iconify/types": "^2.0.0",
19
+ "@iconify/utils": "^2.0.12",
20
+ "@types/cheerio": "^0.22.31",
21
+ "@types/node-fetch": "^2.6.2",
22
+ "@types/tar": "^6.1.3",
23
+ "cheerio": "^1.0.0-rc.12",
24
+ "extract-zip": "^2.0.1",
25
+ "local-pkg": "^0.4.2",
26
+ "node-fetch": "^2.6.8",
27
+ "pathe": "^1.0.0",
28
+ "svgo": "^3.0.2",
29
+ "tar": "^6.1.13"
30
+ },
31
+ "devDependencies": {
32
+ "@types/jest": "^29.2.5",
33
+ "@types/node": "^18.11.18",
34
+ "@typescript-eslint/eslint-plugin": "^5.48.1",
35
+ "@typescript-eslint/parser": "^5.48.1",
36
+ "cross-env": "^7.0.3",
37
+ "eslint": "^8.32.0",
38
+ "eslint-config-prettier": "^8.6.0",
39
+ "eslint-plugin-jasmine": "^4.1.3",
40
+ "eslint-plugin-prettier": "^4.2.1",
41
+ "jasmine": "^4.5.0",
42
+ "jest": "^29.3.1",
43
+ "prettier": "^2.8.3",
44
+ "rimraf": "^3.0.2",
45
+ "ts-jest": "^29.0.5",
46
+ "typescript": "^4.9.4",
47
+ "unbuild": "^1.1.1"
48
+ },
49
+ "exports": {
50
+ "./*": "./*",
51
+ ".": {
52
+ "require": "./lib/index.cjs",
53
+ "import": "./lib/index.mjs",
54
+ "types": "./lib/index.d.ts"
55
+ },
56
+ "./lib/colors/attribs": {
57
+ "require": "./lib/colors/attribs.cjs",
58
+ "import": "./lib/colors/attribs.mjs",
59
+ "types": "./lib/colors/attribs.d.ts"
60
+ },
61
+ "./lib/colors/detect": {
62
+ "require": "./lib/colors/detect.cjs",
63
+ "import": "./lib/colors/detect.mjs",
64
+ "types": "./lib/colors/detect.d.ts"
65
+ },
66
+ "./lib/colors/parse": {
67
+ "require": "./lib/colors/parse.cjs",
68
+ "import": "./lib/colors/parse.mjs",
69
+ "types": "./lib/colors/parse.d.ts"
70
+ },
71
+ "./lib/colors/validate": {
72
+ "require": "./lib/colors/validate.cjs",
73
+ "import": "./lib/colors/validate.mjs",
74
+ "types": "./lib/colors/validate.d.ts"
75
+ },
76
+ "./lib/css/parse": {
77
+ "require": "./lib/css/parse.cjs",
78
+ "import": "./lib/css/parse.mjs",
79
+ "types": "./lib/css/parse.d.ts"
80
+ },
81
+ "./lib/css/parser/error": {
82
+ "require": "./lib/css/parser/error.cjs",
83
+ "import": "./lib/css/parser/error.mjs",
84
+ "types": "./lib/css/parser/error.d.ts"
85
+ },
86
+ "./lib/css/parser/export": {
87
+ "require": "./lib/css/parser/export.cjs",
88
+ "import": "./lib/css/parser/export.mjs",
89
+ "types": "./lib/css/parser/export.d.ts"
90
+ },
91
+ "./lib/css/parser/strings": {
92
+ "require": "./lib/css/parser/strings.cjs",
93
+ "import": "./lib/css/parser/strings.mjs",
94
+ "types": "./lib/css/parser/strings.d.ts"
95
+ },
96
+ "./lib/css/parser/text": {
97
+ "require": "./lib/css/parser/text.cjs",
98
+ "import": "./lib/css/parser/text.mjs",
99
+ "types": "./lib/css/parser/text.d.ts"
100
+ },
101
+ "./lib/css/parser/tokens": {
102
+ "require": "./lib/css/parser/tokens.cjs",
103
+ "import": "./lib/css/parser/tokens.mjs",
104
+ "types": "./lib/css/parser/tokens.d.ts"
105
+ },
106
+ "./lib/css/parser/tree": {
107
+ "require": "./lib/css/parser/tree.cjs",
108
+ "import": "./lib/css/parser/tree.mjs",
109
+ "types": "./lib/css/parser/tree.d.ts"
110
+ },
111
+ "./lib/css/parser/types": {
112
+ "require": "./lib/css/parser/types.cjs",
113
+ "import": "./lib/css/parser/types.mjs",
114
+ "types": "./lib/css/parser/types.d.ts"
115
+ },
116
+ "./lib/download/api/cache": {
117
+ "require": "./lib/download/api/cache.cjs",
118
+ "import": "./lib/download/api/cache.mjs",
119
+ "types": "./lib/download/api/cache.d.ts"
120
+ },
121
+ "./lib/download/api/download": {
122
+ "require": "./lib/download/api/download.cjs",
123
+ "import": "./lib/download/api/download.mjs",
124
+ "types": "./lib/download/api/download.d.ts"
125
+ },
126
+ "./lib/download/api": {
127
+ "require": "./lib/download/api/index.cjs",
128
+ "import": "./lib/download/api/index.mjs",
129
+ "types": "./lib/download/api/index.d.ts"
130
+ },
131
+ "./lib/download/api/index": {
132
+ "require": "./lib/download/api/index.cjs",
133
+ "import": "./lib/download/api/index.mjs",
134
+ "types": "./lib/download/api/index.d.ts"
135
+ },
136
+ "./lib/download/api/types": {
137
+ "require": "./lib/download/api/types.cjs",
138
+ "import": "./lib/download/api/types.mjs",
139
+ "types": "./lib/download/api/types.d.ts"
140
+ },
141
+ "./lib/download/git/branch": {
142
+ "require": "./lib/download/git/branch.cjs",
143
+ "import": "./lib/download/git/branch.mjs",
144
+ "types": "./lib/download/git/branch.d.ts"
145
+ },
146
+ "./lib/download/git/hash": {
147
+ "require": "./lib/download/git/hash.cjs",
148
+ "import": "./lib/download/git/hash.mjs",
149
+ "types": "./lib/download/git/hash.d.ts"
150
+ },
151
+ "./lib/download/git": {
152
+ "require": "./lib/download/git/index.cjs",
153
+ "import": "./lib/download/git/index.mjs",
154
+ "types": "./lib/download/git/index.d.ts"
155
+ },
156
+ "./lib/download/git/index": {
157
+ "require": "./lib/download/git/index.cjs",
158
+ "import": "./lib/download/git/index.mjs",
159
+ "types": "./lib/download/git/index.d.ts"
160
+ },
161
+ "./lib/download/git/reset": {
162
+ "require": "./lib/download/git/reset.cjs",
163
+ "import": "./lib/download/git/reset.mjs",
164
+ "types": "./lib/download/git/reset.d.ts"
165
+ },
166
+ "./lib/download/github/hash": {
167
+ "require": "./lib/download/github/hash.cjs",
168
+ "import": "./lib/download/github/hash.mjs",
169
+ "types": "./lib/download/github/hash.d.ts"
170
+ },
171
+ "./lib/download/github": {
172
+ "require": "./lib/download/github/index.cjs",
173
+ "import": "./lib/download/github/index.mjs",
174
+ "types": "./lib/download/github/index.d.ts"
175
+ },
176
+ "./lib/download/github/index": {
177
+ "require": "./lib/download/github/index.cjs",
178
+ "import": "./lib/download/github/index.mjs",
179
+ "types": "./lib/download/github/index.d.ts"
180
+ },
181
+ "./lib/download/github/types": {
182
+ "require": "./lib/download/github/types.cjs",
183
+ "import": "./lib/download/github/types.mjs",
184
+ "types": "./lib/download/github/types.d.ts"
185
+ },
186
+ "./lib/download/gitlab/hash": {
187
+ "require": "./lib/download/gitlab/hash.cjs",
188
+ "import": "./lib/download/gitlab/hash.mjs",
189
+ "types": "./lib/download/gitlab/hash.d.ts"
190
+ },
191
+ "./lib/download/gitlab": {
192
+ "require": "./lib/download/gitlab/index.cjs",
193
+ "import": "./lib/download/gitlab/index.mjs",
194
+ "types": "./lib/download/gitlab/index.d.ts"
195
+ },
196
+ "./lib/download/gitlab/index": {
197
+ "require": "./lib/download/gitlab/index.cjs",
198
+ "import": "./lib/download/gitlab/index.mjs",
199
+ "types": "./lib/download/gitlab/index.d.ts"
200
+ },
201
+ "./lib/download/gitlab/types": {
202
+ "require": "./lib/download/gitlab/types.cjs",
203
+ "import": "./lib/download/gitlab/types.mjs",
204
+ "types": "./lib/download/gitlab/types.d.ts"
205
+ },
206
+ "./lib/download/helpers/untar": {
207
+ "require": "./lib/download/helpers/untar.cjs",
208
+ "import": "./lib/download/helpers/untar.mjs",
209
+ "types": "./lib/download/helpers/untar.d.ts"
210
+ },
211
+ "./lib/download/helpers/unzip": {
212
+ "require": "./lib/download/helpers/unzip.cjs",
213
+ "import": "./lib/download/helpers/unzip.mjs",
214
+ "types": "./lib/download/helpers/unzip.d.ts"
215
+ },
216
+ "./lib/download": {
217
+ "require": "./lib/download/index.cjs",
218
+ "import": "./lib/download/index.mjs",
219
+ "types": "./lib/download/index.d.ts"
220
+ },
221
+ "./lib/download/index": {
222
+ "require": "./lib/download/index.cjs",
223
+ "import": "./lib/download/index.mjs",
224
+ "types": "./lib/download/index.d.ts"
225
+ },
226
+ "./lib/download/npm": {
227
+ "require": "./lib/download/npm/index.cjs",
228
+ "import": "./lib/download/npm/index.mjs",
229
+ "types": "./lib/download/npm/index.d.ts"
230
+ },
231
+ "./lib/download/npm/index": {
232
+ "require": "./lib/download/npm/index.cjs",
233
+ "import": "./lib/download/npm/index.mjs",
234
+ "types": "./lib/download/npm/index.d.ts"
235
+ },
236
+ "./lib/download/npm/types": {
237
+ "require": "./lib/download/npm/types.cjs",
238
+ "import": "./lib/download/npm/types.mjs",
239
+ "types": "./lib/download/npm/types.d.ts"
240
+ },
241
+ "./lib/download/npm/version": {
242
+ "require": "./lib/download/npm/version.cjs",
243
+ "import": "./lib/download/npm/version.mjs",
244
+ "types": "./lib/download/npm/version.d.ts"
245
+ },
246
+ "./lib/download/types/modified": {
247
+ "require": "./lib/download/types/modified.cjs",
248
+ "import": "./lib/download/types/modified.mjs",
249
+ "types": "./lib/download/types/modified.d.ts"
250
+ },
251
+ "./lib/download/types/sources": {
252
+ "require": "./lib/download/types/sources.cjs",
253
+ "import": "./lib/download/types/sources.mjs",
254
+ "types": "./lib/download/types/sources.d.ts"
255
+ },
256
+ "./lib/export/directory": {
257
+ "require": "./lib/export/directory.cjs",
258
+ "import": "./lib/export/directory.mjs",
259
+ "types": "./lib/export/directory.d.ts"
260
+ },
261
+ "./lib/export/helpers/custom-files": {
262
+ "require": "./lib/export/helpers/custom-files.cjs",
263
+ "import": "./lib/export/helpers/custom-files.mjs",
264
+ "types": "./lib/export/helpers/custom-files.d.ts"
265
+ },
266
+ "./lib/export/helpers/prepare": {
267
+ "require": "./lib/export/helpers/prepare.cjs",
268
+ "import": "./lib/export/helpers/prepare.mjs",
269
+ "types": "./lib/export/helpers/prepare.d.ts"
270
+ },
271
+ "./lib/export/helpers/types-version": {
272
+ "require": "./lib/export/helpers/types-version.cjs",
273
+ "import": "./lib/export/helpers/types-version.mjs",
274
+ "types": "./lib/export/helpers/types-version.d.ts"
275
+ },
276
+ "./lib/export/icon-package": {
277
+ "require": "./lib/export/icon-package.cjs",
278
+ "import": "./lib/export/icon-package.mjs",
279
+ "types": "./lib/export/icon-package.d.ts"
280
+ },
281
+ "./lib/export/json-package": {
282
+ "require": "./lib/export/json-package.cjs",
283
+ "import": "./lib/export/json-package.mjs",
284
+ "types": "./lib/export/json-package.d.ts"
285
+ },
286
+ "./lib/icon-set": {
287
+ "require": "./lib/icon-set/index.cjs",
288
+ "import": "./lib/icon-set/index.mjs",
289
+ "types": "./lib/icon-set/index.d.ts"
290
+ },
291
+ "./lib/icon-set/index": {
292
+ "require": "./lib/icon-set/index.cjs",
293
+ "import": "./lib/icon-set/index.mjs",
294
+ "types": "./lib/icon-set/index.d.ts"
295
+ },
296
+ "./lib/icon-set/match": {
297
+ "require": "./lib/icon-set/match.cjs",
298
+ "import": "./lib/icon-set/match.mjs",
299
+ "types": "./lib/icon-set/match.d.ts"
300
+ },
301
+ "./lib/icon-set/merge": {
302
+ "require": "./lib/icon-set/merge.cjs",
303
+ "import": "./lib/icon-set/merge.mjs",
304
+ "types": "./lib/icon-set/merge.d.ts"
305
+ },
306
+ "./lib/icon-set/modified": {
307
+ "require": "./lib/icon-set/modified.cjs",
308
+ "import": "./lib/icon-set/modified.mjs",
309
+ "types": "./lib/icon-set/modified.d.ts"
310
+ },
311
+ "./lib/icon-set/props": {
312
+ "require": "./lib/icon-set/props.cjs",
313
+ "import": "./lib/icon-set/props.mjs",
314
+ "types": "./lib/icon-set/props.d.ts"
315
+ },
316
+ "./lib/icon-set/tags": {
317
+ "require": "./lib/icon-set/tags.cjs",
318
+ "import": "./lib/icon-set/tags.mjs",
319
+ "types": "./lib/icon-set/tags.d.ts"
320
+ },
321
+ "./lib/icon-set/types": {
322
+ "require": "./lib/icon-set/types.cjs",
323
+ "import": "./lib/icon-set/types.mjs",
324
+ "types": "./lib/icon-set/types.d.ts"
325
+ },
326
+ "./lib/import/directory": {
327
+ "require": "./lib/import/directory.cjs",
328
+ "import": "./lib/import/directory.mjs",
329
+ "types": "./lib/import/directory.d.ts"
330
+ },
331
+ "./lib/import/figma": {
332
+ "require": "./lib/import/figma/index.cjs",
333
+ "import": "./lib/import/figma/index.mjs",
334
+ "types": "./lib/import/figma/index.d.ts"
335
+ },
336
+ "./lib/import/figma/index": {
337
+ "require": "./lib/import/figma/index.cjs",
338
+ "import": "./lib/import/figma/index.mjs",
339
+ "types": "./lib/import/figma/index.d.ts"
340
+ },
341
+ "./lib/import/figma/nodes": {
342
+ "require": "./lib/import/figma/nodes.cjs",
343
+ "import": "./lib/import/figma/nodes.mjs",
344
+ "types": "./lib/import/figma/nodes.d.ts"
345
+ },
346
+ "./lib/import/figma/query": {
347
+ "require": "./lib/import/figma/query.cjs",
348
+ "import": "./lib/import/figma/query.mjs",
349
+ "types": "./lib/import/figma/query.d.ts"
350
+ },
351
+ "./lib/import/figma/types/api": {
352
+ "require": "./lib/import/figma/types/api.cjs",
353
+ "import": "./lib/import/figma/types/api.mjs",
354
+ "types": "./lib/import/figma/types/api.d.ts"
355
+ },
356
+ "./lib/import/figma/types/nodes": {
357
+ "require": "./lib/import/figma/types/nodes.cjs",
358
+ "import": "./lib/import/figma/types/nodes.mjs",
359
+ "types": "./lib/import/figma/types/nodes.d.ts"
360
+ },
361
+ "./lib/import/figma/types/options": {
362
+ "require": "./lib/import/figma/types/options.cjs",
363
+ "import": "./lib/import/figma/types/options.mjs",
364
+ "types": "./lib/import/figma/types/options.d.ts"
365
+ },
366
+ "./lib/import/figma/types/result": {
367
+ "require": "./lib/import/figma/types/result.cjs",
368
+ "import": "./lib/import/figma/types/result.mjs",
369
+ "types": "./lib/import/figma/types/result.d.ts"
370
+ },
371
+ "./lib": {
372
+ "require": "./lib/index.cjs",
373
+ "import": "./lib/index.mjs",
374
+ "types": "./lib/index.d.ts"
375
+ },
376
+ "./lib/index": {
377
+ "require": "./lib/index.cjs",
378
+ "import": "./lib/index.mjs",
379
+ "types": "./lib/index.d.ts"
380
+ },
381
+ "./lib/misc/bump-version": {
382
+ "require": "./lib/misc/bump-version.cjs",
383
+ "import": "./lib/misc/bump-version.mjs",
384
+ "types": "./lib/misc/bump-version.d.ts"
385
+ },
386
+ "./lib/misc/cheerio": {
387
+ "require": "./lib/misc/cheerio.cjs",
388
+ "import": "./lib/misc/cheerio.mjs",
389
+ "types": "./lib/misc/cheerio.d.ts"
390
+ },
391
+ "./lib/misc/compare-dirs": {
392
+ "require": "./lib/misc/compare-dirs.cjs",
393
+ "import": "./lib/misc/compare-dirs.mjs",
394
+ "types": "./lib/misc/compare-dirs.d.ts"
395
+ },
396
+ "./lib/misc/exec": {
397
+ "require": "./lib/misc/exec.cjs",
398
+ "import": "./lib/misc/exec.mjs",
399
+ "types": "./lib/misc/exec.d.ts"
400
+ },
401
+ "./lib/misc/keyword": {
402
+ "require": "./lib/misc/keyword.cjs",
403
+ "import": "./lib/misc/keyword.mjs",
404
+ "types": "./lib/misc/keyword.d.ts"
405
+ },
406
+ "./lib/misc/scan": {
407
+ "require": "./lib/misc/scan.cjs",
408
+ "import": "./lib/misc/scan.mjs",
409
+ "types": "./lib/misc/scan.d.ts"
410
+ },
411
+ "./lib/misc/write-json": {
412
+ "require": "./lib/misc/write-json.cjs",
413
+ "import": "./lib/misc/write-json.mjs",
414
+ "types": "./lib/misc/write-json.d.ts"
415
+ },
416
+ "./lib/optimise/flags": {
417
+ "require": "./lib/optimise/flags.cjs",
418
+ "import": "./lib/optimise/flags.mjs",
419
+ "types": "./lib/optimise/flags.d.ts"
420
+ },
421
+ "./lib/optimise/global-style": {
422
+ "require": "./lib/optimise/global-style.cjs",
423
+ "import": "./lib/optimise/global-style.mjs",
424
+ "types": "./lib/optimise/global-style.d.ts"
425
+ },
426
+ "./lib/optimise/scale": {
427
+ "require": "./lib/optimise/scale.cjs",
428
+ "import": "./lib/optimise/scale.mjs",
429
+ "types": "./lib/optimise/scale.d.ts"
430
+ },
431
+ "./lib/optimise/svgo": {
432
+ "require": "./lib/optimise/svgo.cjs",
433
+ "import": "./lib/optimise/svgo.mjs",
434
+ "types": "./lib/optimise/svgo.d.ts"
435
+ },
436
+ "./lib/svg/analyse": {
437
+ "require": "./lib/svg/analyse.cjs",
438
+ "import": "./lib/svg/analyse.mjs",
439
+ "types": "./lib/svg/analyse.d.ts"
440
+ },
441
+ "./lib/svg/analyse/error": {
442
+ "require": "./lib/svg/analyse/error.cjs",
443
+ "import": "./lib/svg/analyse/error.mjs",
444
+ "types": "./lib/svg/analyse/error.d.ts"
445
+ },
446
+ "./lib/svg/analyse/types": {
447
+ "require": "./lib/svg/analyse/types.cjs",
448
+ "import": "./lib/svg/analyse/types.mjs",
449
+ "types": "./lib/svg/analyse/types.d.ts"
450
+ },
451
+ "./lib/svg/cleanup": {
452
+ "require": "./lib/svg/cleanup.cjs",
453
+ "import": "./lib/svg/cleanup.mjs",
454
+ "types": "./lib/svg/cleanup.d.ts"
455
+ },
456
+ "./lib/svg/cleanup/attribs": {
457
+ "require": "./lib/svg/cleanup/attribs.cjs",
458
+ "import": "./lib/svg/cleanup/attribs.mjs",
459
+ "types": "./lib/svg/cleanup/attribs.d.ts"
460
+ },
461
+ "./lib/svg/cleanup/bad-tags": {
462
+ "require": "./lib/svg/cleanup/bad-tags.cjs",
463
+ "import": "./lib/svg/cleanup/bad-tags.mjs",
464
+ "types": "./lib/svg/cleanup/bad-tags.d.ts"
465
+ },
466
+ "./lib/svg/cleanup/inline-style": {
467
+ "require": "./lib/svg/cleanup/inline-style.cjs",
468
+ "import": "./lib/svg/cleanup/inline-style.mjs",
469
+ "types": "./lib/svg/cleanup/inline-style.d.ts"
470
+ },
471
+ "./lib/svg/cleanup/root-style": {
472
+ "require": "./lib/svg/cleanup/root-style.cjs",
473
+ "import": "./lib/svg/cleanup/root-style.mjs",
474
+ "types": "./lib/svg/cleanup/root-style.d.ts"
475
+ },
476
+ "./lib/svg/cleanup/root-svg": {
477
+ "require": "./lib/svg/cleanup/root-svg.cjs",
478
+ "import": "./lib/svg/cleanup/root-svg.mjs",
479
+ "types": "./lib/svg/cleanup/root-svg.d.ts"
480
+ },
481
+ "./lib/svg/cleanup/svgo-style": {
482
+ "require": "./lib/svg/cleanup/svgo-style.cjs",
483
+ "import": "./lib/svg/cleanup/svgo-style.mjs",
484
+ "types": "./lib/svg/cleanup/svgo-style.d.ts"
485
+ },
486
+ "./lib/svg/data/attributes": {
487
+ "require": "./lib/svg/data/attributes.cjs",
488
+ "import": "./lib/svg/data/attributes.mjs",
489
+ "types": "./lib/svg/data/attributes.d.ts"
490
+ },
491
+ "./lib/svg/data/tags": {
492
+ "require": "./lib/svg/data/tags.cjs",
493
+ "import": "./lib/svg/data/tags.mjs",
494
+ "types": "./lib/svg/data/tags.d.ts"
495
+ },
496
+ "./lib/svg": {
497
+ "require": "./lib/svg/index.cjs",
498
+ "import": "./lib/svg/index.mjs",
499
+ "types": "./lib/svg/index.d.ts"
500
+ },
501
+ "./lib/svg/index": {
502
+ "require": "./lib/svg/index.cjs",
503
+ "import": "./lib/svg/index.mjs",
504
+ "types": "./lib/svg/index.d.ts"
505
+ },
506
+ "./lib/svg/parse": {
507
+ "require": "./lib/svg/parse.cjs",
508
+ "import": "./lib/svg/parse.mjs",
509
+ "types": "./lib/svg/parse.d.ts"
510
+ },
511
+ "./lib/svg/parse-style": {
512
+ "require": "./lib/svg/parse-style.cjs",
513
+ "import": "./lib/svg/parse-style.mjs",
514
+ "types": "./lib/svg/parse-style.d.ts"
515
+ },
516
+ "./lib/tests/load": {
517
+ "require": "./lib/tests/load.cjs",
518
+ "import": "./lib/tests/load.mjs",
519
+ "types": "./lib/tests/load.d.ts"
520
+ }
521
+ },
522
+ "scripts": {
523
+ "clean": "rimraf lib tests-compiled tsconfig.tsbuildinfo",
524
+ "lint": "eslint src/**/*.ts",
525
+ "prebuild": "npm run lint && npm run clean",
526
+ "build": "unbuild",
527
+ "test:jest-cjs": "jest --clearCache --config=jest.config.cjs && jest --runInBand --config=jest.config.cjs",
528
+ "test:jest-esm": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --clearCache --config=jest.config.mjs && cross-env NODE_OPTIONS=--experimental-vm-modules npx jest --runInBand --config=jest.config.mjs",
529
+ "test:jasmine": "cross-env NODE_OPTIONS='--experimental-vm-modules --experimental-json-modules' npx jasmine",
530
+ "test": "npm run test:jest-cjs && npm run test:jest-esm && npm run test:jasmine"
531
+ }
532
+ }