mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-25 11:03:57 +03:00
Fix babel transpiling
This commit is contained in:
parent
1806f372f1
commit
d1879046d9
|
@ -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