remove now obsolete babel plugins
This commit is contained in:
parent
4120248d75
commit
3b59865eb5
|
@ -7,9 +7,7 @@ if (process.argv.indexOf('-d') === -1 && process.argv.indexOf('--development') =
|
||||||
|
|
||||||
require('babel-core/register')({
|
require('babel-core/register')({
|
||||||
plugins: [
|
plugins: [
|
||||||
'transform-es2015-modules-commonjs',
|
'transform-es2015-modules-commonjs'
|
||||||
'syntax-async-functions',
|
|
||||||
'transform-async-to-generator'
|
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -305,36 +305,6 @@
|
||||||
"trim-right": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz"
|
"trim-right": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"babel-helper-function-name": {
|
|
||||||
"version": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz",
|
|
||||||
"integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=",
|
|
||||||
"requires": {
|
|
||||||
"babel-helper-get-function-arity": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz",
|
|
||||||
"babel-runtime": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.23.0.tgz",
|
|
||||||
"babel-template": "https://registry.npmjs.org/babel-template/-/babel-template-6.25.0.tgz",
|
|
||||||
"babel-traverse": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.25.0.tgz",
|
|
||||||
"babel-types": "https://registry.npmjs.org/babel-types/-/babel-types-6.25.0.tgz"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"babel-helper-get-function-arity": {
|
|
||||||
"version": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz",
|
|
||||||
"integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=",
|
|
||||||
"requires": {
|
|
||||||
"babel-runtime": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.23.0.tgz",
|
|
||||||
"babel-types": "https://registry.npmjs.org/babel-types/-/babel-types-6.25.0.tgz"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"babel-helper-remap-async-to-generator": {
|
|
||||||
"version": "https://registry.npmjs.org/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz",
|
|
||||||
"integrity": "sha1-XsWBgnrXI/7N04HxySg5BnbkVRs=",
|
|
||||||
"requires": {
|
|
||||||
"babel-helper-function-name": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz",
|
|
||||||
"babel-runtime": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.23.0.tgz",
|
|
||||||
"babel-template": "https://registry.npmjs.org/babel-template/-/babel-template-6.25.0.tgz",
|
|
||||||
"babel-traverse": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.25.0.tgz",
|
|
||||||
"babel-types": "https://registry.npmjs.org/babel-types/-/babel-types-6.25.0.tgz"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"babel-helpers": {
|
"babel-helpers": {
|
||||||
"version": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz",
|
"version": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz",
|
||||||
"integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=",
|
"integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=",
|
||||||
|
@ -350,19 +320,6 @@
|
||||||
"babel-runtime": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.23.0.tgz"
|
"babel-runtime": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.23.0.tgz"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"babel-plugin-syntax-async-functions": {
|
|
||||||
"version": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz",
|
|
||||||
"integrity": "sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU="
|
|
||||||
},
|
|
||||||
"babel-plugin-transform-async-to-generator": {
|
|
||||||
"version": "https://registry.npmjs.org/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz",
|
|
||||||
"integrity": "sha1-ZTbjeK/2yx1VF6wOQOs+n8jQh2E=",
|
|
||||||
"requires": {
|
|
||||||
"babel-helper-remap-async-to-generator": "https://registry.npmjs.org/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz",
|
|
||||||
"babel-plugin-syntax-async-functions": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz",
|
|
||||||
"babel-runtime": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.23.0.tgz"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"babel-plugin-transform-es2015-modules-commonjs": {
|
"babel-plugin-transform-es2015-modules-commonjs": {
|
||||||
"version": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.24.1.tgz",
|
"version": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.24.1.tgz",
|
||||||
"integrity": "sha1-0+MQtA72ZKNmIiAAl8bUQCmPK/4=",
|
"integrity": "sha1-0+MQtA72ZKNmIiAAl8bUQCmPK/4=",
|
||||||
|
|
|
@ -31,8 +31,6 @@
|
||||||
"homepage": "https://github.com/IcyNet/IcyNet.eu#readme",
|
"homepage": "https://github.com/IcyNet/IcyNet.eu#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"babel-core": "^6.25.0",
|
"babel-core": "^6.25.0",
|
||||||
"babel-plugin-syntax-async-functions": "^6.13.0",
|
|
||||||
"babel-plugin-transform-async-to-generator": "^6.24.1",
|
|
||||||
"babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
|
"babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
|
||||||
"bcryptjs": "^2.4.3",
|
"bcryptjs": "^2.4.3",
|
||||||
"body-parser": "^1.17.2",
|
"body-parser": "^1.17.2",
|
||||||
|
|
|
@ -5,9 +5,7 @@ const util = require('util')
|
||||||
|
|
||||||
require('babel-core/register')({
|
require('babel-core/register')({
|
||||||
plugins: [
|
plugins: [
|
||||||
'transform-es2015-modules-commonjs',
|
'transform-es2015-modules-commonjs'
|
||||||
'syntax-async-functions',
|
|
||||||
'transform-async-to-generator'
|
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Reference in New Issue