-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
136 lines (136 loc) · 4.34 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "@virtualstate/navigation",
"version": "1.0.1-alpha.206",
"main": "./esnext/index.js",
"module": "./esnext/index.js",
"types": "./esnext/index.d.ts",
"type": "module",
"keywords": [
"app history",
"app-history",
"navigation",
"history",
"ponyfill"
],
"typesVersions": {
"*": {
"*": [
"./esnext/index.d.ts"
],
"routes": [
"./esnext/routes/index.d.ts"
],
"state": [
"./esnext/state/index.d.ts"
],
"polyfill": [
"./esnext/polyfill.d.ts"
],
"polyfill/rollup": [
"./esnext/polyfill.d.ts"
],
"tests": [
"./esnext/tests/index.d.ts"
],
"rollup": [
"./esnext/index.d.ts"
],
"await": [
"./esnext/await/index.d.ts"
],
"dynamic": [
"./esnext/dynamic/index.d.ts"
]
}
},
"exports": {
".": {
"require": "./esnext/rollup.cjs",
"import": "./esnext/index.js",
"module": "./esnext/index.js"
},
"./event-target": "./esnext/event-target/async-event-target.js",
"./event-target/async": "./esnext/event-target/async-event-target.js",
"./event-target/sync": "./esnext/event-target/sync-event-target.js",
"./esnext/polyfill": "./esnext/polyfill.js",
"./esnext/get-polyfill": "./esnext/get-polyfill.js",
"./esnext/apply-polyfill": "./esnext/apply-polyfill.js",
"./esnext/util/serialization": "./esnext/util/serialization.js",
"./polyfill": {
"require": "./esnext/polyfill-rollup.js",
"import": "./esnext/polyfill.js",
"module": "./esnext/polyfill.js"
},
"./polyfill/rollup": "./esnext/polyfill-rollup.js",
"./get-polyfill": "./esnext/get-polyfill.js",
"./apply-polyfill": "./esnext/apply-polyfill.js",
"./routes": "./esnext/routes/index.js",
"./state": "./esnext/state/index.js",
"./await": "./esnext/await/index.js",
"./dynamic": "./esnext/dynamic/index.js",
"./rollup": {
"require": "./esnext/rollup.cjs",
"import": "./esnext/rollup.js"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/virtualstate/navigation.git"
},
"bugs": {
"url": "https://github.com/virtualstate/navigation/issues"
},
"homepage": "https://github.com/virtualstate/navigation#readme",
"author": "Fabian Cook <hello@fabiancook.dev>",
"license": "MIT",
"dependencies": {
"@virtualstate/composite-key": "^1.0.0"
},
"devDependencies": {
"@babel/cli": "^7.15.4",
"@babel/core": "^7.15.4",
"@babel/preset-env": "^7.15.4",
"@opennetwork/http-representation": "^3.0.0",
"@rollup/plugin-node-resolve": "^13.1.1",
"@rollup/plugin-typescript": "^8.3.0",
"@types/chance": "^1.1.3",
"@types/mkdirp": "^1.0.2",
"@types/node": "^18.14.1",
"@types/rimraf": "^3.0.2",
"@types/whatwg-url": "^8.2.1",
"@virtualstate/focus": "^1.4.9",
"@virtualstate/kdl": "^1.0.1-alpha.32",
"@virtualstate/promise": "^1.3.4",
"@virtualstate/union": "^2.48.1",
"c8": "^7.11.3",
"chance": "^1.1.8",
"cheerio": "^1.0.0-rc.10",
"core-js": "^3.17.2",
"dom-lite": "^20.2.0",
"filehound": "^1.17.4",
"mkdirp": "^1.0.4",
"playwright": "^1.25.2",
"rimraf": "^3.0.2",
"rollup": "^2.61.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-ignore": "^1.0.10",
"ts-node": "^10.2.1",
"typescript": "^5.4.5",
"urlpattern-polyfill": "^8.0.2",
"v8-to-istanbul": "^8.1.0",
"wpt": "https://github.com/web-platform-tests/wpt.git#b12ab0e21743953c5919daf361455dd5c7df7a43"
},
"scripts": {
"build": "rm -rf esnext && tsc",
"postbuild": "mkdir -p coverage && node scripts/post-build.js",
"generate": "yarn build && node esnext/generate.js",
"test": "yarn build && yarn test:all",
"test:all": "yarn test:node && yarn test:deno && yarn test:bun",
"test:node": "node --enable-source-maps esnext/tests/index.js",
"test:deno": "deno run --allow-read --allow-net --import-map=import-map-deno.json esnext/tests/index.js",
"test:bun": "bun esnext/tests/index.js",
"test:deno:r": "yarn build && deno run -r --allow-read --allow-net --import-map=import-map-deno.json esnext/tests/index.js",
"test:inspect": "yarn build && node --enable-source-maps --inspect-brk esnext/tests/index.js",
"coverage": "yarn build && c8 node esnext/tests/index.js && yarn postbuild"
}
}