package.json的script为
"scripts": {
"dev": "nodemon -w ./server -w ./start.js --exec node ./start.js",
"build": "nuxt build",
"start": "cross-env NODE_ENV=production node build/main.js",
"precommit": "npm run lint",
"lint": "eslint --ext .js,.vue --ignore-path .gitignore ."
},