move to @nextcloud/vue

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2019-10-26 12:02:10 +02:00
parent 0d98d02b76
commit 2c7e306289
4 changed files with 19 additions and 20 deletions

View File

@@ -1,18 +0,0 @@
{
"plugins": [
"@babel/plugin-syntax-dynamic-import"
],
"presets": [
[
"@babel/preset-env",
{
"targets": {
"browsers": [
"last 2 versions",
"ie >= 11"
]
}
}
]
]
}

11
babel.config.js Normal file
View File

@@ -0,0 +1,11 @@
module.exports = {
plugins: ['@babel/plugin-syntax-dynamic-import'],
presets: [
[
'@babel/preset-env',
{
modules: false
}
]
]
}

6
package-lock.json generated
View File

@@ -2832,6 +2832,12 @@
}
}
},
"@nextcloud/browserslist-config": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@nextcloud/browserslist-config/-/browserslist-config-1.0.0.tgz",
"integrity": "sha512-f+sKpdLZXkODV+OY39K1M+Spmd4RgxmtEXmNn4Bviv4R7uBFHXuw+JX9ZdfDeOryfHjJ/TRQxQEp0GMpBwZFUw==",
"dev": true
},
"@nextcloud/event-bus": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/@nextcloud/event-bus/-/event-bus-0.2.1.tgz",

View File

@@ -45,8 +45,7 @@
"vuex-router-sync": "^5.0.0"
},
"browserslist": [
"last 2 versions",
"not ie <= 11"
"extends @nextcloud/browserslist-config"
],
"engines": {
"node": ">=10.0.0"
@@ -55,6 +54,7 @@
"@babel/core": "^7.7.4",
"@babel/plugin-syntax-dynamic-import": "^7.7.4",
"@babel/preset-env": "^7.7.4",
"@nextcloud/browserslist-config": "^1.0.0",
"@vue/test-utils": "^1.0.0-beta.29",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",