2019-05-24 14:41:33 +08:00
|
|
|
{
|
2019-05-24 20:09:35 +08:00
|
|
|
"name": "naive-ui",
|
2020-08-15 17:10:19 +08:00
|
|
|
"version": "1.5.5",
|
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",
|
2019-05-24 14:41:33 +08:00
|
|
|
"scripts": {
|
2020-07-08 21:06:48 +08:00
|
|
|
"start": "npm run dev",
|
2020-02-12 17:10:34 +08:00
|
|
|
"build:style": "npm run clean && node build/buildStyle.js",
|
|
|
|
"build:icon": "npm run clean && node build/buildIcon.js",
|
2020-08-08 13:48:05 +08:00
|
|
|
"build:js": "npm run generate-version && npm run clean && rollup -c",
|
2020-02-12 16:21:42 +08:00
|
|
|
"build:demo": "npm run build && npm run demo",
|
2020-07-22 17:40:38 +08:00
|
|
|
"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-12 17:10:34 +08:00
|
|
|
"build": "npm run clean && node build/buildStyle.js && node build/buildIcon.js && rollup -c",
|
2020-02-13 20:51:40 +08:00
|
|
|
"clean": "rm -rf lib && rm -rf es && rm -rf dist",
|
2020-07-22 17:40:38 +08:00
|
|
|
"demo": "npm run generate-version && cross-env NODE_ENV=production webpack-dev-server --config build/webpack.demo.js",
|
|
|
|
"dev": "npm run generate-version && cross-env NODE_ENV=development webpack-dev-server --config build/webpack.dev.js",
|
2020-08-04 21:45:05 +08:00
|
|
|
"dev:design": "npm run generate-version && cross-env NODE_ENV=development webpack-dev-server --config build/webpack.dev-design.js",
|
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-07-08 23:02:26 +08:00
|
|
|
"release:doc": "npm run build:doc && node build-doc/generate-deploy-sh.js &&sudo bash build-doc/deploy-doc.sh",
|
|
|
|
"release:doc:no-build": "node build-doc/generate-deploy-sh.js && sudo bash build-doc/deploy-doc.sh",
|
2020-02-13 21:01:42 +08:00
|
|
|
"release:package": "npm run build && 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",
|
|
|
|
"generate-version": "node scripts/generate-version"
|
2019-05-24 14:41:33 +08:00
|
|
|
},
|
2019-07-04 19:31:49 +08:00
|
|
|
"author": "lecong.zhang",
|
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": [
|
|
|
|
"dist",
|
2020-02-12 17:10:34 +08:00
|
|
|
"es",
|
2020-02-11 20:57:35 +08:00
|
|
|
"lib",
|
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-02-11 20:42:41 +08:00
|
|
|
"@babel/cli": "^7.8.4",
|
2020-06-18 23:38:54 +08:00
|
|
|
"@babel/core": "^7.10.2",
|
|
|
|
"@babel/preset-env": "^7.10.2",
|
2019-09-23 11:32:50 +08:00
|
|
|
"@kazupon/vue-i18n-loader": "^0.4.1",
|
2020-01-13 14:26:14 +08:00
|
|
|
"@rollup/plugin-node-resolve": "^6.1.0",
|
2020-02-11 20:42:41 +08:00
|
|
|
"@rollup/plugin-strip": "^1.3.2",
|
2019-12-30 13:15:14 +08:00
|
|
|
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
|
|
|
|
"@vue/babel-preset-app": "^3.12.1",
|
|
|
|
"@vue/babel-preset-jsx": "^1.1.2",
|
2019-06-04 11:30:56 +08:00
|
|
|
"@vue/eslint-config-standard": "^4.0.0",
|
2020-06-18 23:38:54 +08:00
|
|
|
"@vue/test-utils": "^1.0.3",
|
2020-02-11 20:42:41 +08:00
|
|
|
"angular-html-parser": "^1.4.0",
|
|
|
|
"autoprefixer": "^9.7.4",
|
2019-12-23 21:40:45 +08:00
|
|
|
"babel-eslint": "^10.0.3",
|
2019-06-26 20:16:11 +08:00
|
|
|
"babel-helper-vue-jsx-merge-props": "^2.0.3",
|
2020-06-18 23:38:54 +08:00
|
|
|
"babel-jest": "^24.9.0",
|
2019-06-26 20:16:11 +08:00
|
|
|
"babel-loader": "^8.0.6",
|
2019-12-30 13:15:14 +08:00
|
|
|
"babel-plugin-istanbul": "^5.2.0",
|
2019-06-26 20:16:11 +08:00
|
|
|
"babel-plugin-syntax-jsx": "^6.18.0",
|
|
|
|
"babel-plugin-transform-vue-jsx": "^3.7.0",
|
|
|
|
"babel-preset-env": "^1.7.0",
|
2020-06-26 02:16:17 +08:00
|
|
|
"case-sensitive-paths-webpack-plugin": "^2.3.0",
|
2019-05-24 14:41:33 +08:00
|
|
|
"chai": "^4.2.0",
|
2019-12-30 13:15:14 +08:00
|
|
|
"copy-webpack-plugin": "^5.1.1",
|
2020-02-16 21:52:38 +08:00
|
|
|
"cors": "^2.8.5",
|
2019-12-30 13:15:14 +08:00
|
|
|
"cross-env": "^5.2.1",
|
2019-05-24 20:09:35 +08:00
|
|
|
"css-loader": "^2.1.1",
|
2019-12-30 13:15:14 +08:00
|
|
|
"cssnano": "^4.1.10",
|
2019-07-10 14:08:16 +08:00
|
|
|
"emoji-regex": "^8.0.0",
|
2019-12-30 13:15:14 +08:00
|
|
|
"emoji-unicode": "^1.1.0",
|
2019-12-23 21:40:45 +08:00
|
|
|
"eslint": "^6.8.0",
|
2019-12-17 17:26:25 +08:00
|
|
|
"eslint-plugin-vue": "^5.0.0",
|
2020-02-16 21:52:38 +08:00
|
|
|
"express": "^4.17.1",
|
2019-06-21 13:30:37 +08:00
|
|
|
"extract-text-webpack-plugin": "^4.0.0-beta.0",
|
2019-05-24 20:09:35 +08:00
|
|
|
"file-loader": "^3.0.1",
|
2019-12-30 13:15:14 +08:00
|
|
|
"glob": "^7.1.6",
|
2019-05-24 20:09:35 +08:00
|
|
|
"html-webpack-plugin": "^3.2.0",
|
2019-06-28 13:50:15 +08:00
|
|
|
"http-server": "^0.11.1",
|
2020-06-18 23:38:54 +08:00
|
|
|
"jest": "^24.9.0",
|
2019-12-30 13:15:14 +08:00
|
|
|
"jsdom": "^15.2.1",
|
|
|
|
"karma": "^4.4.1",
|
2019-05-24 14:41:33 +08:00
|
|
|
"karma-chrome-launcher": "^2.2.0",
|
|
|
|
"karma-coverage": "^1.1.2",
|
2019-12-30 13:15:14 +08:00
|
|
|
"karma-jsdom-launcher": "^7.1.1",
|
2019-05-24 14:41:33 +08:00
|
|
|
"karma-mocha": "^1.3.0",
|
|
|
|
"karma-sourcemap-loader": "^0.3.7",
|
|
|
|
"karma-spec-reporter": "0.0.32",
|
|
|
|
"karma-webpack": "^3.0.5",
|
2019-07-17 18:27:13 +08:00
|
|
|
"loader-utils": "^1.2.3",
|
2020-08-19 23:30:04 +08:00
|
|
|
"marked": "^1.1.1",
|
2019-07-17 18:27:13 +08:00
|
|
|
"memory-fs": "^0.4.1",
|
2020-03-20 22:52:54 +08:00
|
|
|
"mini-css-extract-plugin": "^0.9.0",
|
2019-12-30 13:15:14 +08:00
|
|
|
"mocha": "^6.2.2",
|
2020-02-16 21:52:38 +08:00
|
|
|
"multer": "^1.4.2",
|
2020-02-11 20:24:56 +08:00
|
|
|
"ncp": "^2.0.0",
|
2020-02-12 13:44:53 +08:00
|
|
|
"node-sass": "^4.13.1",
|
2020-02-11 20:42:41 +08:00
|
|
|
"postcss": "^7.0.26",
|
2019-12-30 13:15:14 +08:00
|
|
|
"postcss-cli": "^6.1.3",
|
|
|
|
"postcss-loader": "^3.0.0",
|
|
|
|
"prettier-eslint": "^9.0.1",
|
2019-05-24 14:41:33 +08:00
|
|
|
"progress-bar-webpack-plugin": "^1.12.1",
|
2019-12-30 13:15:14 +08:00
|
|
|
"regenerator-runtime": "^0.13.3",
|
2020-02-11 20:42:41 +08:00
|
|
|
"rollup": "^1.31.0",
|
|
|
|
"rollup-plugin-terser": "^5.2.0",
|
|
|
|
"rollup-plugin-vue": "^5.1.6",
|
2020-02-16 21:52:38 +08:00
|
|
|
"sass-loader": "^7.3.1",
|
2019-07-17 18:27:13 +08:00
|
|
|
"schema-utils": "^1.0.0",
|
2019-12-30 13:15:14 +08:00
|
|
|
"sinon": "^7.5.0",
|
2019-05-24 20:09:35 +08:00
|
|
|
"style-loader": "^0.23.1",
|
2019-06-28 15:08:31 +08:00
|
|
|
"stylelint": "^10.1.0",
|
|
|
|
"stylelint-config-recommended-scss": "^3.3.0",
|
2020-02-11 20:42:41 +08:00
|
|
|
"stylelint-scss": "^3.14.2",
|
|
|
|
"terser": "^4.6.3",
|
2019-09-18 22:01:34 +08:00
|
|
|
"tinycolor2": "^1.4.1",
|
2019-05-24 20:09:35 +08:00
|
|
|
"url-loader": "^1.1.2",
|
2019-12-30 13:15:14 +08:00
|
|
|
"vue": "^2.6.11",
|
|
|
|
"vue-i18n": "^8.15.3",
|
2020-06-18 23:38:54 +08:00
|
|
|
"vue-jest": "^4.0.0-beta.3",
|
2019-12-30 13:15:14 +08:00
|
|
|
"vue-loader": "^15.8.3",
|
2020-02-11 20:42:41 +08:00
|
|
|
"vue-router": "^3.1.5",
|
2019-12-30 13:15:14 +08:00
|
|
|
"vue-template-compiler": "^2.6.11",
|
2020-02-11 20:42:41 +08:00
|
|
|
"webpack": "^4.41.6",
|
2019-10-18 23:45:23 +08:00
|
|
|
"webpack-bundle-analyzer": "^3.6.0",
|
2019-12-30 13:15:14 +08:00
|
|
|
"webpack-cli": "^3.3.10",
|
2020-02-11 20:42:41 +08:00
|
|
|
"webpack-dev-server": "^3.10.3"
|
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",
|
2019-07-25 15:26:39 +08:00
|
|
|
"async-validator": "^1.11.5",
|
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-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",
|
2019-10-19 19:52:47 +08:00
|
|
|
"resize-observer-polyfill": "^1.5.1",
|
2020-02-12 13:44:53 +08:00
|
|
|
"vue-runtime-helpers": "^1.1.2",
|
|
|
|
"vue-virtual-scroller": "^1.0.0-rc.2"
|
2019-05-24 20:09:35 +08:00
|
|
|
}
|
2019-08-21 19:21:28 +08:00
|
|
|
}
|