mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 07:59:48 +03:00
Add babel
This commit is contained in:
parent
68826ebb09
commit
fc79ba6237
4
packages/remotedev-serialize/.babelrc
Normal file
4
packages/remotedev-serialize/.babelrc
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"presets": ["@babel/preset-env"],
|
||||||
|
"plugins": ["@babel/plugin-proposal-class-properties"]
|
||||||
|
}
|
|
@ -4,9 +4,11 @@
|
||||||
"description": "Serialize unserializable data and parse it back.",
|
"description": "Serialize unserializable data and parse it back.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint src test",
|
"clean": "rimraf lib",
|
||||||
|
"build": "babel src --out-dir lib",
|
||||||
"test": "jest --no-cache",
|
"test": "jest --no-cache",
|
||||||
"prepublish": "npm run lint && npm run test"
|
"prepare": "npm run build",
|
||||||
|
"prepublishOnly": "npm run test && npm run clean && npm run build"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -23,6 +25,10 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/reduxjs/redux-devtools",
|
"homepage": "https://github.com/reduxjs/redux-devtools",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@babel/cli": "^7.10.5",
|
||||||
|
"@babel/core": "^7.11.0",
|
||||||
|
"@babel/plugin-proposal-class-properties": "^7.10.4",
|
||||||
|
"@babel/preset-env": "^7.11.0",
|
||||||
"immutable": "^3.8.2"
|
"immutable": "^3.8.2"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user