-
Notifications
You must be signed in to change notification settings - Fork 410
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 2.54 KB
/
package.json
File metadata and controls
101 lines (101 loc) · 2.54 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "@modern-js/plugin-ssg",
"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/cli/plugin-ssg"
},
"license": "MIT",
"keywords": [
"react",
"framework",
"modern",
"modern.js"
],
"version": "2.68.1",
"jsnext:source": "./src/index.ts",
"types": "./src/index.ts",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.mjs",
"typesVersions": {
"*": {
".": [
"./dist/types/index.d.ts"
],
"types": [
"./dist/types/types.d.ts"
]
}
},
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"jsnext:source": "./src/index.ts",
"node": {
"import": "./dist/esm-node/index.mjs",
"require": "./dist/cjs/index.js"
},
"default": "./dist/esm/index.mjs"
},
"./cli": {
"types": "./dist/types/index.d.ts",
"jsnext:source": "./src/index.ts",
"node": {
"import": "./dist/esm-node/index.mjs",
"require": "./dist/cjs/index.js"
},
"default": "./dist/esm/index.mjs"
},
"./types": {
"types": "./dist/types/types.d.ts",
"jsnext:source": "./src/types.ts",
"node": {
"import": "./dist/esm-node/types.mjs",
"require": "./dist/cjs/types.js"
},
"default": "./dist/esm/types.mjs"
}
},
"scripts": {
"prepublishOnly": "only-allow-pnpm",
"build": "rslib build",
"dev": "rslib build --watch",
"test": "rstest --passWithNoTests"
},
"dependencies": {
"@modern-js/prod-server": "workspace:*",
"@modern-js/utils": "workspace:*",
"@swc/helpers": "^0.5.17",
"node-mocks-http": "^1.17.2",
"normalize-path": "3.0.0"
},
"peerDependencies": {
"react-router-dom": ">=7.0.0"
},
"peerDependenciesMeta": {
"react-router-dom": {
"optional": true
}
},
"devDependencies": {
"@modern-js/app-tools": "workspace:*",
"@modern-js/types": "workspace:*",
"@scripts/rstest-config": "workspace:*",
"@rslib/core": "0.18.2",
"@modern-js/rslib": "workspace:*",
"@types/node": "^20",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-router-dom": "^7.6.0",
"typescript": "^5"
},
"sideEffects": false,
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public",
"types": "./dist/types/index.d.ts"
}
}