[Improvement] remove unused dependencies & scripts (#453)

This commit is contained in:
neverland
2017-12-19 19:03:42 +08:00
committed by GitHub
parent f83f75a83b
commit 05a724c0c8
7 changed files with 59 additions and 1431 deletions
+3 -27
View File
@@ -1,16 +1,12 @@
{
"name": "vant",
"version": "0.11.13",
"description": "有赞vue wap组件库",
"description": "A Vue.js 2.0 Mobile UI at YouZan",
"main": "lib/vant.js",
"style": "lib/vant-css/index.css",
"unpkg": "lib/index.js",
"typings": "types/index.d.ts",
"files": [
"lib",
"src",
"packages"
],
"files": ["lib", "packages"],
"scripts": {
"bootstrap": "yarn || npm i && cd ./packages/vant-css/ && yarn || npm i && cd ../../",
"dev": "npm run build:file && webpack-dev-server --inline --config build/webpack.config.dev.js --content-base ./",
@@ -24,8 +20,6 @@
"deploy:cdn": "superman cdn /zanui/vant docs/dist/*.js docs/dist/*.css && superman cdn /zanui/vant/async_en-US docs/dist/async_en-US/*.js && superman cdn /zanui/vant/async_zh-CN docs/dist/async_zh-CN/*.js",
"deploy:docs": "rimraf docs/dist && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.config.prod.js",
"dist": "node build/bin/build-lib.js",
"clean": "rimraf lib && rimraf packages/*/lib",
"lint": "felint lint src/**/*.js packages/**/*.{js,vue} build/**/*.js",
"test": "karma start test/unit/karma.conf.js --single-run",
"test:coverage": "open test/unit/coverage/lcov-report/index.html",
"test:watch": "karma start test/unit/karma.conf.js",
@@ -36,11 +30,7 @@
"type": "git",
"url": "git@github.com:youzan/vant.git"
},
"keywords": [
"youzan",
"vue",
"component"
],
"keywords": ["youzan", "vue", "component"],
"author": "youzanfe",
"license": "MIT",
"dependencies": {
@@ -55,17 +45,13 @@
"avoriaz": "2.0.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-helper-vue-jsx-merge-props": "^2.0.3",
"babel-loader": "^7.1.2",
"babel-plugin-syntax-jsx": "^6.18.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-plugin-transform-vue-jsx": "^3.5.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.1",
"cache-loader": "^1.2.0",
"chai": "^4.1.2",
"cheerio": "^0.22.0",
"codecov": "^3.0.0",
"cross-env": "^5.1.1",
"css-loader": "^0.28.7",
@@ -73,14 +59,8 @@
"eslint-plugin-vue": "^2.1.0",
"extract-text-webpack-plugin": "3.0.2",
"fast-vue-md-loader": "^1.0.3",
"felint": "^0.5.0-alpha.3",
"file-save": "^0.2.0",
"friendly-errors-webpack-plugin": "^1.6.1",
"gh-pages": "^1.0.0",
"gulp": "^3.9.1",
"gulp-cssmin": "^0.2.0",
"gulp-postcss": "^7.0.0",
"gulp-util": "^3.0.8",
"html-webpack-plugin": "^2.29.0",
"isparta-loader": "^2.0.0",
"karma": "^1.7.1",
@@ -89,11 +69,8 @@
"karma-mocha": "^1.3.0",
"karma-phantomjs-launcher": "^1.0.4",
"karma-sinon-chai": "^1.3.2",
"karma-sourcemap-loader": "^0.3.7",
"karma-spec-reporter": "^0.0.32",
"karma-webpack": "^2.0.9",
"markdown-it": "^8.4.0",
"markdown-it-container": "^2.0.0",
"mocha": "^4.0.1",
"postcss": "^6.0.14",
"postcss-calc": "^6.0.0",
@@ -102,7 +79,6 @@
"precss": "2.0.0",
"progress-bar-webpack-plugin": "^1.10.0",
"rimraf": "^2.5.4",
"run-sequence": "^2.1.0",
"sinon": "^2.4.1",
"sinon-chai": "^2.12.0",
"style-loader": "^0.19.1",