[Build] reduce dependencies (#422)

This commit is contained in:
neverland 2018-08-13 17:49:06 +08:00 committed by GitHub
parent 45576807b7
commit a122ba4826
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 52 additions and 599 deletions

View File

@ -1,5 +1,5 @@
require('./compiler');
const fs = require('fs-extra');
const fs = require('fs');
const path = require('path');
const glob = require('fast-glob');
const serve = require('webpack-serve');

View File

@ -4,7 +4,7 @@
"author": "youzan",
"license": "MIT",
"miniprogram": "dist",
"description": "高颜值、好用、易扩展的小程序 UI 库Powered by 有赞",
"description": "轻量、可靠的小程序 UI 组件库",
"scripts": {
"dev": "node build/dev.js",
"lint": "eslint ./packages --ext .js",
@ -20,17 +20,11 @@
"type": "git",
"url": "git+ssh://git@github.com/youzan/vant-weapp.git"
},
"bugs": {
"url": "https://github.com/youzan/vant-weapp/issues"
},
"homepage": "https://github.com/youzan/vant-weapp#readme",
"devDependencies": {
"autoprefixer": "^9.0.2",
"babel-cli": "^6.26.0",
"autoprefixer": "^9.1.1",
"babel-core": "^6.26.3",
"babel-jest": "^23.4.2",
"babel-loader": "^7.1.5",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-0": "^6.24.1",
"cross-env": "^5.1.4",
@ -39,32 +33,24 @@
"eslint-plugin-vue-libs": "^3.0.0",
"fast-glob": "^2.2.2",
"fast-vue-md-loader": "^1.0.3",
"fs-extra": "^7.0.0",
"gh-pages": "^1.2.0",
"gulp": "^3.9.1",
"gulp-babel": "^7.0.1",
"gulp-clean-css": "^3.9.0",
"gulp-postcss": "^8.0.0",
"gulp-rename": "^1.2.2",
"gulp-util": "^3.0.8",
"html-webpack-plugin": "^3.2.0",
"node-watch": "^0.5.5",
"postcss-calc": "^6.0.1",
"postcss-easy-import": "^3.0.0",
"postcss-loader": "^3.0.0",
"precss": "^2.0.0",
"progress-bar-webpack-plugin": "^1.11.0",
"shelljs": "^0.8.2",
"style-loader": "^0.22.1",
"url-loader": "^1.0.1",
"vant-doc": "^1.0.14",
"vue": "2.5.17",
"vue-loader": "^15.2.6",
"vue-router": "^3.0.1",
"vue-template-compiler": "2.5.17",
"vue-template-es2015-compiler": "^1.6.0",
"webpack": "^4.16.5",
"webpack-cli": "^3.1.0",
"webpack-serve": "^2.0.2"
}
}

631
yarn.lock

File diff suppressed because it is too large Load Diff