mirror of
https://github.com/leon-ai/leon.git
synced 2024-08-17 06:00:33 +03:00
chore: upgrade to Babel 7+
This commit is contained in:
parent
b7713e2fc9
commit
7093b7f037
2
.babelrc
2
.babelrc
@ -1,6 +1,6 @@
|
||||
{
|
||||
"presets": [
|
||||
["env", {
|
||||
["@babel/preset-env", {
|
||||
"targets": {
|
||||
"node": "current"
|
||||
}
|
||||
|
@ -7,8 +7,7 @@
|
||||
"jest/globals": true
|
||||
},
|
||||
"globals": {
|
||||
"io": true,
|
||||
"webkitSpeechRecognition": true
|
||||
"io": true
|
||||
},
|
||||
"plugins": [
|
||||
"import",
|
||||
@ -16,7 +15,12 @@
|
||||
],
|
||||
"settings": {
|
||||
"import/resolver": {
|
||||
"babel-module": { }
|
||||
"babel-module": {
|
||||
"alias": {
|
||||
"@@": ".",
|
||||
"@": "./server/src"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"rules": {
|
||||
|
4492
package-lock.json
generated
4492
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
15
package.json
15
package.json
@ -70,18 +70,19 @@
|
||||
"watson-developer-cloud": "^3.16.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-cli": "^6.26.0",
|
||||
"babel-core": "^6.26.0",
|
||||
"babel-plugin-module-resolver": "^3.1.1",
|
||||
"babel-preset-env": "^1.6.1",
|
||||
"babelify": "^7.3.0",
|
||||
"@babel/cli": "^7.4.4",
|
||||
"@babel/core": "^7.4.5",
|
||||
"@babel/node": "^7.4.5",
|
||||
"@babel/preset-env": "^7.4.5",
|
||||
"babel-plugin-module-resolver": "^3.2.0",
|
||||
"babelify": "^10.0.0",
|
||||
"browser-sync": "^2.26.7",
|
||||
"browserify": "^14.4.0",
|
||||
"cli-spinner": "^0.2.8",
|
||||
"envify": "^4.1.0",
|
||||
"eslint": "^5.16.0",
|
||||
"eslint-config-airbnb-base": "^11.2.0",
|
||||
"eslint-import-resolver-babel-module": "^4.0.0",
|
||||
"eslint-import-resolver-babel-module": "^5.1.0",
|
||||
"eslint-plugin-import": "^2.12.0",
|
||||
"eslint-plugin-jest": "^21.17.0",
|
||||
"git-changelog": "git+https://git@github.com/louistiti/git-changelog.git",
|
||||
@ -89,7 +90,7 @@
|
||||
"inquirer": "^5.1.0",
|
||||
"jest": "^24.7.1",
|
||||
"jest-canvas-mock": "^2.0.0-alpha.3",
|
||||
"jest-extended": "^0.11.1",
|
||||
"jest-extended": "git+https://github.com/leon-ai/jest-extended.git",
|
||||
"json": "^9.0.6",
|
||||
"nodemon": "^1.18.9",
|
||||
"semver": "^5.6.0",
|
||||
|
Loading…
Reference in New Issue
Block a user