naive-ui/package.json

179 lines
6.1 KiB
JSON
Raw Normal View History

2019-05-24 14:41:33 +08:00
{
"name": "naive-ui",
2022-01-28 10:21:16 +08:00
"version": "2.24.7",
"description": "A Vue 3 Component Library. Fairly Complete, Customizable Themes, Uses TypeScript, Not Too Slow",
2020-02-12 13:44:53 +08:00
"main": "lib/index.js",
"module": "es/index.js",
2019-05-24 14:41:33 +08:00
"scripts": {
"start": "pnpm run dev",
2022-01-26 03:00:17 +08:00
"dev": "pnpm run clean && pnpm run gen-version && pnpm run gen-volar-dts && cross-env 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 && node scripts/post-build && rimraf {es,lib}/*.tsbuildinfo",
"build:site": "./scripts/pre-build-site/pre-build-site.sh && cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=4096 vite build && ./scripts/post-build-site/post-build-site.sh",
2021-06-09 20:41:21 +08:00
"clean": "rimraf site lib es node_modules/naive-ui themes/**/es themes/**/lib",
2021-12-20 04:01:30 +08:00
"release:package": "pnpm run test && pnpm run build:package && pnpm publish --no-git-checks",
"release:site": "cross-env TUSIMPLE=true pnpm run build:site && node build-doc/generate-deploy-sh.js && sudo bash build-doc/deploy-doc.sh",
"lint": "pnpm run lint:code && pnpm run lint:type",
2022-01-05 01:44:22 +08:00
"lint:type": "pnpm run lint:src-type && pnpm run lint:demo-type",
2021-09-11 20:49:20 +08:00
"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}\"",
2022-01-05 01:44:22 +08:00
"lint:src-type": "tsc -b --force tsconfig.esm.json",
"lint:demo-type": "vue-tsc -p src/tsconfig.demo.json",
"format": "pnpm run format:code && pnpm run format:md && pnpm run lint:fix",
2020-12-12 15:03:05 +08:00
"format:code": "prettier --write \"(src|demo)/**/*.(vue|js)\"",
2021-06-05 09:51:57 +08:00
"format:md": "prettier --write --parser markdown --prose-wrap never \"(src|demo)/**/*.md\"",
2021-05-27 18:23:14 +08:00
"test": "cross-env NODE_ENV=test jest --collectCoverage=false",
"test:cov": "cross-env NODE_ENV=test NODE_OPTIONS=--unhandled-rejections=warn jest",
2021-06-10 17:21:57 +08:00
"test:watch": "cross-env NODE_ENV=test jest ---watch --verbose --coverage",
2021-02-03 21:38:43 +08:00
"gen-version": "node scripts/gen-version",
2022-01-26 03:00:17 +08:00
"gen-volar-dts": "esno scripts/gen-component-declaration",
2021-06-14 17:29:12 +08:00
"release-changelog": "node scripts/release-changelog",
2021-06-11 00:58:59 +08:00
"build:site:ts": "./scripts/pre-build-site/pre-build-site.sh && cross-env TUSIMPLE=true NODE_ENV=production NODE_OPTIONS=--max-old-space-size=4096 vite build && ./scripts/post-build-site/post-build-site.sh",
"prepare": "husky install",
2022-02-03 22:20:33 +08:00
"transpile-docs": "node scripts/md-to-vue dynamic-input",
2022-01-04 18:52:45 +08:00
"typecheck": "vue-tsc --noEmit src/**/*.vue"
2019-05-24 14:41:33 +08:00
},
2020-11-03 11:53:37 +08:00
"author": "07akioni",
2020-03-02 22:41:52 +08:00
"license": "MIT",
2020-02-11 20:57:35 +08:00
"files": [
2020-02-12 17:10:34 +08:00
"es",
2020-02-11 20:57:35 +08:00
"lib",
2022-01-24 04:02:28 +08:00
"volar.d.ts",
"web-types.json",
2022-01-24 04:02:28 +08:00
"README.md"
2020-02-11 20:57:35 +08:00
],
"web-types": "./web-types.json",
2020-12-12 01:51:52 +08:00
"lint-staged": {
2020-12-12 15:03:05 +08:00
"*.js": [
"prettier --write",
"eslint --fix"
],
2021-01-15 19:08:31 +08:00
"*.ts": [
"prettier --write",
"eslint --fix"
],
"*.tsx": [
"prettier --write",
"eslint --fix"
],
2020-12-12 01:51:52 +08:00
"*.vue": [
2020-12-12 13:47:04 +08:00
"prettier --parser=vue --write",
"eslint --fix"
2020-12-12 01:51:52 +08:00
],
2020-12-12 15:33:41 +08:00
"*.css": [
2020-12-16 02:16:59 +08:00
"prettier --write"
2020-12-12 15:33:41 +08:00
],
2020-12-12 15:03:05 +08:00
"*.md": [
2020-12-12 15:33:41 +08:00
"prettier --write --parser markdown --prose-wrap never",
"eslint --fix"
2020-12-12 15:03:05 +08:00
]
2020-12-12 01:51:52 +08:00
},
2019-05-24 14:41:33 +08:00
"devDependencies": {
"@babel/eslint-parser": "^7.15.8",
2021-01-13 18:20:47 +08:00
"@babel/generator": "^7.12.11",
"@babel/parser": "^7.12.11",
"@babel/preset-env": "^7.12.10",
2021-01-13 18:20:47 +08:00
"@babel/traverse": "^7.12.12",
"@rollup/plugin-babel": "^5.3.0",
"@types/estree": "^0.0.50",
"@types/jest": "^27.0.1",
2022-01-08 19:36:57 +08:00
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
"@vicons/fluent": "^0.11.0",
"@vicons/ionicons4": "^0.11.0",
"@vicons/ionicons5": "^0.11.0",
"@vitejs/plugin-vue": "^2.0.0",
"@vue/compiler-sfc": "^3.0.10",
"@vue/eslint-config-standard": "^6.0.0",
"@vue/eslint-config-typescript": "^10.0.0",
"@vue/server-renderer": "^3.2.18",
2021-11-22 23:28:32 +08:00
"@vue/test-utils": "2.0.0-rc.16",
"autoprefixer": "^10.2.6",
"axios": "^0.25.0",
"babel-jest": "^27.0.2",
2021-06-02 17:51:13 +08:00
"codesandbox": "^2.2.3",
"cross-env": "^7.0.3",
"cssnano": "^5.0.5",
"esbuild": "0.14.18",
2022-01-08 19:36:57 +08:00
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.2",
"eslint-config-standard-with-typescript": "^21.0.1",
2020-11-03 15:10:29 +08:00
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-markdown": "^2.0.0",
2020-11-03 15:10:29 +08:00
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
2022-01-08 19:36:57 +08:00
"eslint-plugin-vue": "^8.2.0",
"esno": "^0.14.0",
"express": "^4.17.1",
2022-01-04 13:46:32 +08:00
"fast-glob": "^3.2.7",
2022-01-04 18:52:45 +08:00
"fs-extra": "^10.0.0",
2021-07-02 00:37:21 +08:00
"husky": "^7.0.0",
"inquirer": "^8.1.0",
"jest": "^27.0.4",
"jest-canvas-mock": "^2.3.1",
"lint-staged": "^12.1.5",
2021-11-21 17:40:42 +08:00
"marked": "^4.0.4",
2020-12-12 01:51:52 +08:00
"prettier": "^2.2.1",
2021-06-09 20:41:21 +08:00
"rimraf": "^3.0.2",
"superagent": "^7.0.0",
"ts-jest": "^27.0.7",
2021-09-03 03:19:34 +08:00
"typescript": "^4.4.2",
2021-06-15 11:23:16 +08:00
"vite": "^2.1.3",
2021-09-19 23:03:43 +08:00
"vue": "^3.2.12",
2022-01-04 18:52:45 +08:00
"vue-router": "^4.0.5",
"vue-tsc": "^0.31.1"
2021-06-15 11:23:16 +08:00
},
"peerDependencies": {
2021-06-16 23:06:21 +08:00
"vue": "^3.0.0"
2019-05-24 14:41:33 +08:00
},
"dependencies": {
2021-12-29 03:06:07 +08:00
"@css-render/plugin-bem": "^0.15.8",
"@css-render/vue3-ssr": "^0.15.8",
2021-06-12 15:42:46 +08:00
"@types/lodash": "^4.14.170",
"@types/lodash-es": "^4.17.4",
"async-validator": "^4.0.1",
2021-12-29 03:06:07 +08:00
"css-render": "^0.15.8",
"date-fns": "^2.27.0",
2021-09-09 02:39:01 +08:00
"date-fns-tz": "^1.1.6",
2021-11-14 20:32:27 +08:00
"evtd": "^0.2.3",
2021-06-11 01:15:15 +08:00
"highlight.js": "^11.0.1",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
2021-11-23 00:31:06 +08:00
"seemly": "^0.3.3",
"treemate": "^0.3.9",
2021-12-29 01:35:46 +08:00
"vdirs": "^0.1.7",
2022-01-02 23:33:43 +08:00
"vfonts": "^0.0.3",
2021-12-26 03:10:18 +08:00
"vooks": "^0.2.12",
2022-02-03 17:34:33 +08:00
"vueuc": "^0.4.25-3"
},
"sideEffects": false,
"homepage": "https://www.naiveui.com",
"repository": {
"type": "git",
"url": "https://github.com/TuSimple/naive-ui"
},
"keywords": [
"naive-ui",
"component library",
"ui framework",
"ui",
"vue"
],
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"@babel/core",
"postcss",
"rollup",
"webpack"
],
"allowedVersions": {
"eslint": "^8.6.0",
"eslint-plugin-promise": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"eslint-plugin-vue": "^8.3.0"
}
}
}
2021-01-13 18:20:47 +08:00
}