naive-ui/package.json
2023-12-14 02:57:40 +08:00

189 lines
6.6 KiB
JSON

{
"name": "naive-ui",
"version": "2.35.0",
"description": "A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast",
"main": "lib/index.js",
"module": "es/index.js",
"types": "es/index.d.ts",
"unpkg": "dist/index.js",
"jsdelivr": "dist/index.js",
"scripts": {
"start": "pnpm run dev",
"dev": "pnpm run clean && pnpm run gen-version && pnpm run gen-volar-dts && NODE_ENV=development vite",
"build:package": "pnpm run gen-version && pnpm run clean && pnpm run gen-volar-dts && tsc -b --force tsconfig.esm.json && node scripts/pre-build/pre-cjs-build.js && tsc -b --force tsconfig.cjs.json && rollup -c && pnpm run test:umd && node scripts/post-build && rimraf {es,lib}/*.tsbuildinfo",
"build:site": "bash ./scripts/pre-build-site/pre-build-site.sh && NODE_ENV=production NODE_OPTIONS=--max-old-space-size=4096 vite build && bash ./scripts/post-build-site/post-build-site.sh",
"clean": "rimraf site lib es dist node_modules/naive-ui themes/tusimple/es themes/tusimple/lib",
"release:package": "pnpm run test && pnpm run build:package && pnpm publish --no-git-checks",
"release:changelog": "node scripts/release-changelog.mjs",
"lint": "pnpm run lint:code && pnpm run lint:type",
"lint:type": "pnpm run lint:src-type && pnpm run lint:demo-type",
"lint:code": "eslint \"{src,build,scripts,demo}/**/*.{ts,tsx,js,vue,md}\"",
"lint:fix": "eslint --fix \"{src,build,scripts,demo}/**/*.{ts,tsx,js,vue,md}\"",
"lint:src-type": "tsc -b --force tsconfig.esm.json",
"lint:demo-type": "NODE_OPTIONS=--max-old-space-size=4096 vue-tsc -p src/tsconfig.demo.json",
"format": "pnpm run format:code && pnpm run format:md && pnpm run lint:fix",
"format:code": "prettier --write \"(src|demo)/**/*.(vue|js)\"",
"format:md": "prettier --write --parser markdown --prose-wrap never \"(src|demo)/**/*.md\"",
"test": "NODE_ENV=test jest --collectCoverage=false",
"test:update": "NODE_ENV=test jest -u --collectCoverage=false",
"test:cov": "NODE_ENV=test NODE_OPTIONS=--unhandled-rejections=warn jest",
"test:watch": "NODE_ENV=test jest ---watch --verbose --coverage",
"test:umd": "jest --collectCoverage=false --testMatch=\"<rootDir>/umd-test/index.spec.js\"",
"gen-version": "node scripts/gen-version",
"gen-volar-dts": "esbuild scripts/gen-component-declaration.js --bundle --platform=node --tsconfig=tsconfig.esbuild.json | node",
"build:site:ts": "bash ./scripts/pre-build-site/pre-build-site.sh && TUSIMPLE=true NODE_ENV=production NODE_OPTIONS=--max-old-space-size=4096 vite build && bash ./scripts/post-build-site/post-build-site.sh",
"prepare": "husky install",
"transpile-docs": "node scripts/md-to-vue data-table",
"release:site": "TUSIMPLE=true pnpm run build:site && node build-doc/generate-deploy-sh.js && sudo bash build-doc/deploy-doc.sh"
},
"author": "07akioni",
"license": "MIT",
"files": [
"es",
"lib",
"dist",
"volar.d.ts",
"web-types.json",
"README.md"
],
"web-types": "./web-types.json",
"lint-staged": {
"*.js": [
"prettier --write",
"eslint --fix"
],
"*.ts": [
"prettier --write",
"eslint --fix"
],
"*.tsx": [
"prettier --write",
"eslint --fix"
],
"*.vue": [
"prettier --parser=vue --write",
"eslint --fix"
],
"*.css": [
"prettier --write"
],
"*.md": [
"prettier --write --parser markdown --prose-wrap never",
"eslint --fix"
]
},
"devDependencies": {
"@babel/core": "^7.22.15",
"@babel/eslint-parser": "^7.22.15",
"@babel/generator": "^7.22.15",
"@babel/parser": "^7.22.16",
"@babel/preset-env": "^7.22.15",
"@babel/traverse": "^7.22.15",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-terser": "^0.4.3",
"@types/estree": "^1.0.1",
"@types/jest": "^29.5.4",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.6.0",
"@vicons/fluent": "^0.12.0",
"@vicons/ionicons4": "^0.12.0",
"@vicons/ionicons5": "^0.12.0",
"@vitejs/plugin-vue": "^4.3.4",
"@vue/compiler-sfc": "^3.3.4",
"@vue/eslint-config-standard": "^8.0.1",
"@vue/eslint-config-typescript": "^11.0.3",
"@vue/server-renderer": "^3.3.4",
"@vue/test-utils": "^2.4.1",
"autoprefixer": "^10.4.15",
"babel-jest": "^29.6.4",
"codesandbox": "^2.2.3",
"cssnano": "^6.0.1",
"deepmerge": "^4.3.1",
"esbuild": "0.19.9",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard": "^17.1.0",
"eslint-config-standard-with-typescript": "^39.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-markdown": "^3.0.1",
"eslint-plugin-n": "^16.0.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-vue": "^9.17.0",
"express": "^4.18.2",
"fast-glob": "^3.3.1",
"fs-extra": "^11.1.1",
"grapheme-splitter": "^1.0.4",
"husky": "^8.0.3",
"inquirer": "^9.2.10",
"jest": "^29.6.4",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.6.4",
"katex": "^0.16.8",
"lint-staged": "^15.1.0",
"lyla": "^1.2.2",
"marked": "^11.0.0",
"prettier": "^3.0.3",
"rimraf": "^5.0.1",
"rollup": "^4.3.0",
"rollup-plugin-esbuild": "^6.1.0",
"superagent": "^8.1.2",
"ts-jest": "^29.1.1",
"typescript": "5.2.2",
"vfonts": "^0.0.3",
"vite": "^5.0.4",
"vue": "^3.3.4",
"vue-router": "^4.2.4",
"vue-tsc": "^1.8.10"
},
"peerDependencies": {
"vue": "^3.0.0"
},
"dependencies": {
"@css-render/plugin-bem": "^0.15.12",
"@css-render/vue3-ssr": "^0.15.12",
"@types/katex": "^0.16.2",
"@types/lodash": "^4.14.198",
"@types/lodash-es": "^4.17.9",
"async-validator": "^4.2.5",
"css-render": "^0.15.12",
"date-fns": "^2.30.0",
"date-fns-tz": "^2.0.0",
"evtd": "^0.2.4",
"highlight.js": "^11.8.0",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"seemly": "^0.3.8",
"treemate": "^0.3.11",
"vdirs": "^0.1.8",
"vooks": "^0.2.12",
"vueuc": "^0.4.51"
},
"sideEffects": false,
"homepage": "https://www.naiveui.com",
"repository": {
"type": "git",
"url": "https://github.com/tusen-ai/naive-ui"
},
"keywords": [
"naive-ui",
"component library",
"ui framework",
"ui",
"vue"
],
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"@babel/core",
"postcss",
"rollup",
"webpack"
]
}
}
}