1 | {
|
2 | "name": "@tarojs/components",
|
3 | "version": "4.0.6",
|
4 | "description": "Taro 组件库",
|
5 | "browser": "dist/index.js",
|
6 | "main:h5": "dist/index.js",
|
7 | "main": "dist/index.js",
|
8 | "module": "dist/index.js",
|
9 | "types": "types/index.d.ts",
|
10 | "sideEffects": [
|
11 | "*.scss",
|
12 | "*.css"
|
13 | ],
|
14 | "files": [
|
15 | "dist",
|
16 | "lib",
|
17 | "loader",
|
18 | "mini",
|
19 | "types",
|
20 | "virtual-list",
|
21 | "vue3.d.ts",
|
22 | "global.css"
|
23 | ],
|
24 | "collection": "dist/collection/collection-manifest.json",
|
25 | "collection:main": "dist/collection/index.js",
|
26 | "repository": {
|
27 | "type": "git",
|
28 | "url": "git+https://github.com/NervJS/taro.git"
|
29 | },
|
30 | "keywords": [],
|
31 | "author": "",
|
32 | "license": "MIT",
|
33 | "engines": {
|
34 | "node": ">= 18"
|
35 | },
|
36 | "dependencies": {
|
37 | "@stencil/core": "2.22.3",
|
38 | "hammerjs": "^2.0.8",
|
39 | "classnames": "^2.2.5",
|
40 | "hls.js": "^1.1.5",
|
41 | "resolve-pathname": "^3.0.0",
|
42 | "swiper": "11.1.0",
|
43 | "tslib": "^2.6.2",
|
44 | "@tarojs/runtime": "4.0.6",
|
45 | "@tarojs/components-advanced": "4.0.6",
|
46 | "@tarojs/taro": "4.0.6"
|
47 | },
|
48 | "devDependencies": {
|
49 | "@babel/generator": "^7.21.4",
|
50 | "@babel/parser": "^7.23.0",
|
51 | "@babel/traverse": "^7.21.4",
|
52 | "@babel/types": "^7.23.0",
|
53 | "@stencil/react-output-target": "0.4.0",
|
54 | "@stencil/vue-output-target": "0.7.0",
|
55 | "@types/jest": "^27.4.1",
|
56 | "change-case": "^4.1.2",
|
57 | "csstype": "^3.1.1",
|
58 | "esbuild": "~0.21.0",
|
59 | "lightningcss": "^1.22.1",
|
60 | "lodash": "^4.17.21",
|
61 | "miniapp-types": "1.6.0",
|
62 | "mkdirp": "^1.0.4",
|
63 | "puppeteer": "^19.2.0",
|
64 | "sass": "^1.58.3",
|
65 | "tsconfig-paths": "^3.14.1",
|
66 | "rollup-plugin-node-externals": "^5.0.0",
|
67 | "rollup": "^3.29.4",
|
68 | "jest": "27.5.1",
|
69 | "jest-cli": "27.5.1",
|
70 | "jest-runner": "27.5.1",
|
71 | "jest-environment-node": "27.5.1",
|
72 | "@tarojs/helper": "4.0.6"
|
73 | },
|
74 | "peerDependenciesMeta": {
|
75 | "@types/react": {
|
76 | "optional": true
|
77 | },
|
78 | "vue": {
|
79 | "optional": true
|
80 | }
|
81 | },
|
82 | "scripts": {
|
83 | "prod": "pnpm run build:ci",
|
84 | "prebuild": "run-p generate:*",
|
85 | "prebuild:ci": "run-p generate:*",
|
86 | "build:ci": "cross-env NODE_ENV=production run-s build:components",
|
87 | "build": "cross-env NODE_ENV=production run-s build:components build:library",
|
88 | "build:components": "stencil build",
|
89 | "build:library": "pnpm --filter @tarojs/components-library-react --filter @tarojs/components-library-vue3 --filter @tarojs/components-library-solid run build",
|
90 | "dev:components": "cross-env NODE_ENV=development pnpm run build:components --watch",
|
91 | "dev:library-react": "cross-env NODE_ENV=development pnpm --filter @tarojs/components-library-react run dev",
|
92 | "dev:library-vue3": "cross-env NODE_ENV=development pnpm --filter @tarojs/components-library-vue3 run dev",
|
93 | "dev:library-solid": "cross-env NODE_ENV=development pnpm --filter @tarojs/components-library-solid run dev",
|
94 | "generate:lib": "mkdirp lib",
|
95 | "generate:stencil-config": "esbuild ./scripts/stencil/stencil.config.ts --external:lightningcss --bundle --platform=node --outfile=stencil.config.js",
|
96 | "sync:types": "pnpm run tsx --files scripts/json-schema-to-types.ts",
|
97 | "test": "cross-env NODE_ENV=test stencil test --spec --e2e",
|
98 | "test:ci": "pnpm test -- --ci -i --coverage --silent --no-build",
|
99 | "test:coverage": "pnpm test -- --ci --screenshot --coverage",
|
100 | "test:watch": "pnpm test -- --screenshot --watch",
|
101 | "tsx": "ts-node --skipIgnore"
|
102 | }
|
103 | } |
\ | No newline at end of file |