commit
6d39725d47
21
index.js
21
index.js
|
@ -9,20 +9,17 @@ var babylonOptions = {
|
|||
allowImportExportEverywhere: false,
|
||||
allowReturnOutsideFunction: false,
|
||||
plugins: [
|
||||
'asyncFunctions',
|
||||
'asyncGenerators',
|
||||
'classConstructorCall',
|
||||
'classProperties',
|
||||
'decorators',
|
||||
'doExpressions',
|
||||
'exponentiationOperator',
|
||||
'exportExtensions',
|
||||
'flow',
|
||||
'functionSent',
|
||||
'functionBind',
|
||||
'jsx',
|
||||
'flow',
|
||||
'doExpressions',
|
||||
'objectRestSpread',
|
||||
'trailingFunctionCommas'
|
||||
'decorators',
|
||||
'classProperties',
|
||||
'exportExtensions',
|
||||
'asyncGenerators',
|
||||
'functionBind',
|
||||
'functionSent',
|
||||
'dynamicImport'
|
||||
]
|
||||
};
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"main": "./index.js",
|
||||
"dependencies": {
|
||||
"ast-types": "git+https://github.com/jlongster/ast-types.git",
|
||||
"babylon": "git+https://github.com/jlongster/babylon.git#published",
|
||||
"babylon": "^6.15.0",
|
||||
"flow-parser": "^0.37.0",
|
||||
"minimist": "^1.2.0",
|
||||
"private": "^0.1.6",
|
||||
|
|
Loading…
Reference in New Issue