mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-22 09:36:43 +03:00
Fix babel transpiling
This commit is contained in:
parent
d026421c65
commit
1ab28c7c96
|
@ -1,4 +1,13 @@
|
|||
{
|
||||
"presets": [ ["env", { "modules": "commonjs" }], "react", "flow" ],
|
||||
"plugins": [ "transform-class-properties", "transform-object-rest-spread", "add-module-exports", "transform-decorators-legacy" ]
|
||||
"plugins": [
|
||||
["transform-runtime", {
|
||||
"polyfill": false,
|
||||
"regenerator": true
|
||||
}],
|
||||
"transform-class-properties",
|
||||
"transform-object-rest-spread",
|
||||
"add-module-exports",
|
||||
"transform-decorators-legacy"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
"lint": "eslint src test",
|
||||
"lint:fix": "eslint --fix src test",
|
||||
"test": "jest --no-cache",
|
||||
"postinstall": "npm run build",
|
||||
"prepublishOnly": "npm run lint && npm run test && npm run clean && npm run build"
|
||||
"prepare": "npm run clean && npm run build",
|
||||
"prepublishOnly": "npm run lint && npm run test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-cli": "^6.10.1",
|
||||
|
|
Loading…
Reference in New Issue
Block a user