小程式自動修復程式碼規範
阿新 • • 發佈:2018-11-22
1。package.json:修改下面一行程式碼:
{
"name": "mpvue-demo",
"version": "1.0.0",
"description": "A Mpvue project",
"author": "",
"private": true,
"scripts": {
"dev": "node build/dev-server.js",
"start": "node build/dev-server.js",
"build": "node build/build.js",
"lint": "eslint --ext .js,.vue src"
},
{
"name": "mpvue-demo",
"version": "1.0.0",
"description": "A Mpvue project",
"author": "",
"private": true,
"scripts": {
"dev": "node build/dev-server.js",
"start": "node build/dev-server.js",
"build": "node build/build.js",
"lint": "eslint --fix --ext .js,.vue src"
},