UNPKG

@tarojs/components

Version:
98 lines 3.24 kB
{ "name": "@tarojs/components", "version": "3.6.37", "description": "Taro 组件库", "browser": "dist/index.js", "main:h5": "dist/index.js", "main": "dist/index.js", "module": "dist/index.cjs.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", "repository": { "type": "git", "url": "git+https://github.com/NervJS/taro.git" }, "keywords": [], "author": "", "license": "MIT", "dependencies": { "@stencil/core": "^2.22.2", "classnames": "^2.2.5", "hammerjs": "^2.0.8", "hls.js": "^1.1.5", "resolve-pathname": "^3.0.0", "swiper": "6.8.0", "tslib": "^2.6.2", "@tarojs/components-advanced": "3.6.37", "@tarojs/taro": "3.6.37" }, "devDependencies": { "@babel/generator": "^7.20.0", "@babel/parser": "^7.20.0", "@babel/traverse": "^7.20.0", "@babel/types": "^7.20.0", "@stencil/react-output-target": "0.4.0", "@stencil/vue-output-target": "0.7.0", "@types/jest": "^27.4.1", "@types/node": "^14.14.31", "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", "mkdirp": "^1.0.4", "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" }, "peerDependenciesMeta": { "@types/react": { "optional": true }, "@types/react-native": { "optional": true }, "vue": { "optional": true } }, "scripts": { "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" } }