-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
91 lines (91 loc) · 2.81 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
{
"name": "opentiny-cross-framework",
"version": "0.0.1",
"private": true,
"packageManager": "[email protected]",
"description": "Cross-tech stack projects",
"author": "OpenTiny Team",
"license": "MIT",
"repository": {
"type": "git",
"url": "[email protected]:opentiny/cross-framework.git"
},
"bugs": {
"url": "https://github.com/opentiny/cross-framework/issues"
},
"keywords": [
"frontend",
"component-library",
"components",
"vue-components",
"opentiny",
"renderless-components",
"headless-components"
],
"main": "packages/index.js",
"engines": {
"node": ">=18",
"pnpm": ">=9.5"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"prepare": "husky install",
"clean:dependencies": "rm -rf node_modules /**/node_modules",
"// ---------- react 相关脚本命令 ----------": "",
"dev:react": "pnpm create:mapping-react && pnpm build:entry-react && pnpm -C examples/react-docs run dev",
"pub:react": "pnpm --filter=\"./packages/dist-react/**\" publish --no-git-checks --access=public",
"dev:react-site": "pnpm --filter @opentiny/react-site start",
"build:react-site": "pnpm --filter @opentiny/react-site build",
"prettier": "prettier --config .prettierrc --write .",
"// ---------- openinula 相关脚本命令 ----------": "",
"dev:openinula": "pnpm -C examples/openinula-docs run dev",
"// ---------- 预览发布后的solid组件 ----------": "",
"preview:solid": "pnpm -C examples/solid-demo run dev",
"pub:solid": "pnpm --filter=\"./packages/dist-solid/**\" publish --no-git-checks --access=public --registry=https://registry.npmjs.org"
},
"dependencies": {
"fastdom": "1.0.11"
},
"devDependencies": {
"@antfu/eslint-config": "^0.38.6",
"@commitlint/config-conventional": "^18.4.3",
"@types/color": "^3.0.3",
"@types/eslint": "^8.4.10",
"@types/node": "^18.11.18",
"@types/shelljs": "^0.8.12",
"@typescript-eslint/parser": "^6.12.0",
"@volar-plugins/eslint": "^2.0.0",
"@volar-plugins/prettier": "^2.0.0",
"@volar-plugins/prettyhtml": "^2.0.0",
"@vue/tsconfig": "^0.4.0",
"commitlint": "^18.4.3",
"depcheck": "1.4.3",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^5.0.0",
"fast-glob": "^3.2.12",
"fs-extra": "^11.1.0",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"minimist": "^1.2.8",
"prettier": "^3.0.0",
"rimraf": "^3.0.2",
"shelljs": "^0.8.5",
"shx": "^0.3.4",
"typescript": "catalog:",
"vite": "catalog:"
},
"pnpm": {
"overrides": {
"@playwright/test": "1.42.1",
"follow-redirects": "1.14.8",
"regenerator-runtime": "0.13.9",
"tslib": "2.4.0",
"typescript": "catalog:"
}
},
"browserslist": [
"> 1%",
"last 2 versions"
]
}