1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/.babelrc
Ayush Sharma 9cd3ccb408 fix: login without reload (#678) (#679) (#914)
* fix: login without reload (#678) (#679)

* fix: implements code review suggestions (#914)

* refactor: adds scope to the app

* refactor: handles null value from localstorage for username

* refactor: removes text type from <Input />

* refactor: replaces isNull with isNil

* refactor: improves makeLogin method

* refactor: adds error from api constant

* fix: updates error using API_ERROR constant in tests

* refactor: updates regex for moduleMapper in jest config
2018-08-20 16:29:47 +02:00

78 lines
1.6 KiB
Plaintext

{
"env": {
"ui": {
"presets": [
"react",
["env",{
"targets": {
"browsers": [
"last 5 versions",
"FireFox >= 44",
"Safari >= 7",
"Explorer 11",
"last 4 Edge versions"
],
"loose": true
}
}],
"stage-2",
"stage-3"
],
"plugins": [
"react-hot-loader/babel",
"transform-runtime",
"transform-object-rest-spread",
"transform-decorators-legacy",
"syntax-dynamic-import"
]
},
"test": {
"presets": [["env", {
"targets": {
"node": "6.10"
}
}], "flow", "react"],
"plugins": [
"transform-class-properties",
"transform-object-rest-spread",
"babel-plugin-dynamic-import-node"
]
},
"testOldEnv": {
"presets": [ "es2015-node4", "flow"],
"plugins": [
"transform-class-properties",
"transform-object-rest-spread"
]
},
"registry": {
"presets": [
["env", {
"targets": {
"node": "6.10"
}
}], "stage-3", "flow"],
"plugins": [
"transform-object-rest-spread",
"transform-class-properties"
]
},
"registry-docker": {
"presets": [
["env", {
"targets": {
"node": "10"
}
}], "flow"],
"plugins": [
"transform-object-rest-spread",
"transform-class-properties"
]
},
"development": {
"presets": ["flow"],
"plugins": ["flow-runtime"]
}
}
}