-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
101 lines (101 loc) · 2.7 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "async-preloader",
"version": "8.0.3",
"description": "Assets preloader using async/await and fetch for usage both in the browser and Node.js.",
"keywords": [
"preloader",
"assets",
"async",
"await",
"typescript",
"ES2017",
"fetch"
],
"homepage": "https://github.com/dmnsgn/async-preloader",
"bugs": "https://github.com/dmnsgn/async-preloader/issues",
"repository": "dmnsgn/async-preloader",
"funding": [
{
"type": "individual",
"url": "https://paypal.me/dmnsgn"
},
{
"type": "individual",
"url": "https://commerce.coinbase.com/checkout/56cbdf28-e323-48d8-9c98-7019e72c97f3"
}
],
"license": "MIT",
"author": "Damien Seguin (https://github.com/dmnsgn)",
"type": "module",
"exports": "./lib/index.js",
"main": "lib/index.js",
"types": "types/index.d.ts",
"scripts": {
"coverage": "nyc report --reporter=text --reporter=html",
"prejest": "npx snowdev install",
"jest": "NODE_OPTIONS=--experimental-vm-modules npx jest test/ --watch --no-cache",
"pretest": "npx snowdev install && npx snowdev build --no-docs --no-lint",
"test": "NODE_OPTIONS=--experimental-vm-modules npx jest test/ --runInBand"
},
"jest": {
"globalSetup": "jest-environment-puppeteer/setup",
"globalTeardown": "<rootDir>/test/global-teardown.js",
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"preset": "ts-jest/presets/js-with-ts-esm",
"resolver": "jest-ts-webcompat-resolver",
"setupFilesAfterEnv": [
"expect-puppeteer"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(ts|js)x?$",
"transform": {
"^.+\\.(t|j)s$": [
"ts-jest",
{
"useESM": true
}
]
}
},
"dependencies": {
"fontfaceobserver-es": "^3.3.3",
"tslib": "^2.6.2"
},
"devDependencies": {
"@types/css-font-loading-module": "^0.0.13",
"@types/expect-puppeteer": "^5.0.6",
"@types/jest": "^29.5.12",
"@types/jest-environment-puppeteer": "^5.0.6",
"@types/node": "^20.12.12",
"@types/puppeteer": "^5.4.7",
"@xmldom/xmldom": "^0.8.10",
"es-module-shims": "^1.10.0",
"jest": "^29.7.0",
"jest-puppeteer": "^10.0.1",
"jest-ts-webcompat-resolver": "^1.0.0",
"mime-types": "^2.1.35",
"nyc": "^15.1.0",
"portfinder": "^1.0.32",
"puppeteer": "^22.8.2",
"puppeteer-to-istanbul": "^1.4.0",
"snowdev": "^2.0.0-alpha.28",
"ts-jest": "^29.1.2",
"typescript": "^5.4.5"
},
"engines": {
"node": ">=20.0.0",
"npm": ">=9.6.4"
},
"jest-puppeteer": {
"launch": {
"headless": "new"
}
},
"snowdev": {
"dependencies": [
"es-module-shims",
"fontfaceobserver-es"
]
}
}