naive-ui/package.json
2021-09-07 02:44:57 +08:00

151 lines
5.1 KiB
JSON

{
"name": "naive-ui",
"version": "2.18.0",
"description": "A Vue 3 Component Library. Fairly Complete, Customizable Themes, Uses TypeScript, Not Too Slow",
"main": "lib/index.js",
"module": "es/index.js",
"scripts": {
"start": "npm run dev",
"dev": "npm run clean && npm run gen-version && cross-env NODE_ENV=development vite",
"build:package": "npm run gen-version && npm run clean && 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",
"clean": "rimraf site lib es node_modules/naive-ui themes/**/es themes/**/lib",
"release:package": "npm run test && npm run build:package && npm publish",
"release:site": "cross-env TUSIMPLE=true npm run build:site && node build-doc/generate-deploy-sh.js && sudo bash build-doc/deploy-doc.sh",
"lint": "npm run lint:code && npm run lint:type",
"lint:type": "tsc -b --force tsconfig.esm.json",
"lint:code": "eslint --fix \"{src,build,scripts,demo}/**/*.{ts,tsx,js,vue,md}\"",
"format": "npm run format:code && npm run format:md",
"format:code": "prettier --write \"(src|demo)/**/*.(vue|js)\"",
"format:md": "prettier --write --parser markdown --prose-wrap never \"(src|demo)/**/*.md\"",
"test": "cross-env NODE_ENV=test jest --collectCoverage=false",
"test:cov": "cross-env NODE_ENV=test jest",
"test:watch": "cross-env NODE_ENV=test jest ---watch --verbose --coverage",
"gen-version": "node scripts/gen-version",
"release-changelog": "node scripts/release-changelog",
"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"
},
"author": "07akioni",
"license": "MIT",
"files": [
"es",
"lib",
"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/generator": "^7.12.11",
"@babel/parser": "^7.12.11",
"@babel/preset-env": "^7.12.10",
"@babel/preset-react": "^7.12.13",
"@babel/preset-typescript": "^7.12.16",
"@babel/traverse": "^7.12.12",
"@rollup/plugin-babel": "^5.3.0",
"@types/estree": "^0.0.50",
"@types/jest": "^27.0.1",
"@typescript-eslint/eslint-plugin": "^4.15.1",
"@typescript-eslint/parser": "^4.15.1",
"@vicons/fluent": "^0.11.0",
"@vicons/ionicons4": "^0.11.0",
"@vicons/ionicons5": "^0.11.0",
"@vitejs/plugin-vue": "^1.2.1",
"@vue/compiler-sfc": "^3.0.10",
"@vue/eslint-config-standard": "^6.0.0",
"@vue/eslint-config-typescript": "^7.0.0",
"@vue/server-renderer": "3.2.8",
"@vue/test-utils": "^2.0.0-rc.9",
"autoprefixer": "^10.2.6",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.0.2",
"codesandbox": "^2.2.3",
"cross-env": "^7.0.3",
"cssnano": "^5.0.5",
"eslint": "^7.20.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.2",
"eslint-config-standard-with-typescript": "^21.0.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-markdown": "^2.0.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-standard": "^5.0.0",
"eslint-plugin-vue": "^7.6.0",
"express": "^4.17.1",
"fs-extra": "^10.0.0",
"husky": "^7.0.0",
"inquirer": "^8.1.0",
"jest": "^27.0.4",
"lint-staged": "^11.0.0",
"marked": "^3.0.2",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"superagent": "^6.1.0",
"typescript": "^4.4.2",
"vite": "^2.1.3",
"vue": "3.2.8",
"vue-router": "^4.0.5"
},
"peerDependencies": {
"vue": "^3.0.0"
},
"dependencies": {
"@css-render/plugin-bem": "^0.15.6",
"@css-render/vue3-ssr": "^0.15.6",
"@types/lodash": "^4.14.170",
"@types/lodash-es": "^4.17.4",
"async-validator": "^4.0.1",
"css-render": "^0.15.6",
"date-fns": "^2.19.0",
"evtd": "^0.2.2",
"highlight.js": "^11.0.1",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"seemly": "^0.3.1",
"treemate": "^0.3.4",
"vdirs": "^0.1.4",
"vfonts": "^0.1.0",
"vooks": "^0.2.6",
"vueuc": "^0.4.9"
},
"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"
]
}