2019-05-24 14:41:33 +08:00
|
|
|
{
|
2019-05-24 20:09:35 +08:00
|
|
|
"name": "naive-ui",
|
2020-11-05 15:24:18 +08:00
|
|
|
"version": "2.0.0-beta.0",
|
2020-05-16 22:01:25 +08:00
|
|
|
"description": "A Vue UI Framework. Caring About Styles, Themed, Batteries Included, Not Rather Slow.",
|
2020-02-12 13:44:53 +08:00
|
|
|
"main": "lib/index.js",
|
|
|
|
"module": "es/index.js",
|
2020-11-11 22:10:38 +08:00
|
|
|
"sideEffects": false,
|
2019-05-24 14:41:33 +08:00
|
|
|
"scripts": {
|
2020-07-08 21:06:48 +08:00
|
|
|
"start": "npm run dev",
|
2020-10-31 18:32:47 +08:00
|
|
|
"build:fonts": "npm run clean && node build/build-fonts.js",
|
2020-11-01 19:47:34 +08:00
|
|
|
"build:icons": "npm run clean && node build/build-icons.js",
|
2020-11-02 21:41:40 +08:00
|
|
|
"build:js": "npm run generate-version && npm run clean && rollup -c",
|
|
|
|
"build:package": "npm run generate-version && npm run clean && node build/build-fonts.js && node build/build-icons.js && rollup -c",
|
|
|
|
"build:site": "npm run generate-version && npm run build:package && rm -rf dist && cross-env NODE_ENV=production vite build",
|
|
|
|
"build:doc": "npm run generate-version && npm run build && rm -rf build-doc/dist && cross-env NODE_ENV=production webpack --config build/webpack.doc.js",
|
2020-02-13 20:51:40 +08:00
|
|
|
"clean": "rm -rf lib && rm -rf es && rm -rf dist",
|
2020-11-02 21:41:40 +08:00
|
|
|
"dev": "npm run generate-version && cross-env NODE_ENV=development vite",
|
2020-11-11 20:48:42 +08:00
|
|
|
"dev:ts": "npm run generate-version && cross-env NODE_ENV=development TUSIMPLE=true vite",
|
2020-05-16 22:01:25 +08:00
|
|
|
"lint": "eslint --no-error-on-unmatched-pattern --fix \"src/**/*.{js,vue}\" \"test/**/*.{js,vue}\" \"build/**/*.{js,vue}\" \"demo/**/*.{js,vue}\" && stylelint \"src/_styles/**/*.scss\"",
|
2020-02-13 20:51:40 +08:00
|
|
|
"lint:js": "eslint --no-error-on-unmatched-pattern --fix \"src/**/*.{js,vue}\" \"test/**/*.{js,vue}\" \"build/**/*.{js,vue}\" \"demo/**/*.{js,vue}\"",
|
2020-05-16 22:01:25 +08:00
|
|
|
"lint:style": "stylelint \"src/_styles/**/*.scss\"",
|
2020-11-02 21:41:40 +08:00
|
|
|
"release:package": "npm run build:package && npm publish",
|
2020-07-22 12:54:16 +08:00
|
|
|
"test": "cross-env NODE_ENV=test jest",
|
2020-07-22 17:40:38 +08:00
|
|
|
"init-cssr": "node scripts/create-cssr-scaffold.js",
|
2020-09-08 13:52:03 +08:00
|
|
|
"generate-version": "node scripts/generate-version",
|
2020-10-08 02:55:40 +08:00
|
|
|
"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"
|
2019-05-24 14:41:33 +08:00
|
|
|
},
|
2020-11-03 11:53:37 +08:00
|
|
|
"author": "07akioni",
|
2020-03-02 22:41:52 +08:00
|
|
|
"license": "MIT",
|
2019-06-13 17:28:05 +08:00
|
|
|
"publishConfig": {
|
2019-07-01 10:09:32 +08:00
|
|
|
"registry": "***REMOVED***"
|
2019-06-13 17:28:05 +08:00
|
|
|
},
|
2020-02-11 20:57:35 +08:00
|
|
|
"files": [
|
2020-02-12 17:10:34 +08:00
|
|
|
"es",
|
2020-02-11 20:57:35 +08:00
|
|
|
"lib",
|
2020-10-31 18:32:47 +08:00
|
|
|
"fonts",
|
2020-02-12 17:10:34 +08:00
|
|
|
"src",
|
2020-08-04 21:45:05 +08:00
|
|
|
"themes",
|
2020-02-12 17:10:34 +08:00
|
|
|
"README.md"
|
2020-02-11 20:57:35 +08:00
|
|
|
],
|
2019-05-24 14:41:33 +08:00
|
|
|
"devDependencies": {
|
2020-11-03 11:53:37 +08:00
|
|
|
"@babel/preset-env": "^7.12.1",
|
2020-11-02 04:23:28 +08:00
|
|
|
"@rollup/plugin-alias": "^3.1.1",
|
2020-10-31 18:02:14 +08:00
|
|
|
"@rollup/plugin-node-resolve": "^10.0.0",
|
2020-11-03 15:10:29 +08:00
|
|
|
"@rollup/plugin-replace": "^2.3.4",
|
2020-11-03 11:53:37 +08:00
|
|
|
"@types/jest": "^26.0.15",
|
2020-10-31 18:02:14 +08:00
|
|
|
"@vue/compiler-sfc": "^3.0.2",
|
2020-11-02 22:56:57 +08:00
|
|
|
"@vue/eslint-config-standard": "^5.1.2",
|
|
|
|
"@vue/test-utils": "^2.0.0-beta.8",
|
|
|
|
"autoprefixer": "^9.8.6",
|
2020-11-03 15:10:29 +08:00
|
|
|
"babel-eslint": "^10.1.0",
|
2020-11-03 11:53:37 +08:00
|
|
|
"babel-jest": "^26.6.2",
|
2019-12-30 13:15:14 +08:00
|
|
|
"cross-env": "^5.2.1",
|
|
|
|
"cssnano": "^4.1.10",
|
2020-11-02 22:56:57 +08:00
|
|
|
"eslint": "^7.12.1",
|
2020-11-03 15:10:29 +08:00
|
|
|
"eslint-plugin-import": "^2.22.1",
|
|
|
|
"eslint-plugin-node": "^11.1.0",
|
|
|
|
"eslint-plugin-promise": "^4.2.1",
|
|
|
|
"eslint-plugin-standard": "^4.0.2",
|
2020-11-02 22:56:57 +08:00
|
|
|
"eslint-plugin-vue": "^7.1.0",
|
|
|
|
"jest": "^26.6.2",
|
2020-11-03 13:04:24 +08:00
|
|
|
"lodash": "^4.17.20",
|
2020-10-08 04:14:14 +08:00
|
|
|
"marked": "^1.2.0",
|
2020-02-11 20:24:56 +08:00
|
|
|
"ncp": "^2.0.0",
|
2020-10-31 18:02:14 +08:00
|
|
|
"rollup": "^2.32.1",
|
|
|
|
"rollup-plugin-terser": "^7.0.2",
|
2020-11-05 14:57:35 +08:00
|
|
|
"rollup-plugin-vue": "^6.0.0-beta.11",
|
2020-11-01 19:35:00 +08:00
|
|
|
"sass": "^1.28.0",
|
2020-09-27 22:25:33 +08:00
|
|
|
"stylelint": "^13.7.2",
|
|
|
|
"stylelint-config-recommended-scss": "^4.2.0",
|
|
|
|
"stylelint-scss": "^3.18.0",
|
2020-10-08 04:14:14 +08:00
|
|
|
"tinycolor2": "^1.4.2",
|
2020-11-03 11:53:37 +08:00
|
|
|
"typescript": "^4.0.5",
|
2020-11-03 18:56:13 +08:00
|
|
|
"vite": "^1.0.0-rc.9",
|
2020-11-02 22:56:57 +08:00
|
|
|
"vue-jest": "^5.0.0-alpha.5",
|
|
|
|
"vue-router": "^4.0.0-rc.1"
|
2019-05-24 14:41:33 +08:00
|
|
|
},
|
2019-05-24 20:09:35 +08:00
|
|
|
"dependencies": {
|
2020-08-15 16:49:58 +08:00
|
|
|
"@css-render/plugin-bem": "^0.11.1",
|
2020-11-07 00:07:02 +08:00
|
|
|
"@vicons/fluent": "^0.0.1",
|
|
|
|
"@vicons/ionicons-v4": "^0.0.1",
|
|
|
|
"@vicons/ionicons-v5": "^0.0.1",
|
2020-11-12 13:30:04 +08:00
|
|
|
"async-validator": "^3.4.0",
|
2020-08-15 16:49:58 +08:00
|
|
|
"css-render": "^0.11.1",
|
2020-02-11 20:42:41 +08:00
|
|
|
"date-fns": "^2.9.0",
|
2020-11-05 02:23:28 +08:00
|
|
|
"evtd": "^0.0.1-alpha.1",
|
2020-02-12 13:44:53 +08:00
|
|
|
"highlight.js": "^9.18.1",
|
2019-12-30 13:15:14 +08:00
|
|
|
"lodash-es": "^4.17.15",
|
2020-11-13 21:05:32 +08:00
|
|
|
"treemate": "^0.1.11",
|
2020-11-12 13:30:04 +08:00
|
|
|
"vfonts": "^0.0.1",
|
2020-11-07 20:57:09 +08:00
|
|
|
"vooks": "^0.0.1",
|
2020-10-23 00:18:15 +08:00
|
|
|
"vue": "^3.0.2",
|
2020-11-25 14:17:58 +08:00
|
|
|
"vueuc": "^0.1.0-alpha.13"
|
2019-05-24 20:09:35 +08:00
|
|
|
}
|
2020-10-26 15:13:05 +08:00
|
|
|
}
|