forked from sanyuan0704/island.js
/
package.json
163 lines (163 loc) 路 4.73 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
{
"name": "islandjs",
"version": "0.3.3",
"description": "Vite & Islands architecture SSG framework",
"packageManager": "pnpm@7.9.2",
"type": "module",
"main": "dist/node/index.cjs",
"module": "dist/node/index.js",
"types": "dist/node/index.d.ts",
"bin": {
"island": "./bin/island.js"
},
"exports": {
".": {
"types": "./dist/node/index.d.ts",
"import": "./dist/node/index.js",
"require": "./dist/node/index.cjs"
},
"./dist/*": "./dist/*",
"./package.json": "./package.json",
"./theme": {
"types": "./dist/node/index.d.ts",
"default": "./src/theme-default/index.ts"
}
},
"scripts": {
"pnpm-install": "pnpm install",
"dev": "tsup --watch --format=cjs,esm",
"build": "NODE_ENV=production tsup --format=cjs,esm && tsx scripts/pre-bundle.cts",
"dev:docs": "node ./bin/island docs",
"build:docs": "node ./bin/island build docs && cp -r ./docs/.island/index.html ./docs/.island/dist",
"start:docs": "node ./bin/island start docs",
"lint": "eslint --ext .ts,.tsx,.js,.jsx ./",
"lint:fix": "eslint --fix --ext .js,.jsx,.ts,.tsx --quiet ./",
"test": "vitest run",
"e2e:test": "playwright test",
"e2e:prepare": "tsx ./scripts/prepare-e2e.cts",
"prepublishOnly": "pnpm build",
"release": "release-it",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"inspect": "serve .vite-inspect"
},
"keywords": [
"vite",
"ssg",
"island architecture",
"docs",
"framework"
],
"author": "Sanyuan0704",
"license": "MIT",
"dependencies": {
"@babel/core": "^7.19.0",
"@babel/helper-plugin-utils": "^7.19.0",
"@babel/preset-react": "^7.18.6",
"@mdx-js/mdx": "^2.1.3",
"@mdx-js/react": "^2.1.3",
"@mdx-js/rollup": "2",
"@svgr/core": "6.3.1",
"@unocss/preset-attributify": "^0.45.26",
"@unocss/preset-wind": "^0.45.26",
"@unocss/vite": "^0.45.26",
"@vitejs/plugin-react": "2.0.1",
"acorn": "^8.8.0",
"cac": "6.7.12",
"compression": "^1.7.4",
"copy-to-clipboard": "^3.3.2",
"debug": "^4.3.4",
"esbuild": "0.15.5",
"fast-glob": "3.2.11",
"flexsearch": "0.6.32",
"fs-extra": "10.1.0",
"github-slugger": "^1.4.0",
"hast": "^1.0.0",
"hast-util-from-html": "^1.0.0",
"husky": "^8.0.1",
"lodash-es": "^4.17.21",
"mdast-util-mdxjs-esm": "^1.3.0",
"ora": "^6.1.2",
"picocolors": "^1.0.0",
"polka": "^0.5.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-helmet-async": "^1.3.0",
"react-router-dom": "^6.3.0",
"rehype-autolink-headings": "^6.1.1",
"rehype-external-links": "^2.0.1",
"rehype-highlight": "^5.0.2",
"rehype-slug": "^5.0.1",
"remark-frontmatter": "^4.0.1",
"remark-gfm": "^3.0.1",
"remark-mdx-frontmatter": "^2.0.3",
"sass": "^1.54.5",
"shiki": "^0.11.1",
"simple-git": "^3.14.1",
"sirv": "^2.0.2",
"unified": "^10.1.2",
"unist-util-visit": "^4.1.1",
"unist-util-visit-children": "^2.0.0",
"unocss": "^0.45.26",
"vite": "~3.1.4",
"vite-plugin-inspect": "^0.7.4"
},
"devDependencies": {
"@babel/traverse": "^7.19.0",
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@playwright/test": "^1.26.1",
"@release-it/conventional-changelog": "^5.1.0",
"@types/babel__core": "^7.1.19",
"@types/babel__helper-plugin-utils": "^7.10.0",
"@types/babel__traverse": "^7.18.1",
"@types/compression": "^1.7.2",
"@types/debug": "^4.1.7",
"@types/fs-extra": "^9.0.13",
"@types/github-slugger": "^1.3.0",
"@types/hast": "^2.3.4",
"@types/koa": "^2.13.5",
"@types/koa-router": "^7.4.4",
"@types/lodash-es": "^4.17.6",
"@types/polka": "^0.5.4",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"@types/resolve": "^1.20.2",
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
"commitlint": "^17.1.2",
"conventional-changelog-cli": "^2.2.2",
"es-module-lexer": "^1.0.3",
"eslint": "^8.23.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.1",
"eslint-plugin-react-hooks": "^4.6.0",
"execa": "^6.1.0",
"lint-staged": "^13.0.3",
"pnpm": "7.9.2",
"prettier": "^2.7.1",
"release-it": "^15.4.2",
"resolve": "^1.22.1",
"rollup": "^2.78.1",
"serve": "^14.0.1",
"tsup": "^6.2.3",
"tsx": "^3.8.2",
"typescript": "^4.7.4",
"vitest": "^0.23.1"
},
"files": [
"bin",
"src/runtime",
"src/theme-default",
"dist",
"vendors",
"template.html",
"src/shared/constants",
"src/shared/utils"
],
"lint-staged": {
"**/*.{js,jsx,tsx,ts,json}": [
"eslint --fix"
]
}
}