-
Notifications
You must be signed in to change notification settings - Fork 3.6k
/
package.json
119 lines (119 loc) · 4.33 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
{
"private": true,
"version": "3.0.0-alpha-4030120240925001",
"workspaces": [
"packages/*"
],
"scripts": {
"all": "npm run lint && npm run format && node scripts/sync.js && npm run build && npm run test",
"clean": "rm -rf node_modules **/*/node_modules && pnpm install",
"build": "node scripts/build.js",
"build:h5": "node scripts/build.js uni-app uts uni-uts-v1 uni-app-uvue uni-cli-shared uni-h5 uni-i18n uni-stat uni-shared uni-h5-vite vite-plugin-uni",
"build:app": "node scripts/build.js uni-app-plus uni-app-vite uni-app-vue uni-app-uvue",
"build:mp": "node scripts/build.js uni-mp-vue uni-mp-vite uni-mp-compiler uni-mp-alipay uni-mp-baidu uni-mp-kuaishou uni-mp-lark uni-mp-qq uni-mp-toutiao uni-mp-weixin uni-mp-xhs uni-mp-jd uni-quickapp-webview",
"size": "npm run build size-check",
"lint": "eslint packages/*/src/**/*.ts packages/*/__tests__/**/*.ts",
"format": "prettier --write --parser typescript \"packages/**/*.ts?(x)\"",
"test": "tsc -p ./packages/uni-uts-v1/__tests__/tsc/tsconfig.json && tsc -p ./test-dts/tsconfig.json && node scripts/test.js && jest",
"test-nvue-style": "jest --testMatch \"**/uni-nvue-styler/__tests__/*.spec.ts\" --watch",
"test-dts": "tsc -p ./test-dts/tsconfig.json && tsc -p ./test-dts/tsconfig.build.json",
"preinstall": "npx only-allow pnpm",
"postinstall": "simple-git-hooks",
"e2e:ssr:dev": "cd packages/playground/ssr && npm run dev:ssr",
"e2e:ssr:open": "cd packages/playground/ssr && npx cypress open",
"release": "node scripts/release.js"
},
"types": "test-dts/index.d.ts",
"tsd": {
"directory": "test-dts"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged --concurrent false && pnpm run test-dts",
"commit-msg": "node scripts/verifyCommit.js $1"
},
"lint-staged": {
"packages/*/src/**/*.ts?(x)": [
"eslint",
"prettier --parser=typescript --write"
],
"packages/*/__tests__/**/*.ts?(x)": [
"eslint",
"prettier --parser=typescript --write"
]
},
"engines": {
"node": ">=10.0.0"
},
"devDependencies": {
"@babel/core": "^7.23.3",
"@babel/parser": "^7.23.9",
"@babel/preset-env": "^7.20.2",
"@dcloudio/types": "3.4.14",
"@dcloudio/uni-api": "workspace:*",
"@dcloudio/uni-app": "workspace:*",
"@dcloudio/uni-app-x": "^0.7.35",
"@dcloudio/uni-nvue-styler": "workspace:*",
"@jest/types": "^29.0.3",
"@microsoft/api-extractor": "^7.34.5",
"@rollup/plugin-alias": "^4.0.2",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^24.0.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-strip": "^3.0.2",
"@rollup/plugin-terser": "^0.2.1",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^29.2.3",
"@types/node": "^18.16.2",
"@types/react": "^18.2.67",
"@types/sass": "~1.43.1",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"@vitejs/plugin-vue": "^5.0.4",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vue/compiler-sfc": "3.4.21",
"@vue/reactivity": "3.4.21",
"@vue/runtime-core": "3.4.21",
"@vue/runtime-dom": "3.4.21",
"@vue/shared": "3.4.21",
"core-js": "^2.6.12",
"cypress": "^10.7.0",
"dotenv": "^16.4.5",
"enquirer": "^2.3.6",
"eslint": "^8.57.0",
"eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1",
"execa": "^5.1.1",
"fast-glob": "^3.2.11",
"fs-extra": "^10.0.0",
"isbinaryfile": "^5.0.2",
"jest": "^29.3.1",
"jsonc-parser": "^3.2.0",
"lint-staged": "^10.5.3",
"mini-types": "^0.1.7",
"minimist": "^1.2.5",
"miniprogram-api-typings": "^3.9.1",
"picocolors": "^1.0.0",
"prettier": "^2.7.1",
"promise-polyfill": "^8.3.0",
"rollup": "^4.21.2",
"rollup-plugin-jscc": "^2.0.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-typescript2": "^0.29.0",
"semver": "^7.3.5",
"simple-git-hooks": "^2.8.0",
"terser": "^5.4.0",
"ts-jest": "^29.1.0",
"typescript": "5.3.2",
"vite": "5.2.8",
"vue": "3.4.21",
"vue-router": "^4.3.0",
"yorkie": "^2.0.0"
},
"resolutions": {
"@babel/plugin-transform-block-scoping": "7.19.4"
},
"packageManager": "[email protected]",
"name": "uni-app-next"
}