refactor svg (#181)

This commit is contained in:
花裤衩
2018-09-17 16:15:40 +08:00
committed by GitHub
parent f16fc88a56
commit 8df732281d
11 changed files with 34 additions and 10 deletions

View File

@@ -10,7 +10,8 @@
"build": "node build/build.js",
"build:report": "npm_config_report=true npm run build",
"lint": "eslint --ext .js,.vue src",
"test": "npm run lint"
"test": "npm run lint",
"svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml"
},
"dependencies": {
"axios": "0.18.0",
@@ -59,6 +60,7 @@
"semver": "5.5.0",
"shelljs": "0.8.2",
"svg-sprite-loader": "3.8.0",
"svgo": "1.0.5",
"uglifyjs-webpack-plugin": "1.2.7",
"url-loader": "1.0.1",
"vue-loader": "15.3.0",