{ "name": "naive-ui", "version": "2.11.4", "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", "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", "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", "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" }, "author": "07akioni", "license": "MIT", "files": [ "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.48", "@types/jest": "^26.0.20", "@types/lodash-es": "^4.17.4", "@typescript-eslint/eslint-plugin": "^4.15.1", "@typescript-eslint/parser": "^4.15.1", "@vicons/fluent": "^0.7.0", "@vicons/ionicons4": "^0.7.0", "@vicons/ionicons5": "^0.7.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.0.11", "@vue/test-utils": "^2.0.0-rc.4", "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-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": "^5.0.0", "eslint-plugin-vue": "^7.6.0", "express": "^4.17.1", "fs-extra": "^9.0.1", "husky": "^4.3.5", "jest": "^27.0.4", "lint-staged": "^11.0.0", "marked": "^2.0.1", "prettier": "^2.2.1", "typescript": "^4.3.2", "vite": "^2.1.3" }, "dependencies": { "@css-render/plugin-bem": "^0.15.2", "@css-render/vue3-ssr": "^0.15.2", "async-validator": "^3.5.1", "css-render": "^0.15.2", "date-fns": "^2.19.0", "evtd": "^0.2.2", "highlight.js": "^10.7.1", "lodash": "^4.17.21", "lodash-es": "^4.17.21", "seemly": "^0.3.1", "treemate": "^0.2.10", "vdirs": "^0.1.4", "vfonts": "^0.1.0", "vooks": "^0.2.6", "vue": "^3.0.10", "vue-router": "^4.0.5", "vueuc": "^0.4.7" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "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" ] }