Skip to content

Commit 21fe3b9

Browse files
author
mcibique
committedAug 28, 2018
Updated vue cli to version 3.0.1. Fixed issues with decorators and babel@7.
1 parent e290c67 commit 21fe3b9

12 files changed

+9559
-13371
lines changed
 

‎.babelrc

-26
This file was deleted.

‎.browserslistrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
> 1%
2+
last 2 versions
3+
not ie <= 8

‎.eslintrc.js

+11-10
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
module.exports = {
22
root: true,
3-
parserOptions: {
4-
ecmaVersion: 2017,
5-
parser: "babel-eslint",
6-
sourceType: "module"
7-
},
83
env: {
4+
node: true,
95
mocha: true
106
},
117
extends: [
12-
"plugin:vue/essential",
13-
"@vue/standard"
8+
'plugin:vue/essential',
9+
'@vue/standard'
1410
],
1511
rules: {
16-
"semi": ["error", "always"],
17-
"quotes": ["error", "single", { "avoidEscape": true, "allowTemplateLiterals": true }],
18-
"no-unused-expressions": "off"
12+
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
13+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
14+
'semi': ['error', 'always'],
15+
'quotes': ['error', 'single', { 'avoidEscape': true, 'allowTemplateLiterals': true }],
16+
'no-unused-expressions': 'off'
17+
},
18+
parserOptions: {
19+
parser: 'babel-eslint'
1920
}
2021
}

‎.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,7 @@ yarn-error.log*
1818
*.ntvs*
1919
*.njsproj
2020
*.sln
21+
*.sw*
22+
2123

2224
test/reports

‎.postcssrc

-5
This file was deleted.

‎.postcssrc.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
plugins: {
3+
autoprefixer: {}
4+
}
5+
}

‎babel.config.js

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
module.exports = {
2+
presets: [
3+
['@vue/app', { jsx: false, loose: true }]
4+
],
5+
'env': {
6+
'test': {
7+
'plugins': [
8+
'istanbul'
9+
]
10+
}
11+
}
12+
};

0 commit comments

Comments
 (0)
Please sign in to comment.