-
Notifications
You must be signed in to change notification settings - Fork 410
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.14 KB
/
package.json
File metadata and controls
87 lines (87 loc) · 2.14 KB
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
{
"name": "@modern-js/create-request",
"description": "A Progressive React Framework for modern web development.",
"homepage": "https://modernjs.dev",
"bugs": "https://github.com/web-infra-dev/modern.js/issues",
"repository": {
"type": "git",
"url": "https://github.com/web-infra-dev/modern.js",
"directory": "packages/server/create-request"
},
"license": "MIT",
"keywords": [
"react",
"framework",
"modern",
"modern.js"
],
"version": "3.1.4",
"modern:source": "./src/node.ts",
"types": "./src/browser.ts",
"main": "./dist/cjs/node.js",
"files": [
"dist",
"hook.d.ts"
],
"exports": {
".": {
"types": "./dist/types/browser.d.ts",
"modern:source": "./src/browser.ts",
"node": "./dist/esm/node.mjs",
"default": "./dist/esm/browser.mjs"
},
"./client": {
"types": "./dist/types/browser.d.ts",
"modern:source": "./src/browser.ts",
"default": "./dist/esm/browser.mjs"
},
"./server": {
"types": "./dist/types/node.d.ts",
"modern:source": "./src/node.ts",
"default": "./dist/esm/node.mjs"
}
},
"typesVersions": {
"*": {
".": [
"./dist/types/browser.d.ts"
],
"client": [
"./dist/types/browser.d.ts"
],
"server": [
"./dist/types/node.d.ts"
]
}
},
"scripts": {
"prepublishOnly": "only-allow-pnpm",
"dev": "rslib build --watch",
"build": "rslib build",
"test": "rstest --passWithNoTests"
},
"dependencies": {
"@modern-js/runtime-utils": "workspace:*",
"@modern-js/utils": "workspace:*",
"@swc/helpers": "^0.5.17",
"encoding": "^0.1.13",
"path-to-regexp": "^6.3.0",
"qs": "^6.15.1"
},
"devDependencies": {
"@modern-js/rslib": "workspace:*",
"@modern-js/types": "workspace:*",
"@rslib/core": "0.21.0",
"@scripts/rstest-config": "workspace:*",
"@types/node": "^20",
"@types/qs": "^6.15.0",
"nock": "^14.0.12",
"typescript": "^5"
},
"sideEffects": false,
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public",
"types": "./dist/types/browser.d.ts"
}
}