{ "name": "naive-ui", "version": "2.5.1", "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", "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 \"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", "@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/test-utils": "^2.0.0-rc.4", "autoprefixer": "^9.8.6", "babel-eslint": "^10.1.0", "babel-jest": "^26.6.3", "cross-env": "^7.0.3", "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.1", "prettier": "^2.2.1", "typescript": "^4.2.2", "vite": "^2.1.3" }, "dependencies": { "@css-render/plugin-bem": "^0.13.6", "async-validator": "^3.5.1", "css-render": "^0.13.6", "date-fns": "^2.19.0", "evtd": "^0.2.0", "highlight.js": "^10.7.1", "lodash-es": "^4.17.21", "seemly": "^0.1.34", "treemate": "^0.2.4", "vdirs": "^0.1.2", "vfonts": "^0.1.0", "vooks": "^0.2.0", "vue": "^3.0.10", "vue-router": "^4.0.5", "vueuc": "^0.3.0" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "sideEffects": false }