mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
132 lines
4.5 KiB
JSON
132 lines
4.5 KiB
JSON
{
|
|
"name": "naive-ui",
|
|
"version": "2.0.0-rc.7",
|
|
"description": "A Vue UI Framework. Caring About Styles, Themed, Batteries Included, Not Rather 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:js": "npm run gen-version && npm run clean && tsc -b --force tsconfig.esm.json && tsc -b --force tsconfig.cjs.json && node scripts/post-build",
|
|
"build:package": "npm run gen-version && npm run clean && node scripts/pre-build/deprecated-build-icons.js && tsc -b --force tsconfig.esm.json && tsc -b --force tsconfig.cjs.json && node scripts/post-build",
|
|
"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": "rm -rf site lib es node_modules/naive-ui themes/**/es themes/**/lib",
|
|
"release:package": "npm run build:package && npm publish --tag next",
|
|
"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 \"demo/**/*.md\"",
|
|
"test": "cross-env NODE_ENV=test jest --coverage=false",
|
|
"test:cov": "cross-env NODE_ENV=test jest",
|
|
"gen-version": "node scripts/gen-version",
|
|
"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",
|
|
"deprecated:build:icons": "npm run clean && node scripts/pre-build/deprecated-build-icons.js"
|
|
},
|
|
"author": "07akioni",
|
|
"license": "MIT",
|
|
"publishConfig": {
|
|
"registry": "***REMOVED***"
|
|
},
|
|
"files": [
|
|
"compat",
|
|
"es",
|
|
"lib",
|
|
"README.md"
|
|
],
|
|
"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.46",
|
|
"@types/jest": "^26.0.20",
|
|
"@types/lodash-es": "^4.17.4",
|
|
"@typescript-eslint/eslint-plugin": "^4.15.1",
|
|
"@typescript-eslint/parser": "^4.15.1",
|
|
"@vitejs/plugin-vue": "^1.1.4",
|
|
"@vue/compiler-sfc": "^3.0.7",
|
|
"@vue/eslint-config-standard": "^6.0.0",
|
|
"@vue/eslint-config-typescript": "^7.0.0",
|
|
"@vue/test-utils": "^2.0.0-rc.1",
|
|
"autoprefixer": "^9.8.6",
|
|
"babel-eslint": "^10.1.0",
|
|
"babel-jest": "^26.6.3",
|
|
"cross-env": "^5.2.1",
|
|
"cssnano": "^4.1.10",
|
|
"eslint": "^7.20.0",
|
|
"eslint-config-standard": "^16.0.2",
|
|
"eslint-config-standard-with-typescript": "^19.0.1",
|
|
"eslint-plugin-import": "^2.22.1",
|
|
"eslint-plugin-markdown": "^2.0.0",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-promise": "^4.3.1",
|
|
"eslint-plugin-standard": "^4.1.0",
|
|
"eslint-plugin-vue": "^7.6.0",
|
|
"fs-extra": "^9.0.1",
|
|
"husky": "^4.3.5",
|
|
"jest": "^26.6.2",
|
|
"lint-staged": "^10.5.3",
|
|
"lodash": "^4.17.20",
|
|
"marked": "^2.0.0",
|
|
"prettier": "^2.2.1",
|
|
"typescript": "^4.2.2",
|
|
"vite": "^2.0.3"
|
|
},
|
|
"dependencies": {
|
|
"@css-render/plugin-bem": "^0.12.0",
|
|
"@vicons/fluent": "^0.1.0",
|
|
"@vicons/ionicons4": "^0.1.0",
|
|
"@vicons/ionicons5": "^0.1.0",
|
|
"async-validator": "^3.4.0",
|
|
"css-render": "^0.12.0",
|
|
"date-fns": "^2.16.1",
|
|
"evtd": "^0.1.0",
|
|
"highlight.js": "^10.4.1",
|
|
"lodash-es": "^4.17.15",
|
|
"seemly": "^0.1.18",
|
|
"treemate": "^0.2.4",
|
|
"vdirs": "^0.0.3",
|
|
"vfonts": "^0.0.1",
|
|
"vooks": "^0.1.3",
|
|
"vue": "^3.0.7",
|
|
"vue-router": "^4.0.3",
|
|
"vueuc": "^0.2.6"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"sideEffects": false
|
|
}
|