mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-09 04:31:35 +08:00
100 lines
4.2 KiB
JSON
100 lines
4.2 KiB
JSON
{
|
|
"name": "naive-ui",
|
|
"version": "2.0.0-beta.1",
|
|
"description": "A Vue UI Framework. Caring About Styles, Themed, Batteries Included, Not Rather Slow.",
|
|
"main": "lib/index.js",
|
|
"module": "es/index.js",
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"start": "npm run dev",
|
|
"deprecated:build:icons": "npm run clean && node build/build-icons.js",
|
|
"build:js": "npm run gen-version && npm run clean && node build/before-build.js && rollup -c",
|
|
"build:package": "npm run gen-version && npm run clean && node build/build-icons.js && node build/before-build.js && rollup -c",
|
|
"build:site": "npm run build:package && ./build/before-build-site.sh && cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=4096 vite build && rm -rf node_modules/naive-ui && cp site/index.html site/404.html",
|
|
"build:doc": "npm run gen-version && npm run build && rm -rf build-doc/dist && cross-env NODE_ENV=production webpack --config build/webpack.doc.js",
|
|
"clean": "rm -rf site lib es src-mirror node_modules/naive-ui",
|
|
"dev": "npm run clean && npm run gen-version && cross-env NODE_ENV=development vite",
|
|
"dev:ts": "npm run clean && npm run gen-version && cross-env NODE_ENV=development TUSIMPLE=true vite",
|
|
"lint": "eslint --no-error-on-unmatched-pattern --fix \"src/**/*.{js,vue}\" \"test/**/*.{js,vue}\" \"build/**/*.{js,vue}\" \"demo/**/*.{js,vue}\" && stylelint \"src/_styles/**/*.scss\"",
|
|
"lint:js": "eslint --no-error-on-unmatched-pattern --fix \"src/**/*.{js,vue}\" \"test/**/*.{js,vue}\" \"build/**/*.{js,vue}\" \"demo/**/*.{js,vue}\"",
|
|
"lint:style": "stylelint \"src/_styles/**/*.scss\"",
|
|
"release:package": "npm run build:package && npm publish",
|
|
"test": "cross-env NODE_ENV=test jest",
|
|
"init-cssr": "node scripts/create-cssr-scaffold.js",
|
|
"gen-version": "node scripts/generate-version",
|
|
"tusimple:dev": "npm run generate && cross-env NODE_ENV=development webpack-dev-server --config build/webpack.tusimple-dev.js",
|
|
"tusimple:build:doc": "npm run generate && npm run build && rm -rf build-doc/dist && cross-env NODE_ENV=production webpack --config build/webpack.tusimple-doc.js",
|
|
"tusimple:release:doc": "npm run tusimple:build:doc && node build-doc/generate-deploy-sh.js && sudo bash build-doc/deploy-doc.sh",
|
|
"tusimple:release:doc:no-build": "node build-doc/generate-deploy-sh.js && sudo bash build-doc/deploy-doc.sh"
|
|
},
|
|
"author": "07akioni",
|
|
"license": "MIT",
|
|
"publishConfig": {
|
|
"registry": "***REMOVED***"
|
|
},
|
|
"files": [
|
|
"es",
|
|
"lib",
|
|
"src",
|
|
"themes",
|
|
"README.md"
|
|
],
|
|
"devDependencies": {
|
|
"@babel/preset-env": "^7.12.7",
|
|
"@rollup/plugin-babel": "^5.2.2",
|
|
"@rollup/plugin-node-resolve": "^10.0.0",
|
|
"@rollup/plugin-replace": "^2.3.4",
|
|
"@types/jest": "^26.0.15",
|
|
"@vue/compiler-sfc": "^3.0.2",
|
|
"@vue/eslint-config-standard": "^5.1.2",
|
|
"@vue/test-utils": "^2.0.0-beta.8",
|
|
"autoprefixer": "^9.8.6",
|
|
"babel-eslint": "^10.1.0",
|
|
"babel-jest": "^26.6.2",
|
|
"cross-env": "^5.2.1",
|
|
"cssnano": "^4.1.10",
|
|
"eslint": "^7.12.1",
|
|
"eslint-plugin-import": "^2.22.1",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-promise": "^4.2.1",
|
|
"eslint-plugin-standard": "^4.0.2",
|
|
"eslint-plugin-vue": "^7.1.0",
|
|
"fs-extra": "^9.0.1",
|
|
"jest": "^26.6.2",
|
|
"lodash": "^4.17.20",
|
|
"marked": "^1.2.0",
|
|
"ncp": "^2.0.0",
|
|
"rollup": "^2.32.1",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"rollup-plugin-vue": "^6.0.0-beta.11",
|
|
"sass": "^1.28.0",
|
|
"stylelint": "^13.7.2",
|
|
"stylelint-config-recommended-scss": "^4.2.0",
|
|
"stylelint-scss": "^3.18.0",
|
|
"tinycolor2": "^1.4.2",
|
|
"typescript": "^4.0.5",
|
|
"vite": "^1.0.0-rc.13",
|
|
"vue-jest": "^5.0.0-alpha.5",
|
|
"vue-router": "^4.0.0-rc.1"
|
|
},
|
|
"dependencies": {
|
|
"@css-render/plugin-bem": "^0.11.1",
|
|
"@vicons/fluent": "~0.0.3",
|
|
"@vicons/ionicons-v4": "~0.0.3",
|
|
"@vicons/ionicons-v5": "~0.0.3",
|
|
"async-validator": "^3.4.0",
|
|
"css-render": "^0.11.1",
|
|
"date-fns": "^2.9.0",
|
|
"evtd": "^0.1.0",
|
|
"highlight.js": "^10.4.1",
|
|
"lodash-es": "^4.17.15",
|
|
"seemly": "^0.0.1-alpha.2",
|
|
"treemate": "^0.1.11",
|
|
"vdirs": "^0.0.3",
|
|
"vfonts": "^0.0.1",
|
|
"vooks": "^0.0.6",
|
|
"vue": "^3.0.4",
|
|
"vueuc": "^0.0.1"
|
|
}
|
|
}
|