Comparing version 1.3.2 to 1.3.3
{ | ||
"name": "yu-init", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
{ | ||
"name": "test-1", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "webpack.config.js", | ||
"description": "前端项目", | ||
"main": "", | ||
"scripts": { | ||
"dev": "webpack-dev-server --open --config webpack/webpack.dev.js", | ||
"pro": "webpack --config webpack/webpack.pro.js" | ||
"pro": "webpack --config webpack/webpack.pro.js", | ||
"lint": "eslint --fix --ext .js,.vue src" | ||
}, | ||
@@ -16,2 +17,3 @@ "author": "", | ||
"autoprefixer": "^9.7.4", | ||
"babel-eslint": "^10.1.0", | ||
"babel-loader": "^8.0.6", | ||
@@ -22,2 +24,10 @@ "clean-webpack-plugin": "^3.0.0", | ||
"ejs-loader": "^0.3.5", | ||
"eslint": "^6.8.0", | ||
"eslint-config-standard": "^14.1.1", | ||
"eslint-loader": "^4.0.0", | ||
"eslint-plugin-import": "^2.20.2", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-promise": "^4.2.1", | ||
"eslint-plugin-standard": "^4.0.1", | ||
"eslint-plugin-vue": "^6.2.2", | ||
"file-loader": "^5.1.0", | ||
@@ -32,3 +42,3 @@ "html-loader": "^0.5.5", | ||
"style-loader": "^1.1.3", | ||
"uglifyjs-webpack-plugin": "^1.3.0", | ||
"uglifyjs-webpack-plugin": "^1.3.0", | ||
"vue-loader": "^15.9.0", | ||
@@ -35,0 +45,0 @@ "vue-template-compiler": "^2.6.11", |
@@ -1,8 +0,9 @@ | ||
import Vue from 'vue'; | ||
import App from './app.vue'; | ||
import './public/style.css'; | ||
import Vue from 'vue' | ||
import App from './app.vue' | ||
import './public/style.css' | ||
/* eslint-disable no-new */ | ||
new Vue({ | ||
el:'#app', | ||
render:h=>h(App) | ||
el: '#app', | ||
render: h => h(App) | ||
}); |
@@ -61,2 +61,12 @@ const path = require('path'); | ||
rules:[ | ||
{ | ||
test: /\.(js|vue)$/, | ||
loader: 'eslint-loader', | ||
enforce: 'pre', | ||
include: [ path.join(__dirname,'../','src') ], | ||
options: { | ||
fix:true, | ||
emitWarning:true | ||
} | ||
}, | ||
{ | ||
@@ -63,0 +73,0 @@ test:/\.(html|ejs)$/, |
@@ -88,2 +88,12 @@ const path = require('path'); | ||
rules:[ | ||
{ | ||
test: /\.(js|vue)$/, | ||
loader: 'eslint-loader', | ||
enforce: 'pre', | ||
include: [ path.join(__dirname,'../','src') ], | ||
options: { | ||
fix:true, | ||
emitWarning:true | ||
} | ||
}, | ||
{ | ||
@@ -90,0 +100,0 @@ test:/\.(html|ejs)$/, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
711506
692