-
Notifications
You must be signed in to change notification settings - Fork 4.7k
/
package.json
94 lines (94 loc) · 3.1 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
{
"name": "@tarojs/components",
"version": "4.0.0-beta.44",
"description": "Taro 组件库",
"browser": "dist/index.js",
"main:h5": "dist/index.js",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "types/index.d.ts",
"sideEffects": [
"*.scss",
"*.css"
],
"files": [
"dist",
"lib",
"loader",
"mini",
"types",
"virtual-list",
"vue3.d.ts"
],
"collection": "dist/collection/collection-manifest.json",
"collection:main": "dist/collection/index.js",
"scripts": {
"prepare": "run-p generate:*",
"prebuild": "run-p generate:*",
"build": "cross-env NODE_ENV=production run-s build:components build:library",
"build:components": "stencil build",
"build:library": "pnpm --filter @tarojs/components-library-react --filter @tarojs/components-library-vue2 --filter @tarojs/components-library-vue3 run build:ci",
"dev:components": "cross-env NODE_ENV=development pnpm run build:components --watch",
"dev:library-react": "cross-env NODE_ENV=development pnpm --filter @tarojs/components-library-react run dev",
"dev:library-vue2": "cross-env NODE_ENV=development pnpm --filter @tarojs/components-library-vue2 run dev",
"dev:library-vue3": "cross-env NODE_ENV=development pnpm --filter @tarojs/components-library-vue3 run dev",
"generate:lib": "mkdirp lib",
"generate:stencil-config": "esbuild ./scripts/stencil/stencil.config.ts --external:lightningcss --bundle --platform=node --outfile=stencil.config.js",
"sync:types": "pnpm run tsx --files scripts/json-schema-to-types.ts",
"test": "cross-env NODE_ENV=test stencil test --spec --e2e",
"test:ci": "pnpm test -- --ci -i --coverage --silent --no-build",
"test:coverage": "pnpm test -- --ci --screenshot --coverage",
"test:watch": "pnpm test -- --screenshot --watch",
"tsx": "ts-node --skipIgnore"
},
"repository": {
"type": "git",
"url": "git+https://github.com/NervJS/taro.git"
},
"keywords": [],
"author": "",
"license": "MIT",
"dependencies": {
"@stencil/core": "^2.22.2",
"@tarojs/components-advanced": "workspace:*",
"@tarojs/taro": "workspace:*",
"classnames": "^2.2.5",
"hls.js": "^1.1.5",
"resolve-pathname": "^3.0.0",
"tslib": "^2.6.2",
"swiper": "6.8.0"
},
"devDependencies": {
"@babel/generator": "^7.21.4",
"@babel/parser": "^7.23.0",
"@babel/traverse": "^7.21.4",
"@babel/types": "^7.23.0",
"@stencil/react-output-target": "0.4.0",
"@stencil/vue-output-target": "0.7.0",
"@types/jest": "^27.4.1",
"change-case": "^4.1.2",
"csstype": "^3.1.1",
"esbuild": "~0.19.5",
"jquery": "^3.4.1",
"lightningcss": "^1.22.1",
"lodash": "^4.17.21",
"miniapp-types": "1.6.0",
"puppeteer": "^19.2.0",
"rollup": "^3.8.1",
"rollup-plugin-node-externals": "^5.0.0",
"sass": "^1.58.3",
"stencil-vue2-output-target": "0.0.4",
"ts-node": "^10.9.1",
"tsconfig-paths": "^3.14.1",
"typescript": "^5.3.3",
"mkdirp": "^1.0.4"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
},
"vue": {
"optional": true
}
}
}