UNPKG

tdesign-vue

Version:
218 lines (217 loc) 7.18 kB
{ "name": "tdesign-vue", "purename": "tdesign", "version": "1.12.1", "description": "tdesign-vue", "title": "tdesign-vue", "keywords": [ "vue", "tdesign" ], "main": "cjs/index-lib.js", "module": "es/index.js", "typings": "es/index.d.ts", "unpkg": "dist/tdesign.min.js", "jsdelivr": "dist/tdesign.min.js", "files": [ "es", "esm", "cjs", "lib", "dist", "LICENSE", "README.md", "CHANGELOG.md", "helper" ], "sideEffects": [ "*.vue", "dist/*", "site/*", "examples/*", "es/**/style/**", "esm/**/style/**" ], "publishConfig": { "registry": "https://registry.npmjs.org/" }, "repository": { "type": "git", "url": "git+https://github.com/Tencent/tdesign-vue.git" }, "homepage": "https://github.com/Tencent/tdesign-vue/blob/develop/README.md", "bugs": { "url": "https://github.com/Tencent/tdesign-vue/issues" }, "scripts": { "update:coverage-badge": "node script/test/generate-coverage.js", "start": "cd site && npm run dev", "dev": "cd site && npm run dev", "site": "cd site && npm run build", "site:prerender": "node script/prerender.mjs", "site:preview": "cd site && npm run build:preview", "site:intranet": "cd site && npm run build:intranet", "postsite:preview": "cp _site/index.html _site/404.html", "prebuild": "rimraf es/* esm/* lib/* cjs/* dist/* --glob", "build": "cross-env NODE_ENV=production rollup -c script/rollup.config.js && npm run build:tsc", "build:tsc": "run-p build:tsc-*", "build:tsc-es": "tsc --emitDeclarationOnly -d --outDir es/", "build:tsc-esm": "tsc --emitDeclarationOnly -d --outDir esm/", "build:tsc-lib": " tsc --emitDeclarationOnly -d --outDir lib/", "build:tsc-cjs": " tsc --emitDeclarationOnly -d --outDir cjs/", "lint:fix": "eslint --fix", "lint": "npm run lint:tsc && eslint --ext .vue,.js,.ts,.tsx ./ --max-warnings 0", "lint:tsc": "tsc --emitDeclarationOnly", "generate:usage": "node script/generate-usage/index.js", "generate:coverage-badge": "npm run test:coverage && node script/test/generate-coverage.js", "test": "npm run test:unit && npm run test:snap", "test:unit": "vitest run --config vitest.config.js", "test:update": "vitest run -u && npm run test:snap-update", "test:unit-dev": "vitest", "test:unit-gui": "vitest --ui", "test:coverage": "vitest run --coverage", "test:snap": "cross-env NODE_ENV=test-snap vitest run", "test:snap-update": "cross-env NODE_ENV=test-snap vitest run -u", "test:e2e": "cypress run --config-file script/test/cypress.json", "test:e2e-gui": "cypress open --config-file script/test/cypress.json", "test:build-files": "node script/test/build-files.js", "init": "node script/init", "changelog": "node script/generate-changelog.js", "robot": "publish-cli robot-msg", "prepare": "husky install" }, "author": "tdesign", "license": "MIT", "dependencies": { "@babel/runtime": "^7.14.8", "@popperjs/core": "^2.4.0", "@types/clipboard": "^2.0.1", "@types/raf": "^3.4.0", "@types/sortablejs": "^1.10.7", "@types/tinycolor2": "^1.4.3", "@types/validator": "^13.1.3", "@vue/composition-api": "^1.4.1", "clipboard": "^2.0.8", "dayjs": "1.11.10", "lodash-es": "^4.17.21", "mitt": "^3.0.0", "raf": "^3.4.1", "sortablejs": "^1.15.0", "tdesign-icons-vue": "^0.3.5", "tinycolor2": "^1.4.2", "validator": "^13.5.1" }, "peerDependencies": { "vue": "~2.6.10" }, "devDependencies": { "@babel/cli": "^7.5.5", "@babel/core": "~7.22.5", "@babel/eslint-parser": "~7.23.10", "@babel/helper-module-imports": "7.24.7", "@babel/plugin-transform-class-properties": "^7.22.3", "@babel/plugin-transform-modules-commonjs": "^7.9.6", "@babel/plugin-transform-object-assign": "^7.2.0", "@babel/plugin-transform-runtime": "^7.14.5", "@babel/preset-env": "^7.5.5", "@commitlint/cli": "~17.6.6", "@commitlint/config-conventional": "~17.6.5", "@rollup/plugin-babel": "^5.1.0", "@rollup/plugin-commonjs": "^18.0.0", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^15.3.0", "@rollup/plugin-replace": "^2.4.2", "@rollup/plugin-url": "^5.0.1", "@testing-library/dom": "^10.2.0", "@types/estree": "0.0.50", "@types/lodash-es": "^4.17.12", "@types/node": "^24.0.0", "@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/experimental-utils": "^5.4.0", "@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/typescript-estree": "^6.16.0", "@vitest/coverage-v8": "^2.1.9", "@vitest/ui": "^2.1.9", "@vue/babel-helper-vue-jsx-merge-props": "^1.2.1", "@vue/babel-preset-jsx": "^1.2.4", "@vue/eslint-config-typescript": "^9.1.0", "@vue/test-utils": "^1.3.0", "autoprefixer": "^10.4.19", "babel-core": "^7.0.0-bridge.0", "babel-polyfill": "^6.26.0", "c8": "^7.12.0", "camelcase": "~6.3.0", "cli-color": "^2.0.0", "commitizen": "^4.0.3", "cross-env": "^7.0.2", "cssstyle": "4.3.1", "cypress": "^13.12.0", "cz-conventional-changelog": "^3.3.0", "dom-parser": "^0.1.6", "esbuild": "^0.14.9", "eslint": "^7.1.0", "eslint-config-airbnb-base": "^14.2.1", "eslint-plugin-cypress": "^2.12.1", "eslint-plugin-import": "^2.23.4", "eslint-plugin-vue": "^8.1.1", "fs-extra": "^11.1.1", "glob": "^8.0.3", "gray-matter": "^4.0.3", "husky": "^7.0.4", "hyphenate": "^0.2.4", "jsdom": "^25.0.0", "less": "^4.1.2", "lint-staged": "^13.2.2", "mockdate": "^3.0.2", "msw": "^1.0.0", "npm-run-all": "^4.1.5", "playwright": "^1.19.1", "postcss": "^8.3.11", "prettier": "^2.6.2", "prismjs": "^1.25.0", "rimraf": "^5.0.1", "rollup": "^2.53.2", "rollup-plugin-analyzer": "^3.3.0", "rollup-plugin-esbuild": "^4.8.2", "rollup-plugin-ignore-import": "^1.3.2", "rollup-plugin-multi-input": "^1.1.1", "rollup-plugin-postcss": "^4.0.1", "rollup-plugin-static-import": "^1.0.0", "rollup-plugin-styles": "^4.0.0", "rollup-plugin-terser": "~7.0.2", "rollup-plugin-vue": "^5.1.9", "tdesign-icons-view": "^0.3.6", "tdesign-publish-cli": "^0.0.12", "tdesign-site-components": "^0.16.0", "tdesign-theme-generator": "^1.0.0", "typescript": "~4.8.4", "unplugin-vue2-script-setup": "^0.10.2", "vite": "^4.5.10", "vite-plugin-tdoc": "^2.0.2", "vite-plugin-vue2": "^2.0.3", "vitest": "^2.1.9", "vitest-fetch-mock": "^0.2.1", "vue": "~2.6.14", "vue-class-component": "^7.2.3", "vue-router": "^3.5.3", "vue-server-renderer": "~2.6.14", "vue-template-compiler": "~2.6.14", "workbox-precaching": "^7.0.0" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "lint-staged": { "*.{vue,js,jsx,ts,tsx}": [ "prettier --write", "npm run lint:fix" ] }, "vetur": { "tags": "helper/tags.json", "attributes": "helper/attributes.json" }, "web-types": "helper/web-types.json" }