mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-01-31 11:51:41 +03:00
Update babel
This commit is contained in:
parent
6907c48147
commit
818d685ec7
14
babel.config.js
Executable file
14
babel.config.js
Executable file
|
@ -0,0 +1,14 @@
|
||||||
|
module.exports = {
|
||||||
|
presets: ['@babel/preset-env', '@babel/preset-react', '@babel/preset-flow'],
|
||||||
|
plugins: [
|
||||||
|
[
|
||||||
|
'@babel/plugin-transform-runtime',
|
||||||
|
{
|
||||||
|
regenerator: true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
['@babel/plugin-proposal-decorators', { legacy: true }],
|
||||||
|
'@babel/plugin-proposal-class-properties',
|
||||||
|
'@babel/plugin-proposal-export-default-from'
|
||||||
|
]
|
||||||
|
};
|
|
@ -7,7 +7,7 @@
|
||||||
"eslint-plugin-babel": "^5.3.0",
|
"eslint-plugin-babel": "^5.3.0",
|
||||||
"eslint-plugin-prettier": "^3.0.1",
|
"eslint-plugin-prettier": "^3.0.1",
|
||||||
"eslint-plugin-react": "7.12.3",
|
"eslint-plugin-react": "7.12.3",
|
||||||
"jest": "^23.6.0",
|
"jest": "^24.1.0",
|
||||||
"lerna": "3.9.0",
|
"lerna": "3.9.0",
|
||||||
"lint-staged": "^8.1.0",
|
"lint-staged": "^8.1.0",
|
||||||
"prettier": "^1.15.3"
|
"prettier": "^1.15.3"
|
||||||
|
@ -30,6 +30,9 @@
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"packages/*"
|
"packages/*"
|
||||||
],
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=8.0.0"
|
||||||
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.{js,jsx}": [
|
"*.{js,jsx}": [
|
||||||
"prettier --single-quote --write",
|
"prettier --single-quote --write",
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
{
|
{
|
||||||
"presets": ["es2015-loose", "stage-0"]
|
"presets": ["@babel/preset-env"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,12 +33,10 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/reduxjs/redux-devtools",
|
"homepage": "https://github.com/reduxjs/redux-devtools",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-cli": "^6.26.0",
|
"@babel/cli": "^7.2.3",
|
||||||
"babel-core": "^6.26.0",
|
"@babel/core": "^7.2.2",
|
||||||
"babel-loader": "^7.1.5",
|
"@babel/preset-env": "^7.3.1",
|
||||||
"babel-preset-es2015-loose": "^6.1.3",
|
"babel-loader": "^8.0.5",
|
||||||
"babel-preset-react": "^6.3.13",
|
|
||||||
"babel-preset-stage-0": "^6.3.13",
|
|
||||||
"rimraf": "^2.3.4",
|
"rimraf": "^2.3.4",
|
||||||
"webpack": "^4.27.1",
|
"webpack": "^4.27.1",
|
||||||
"webpack-cli": "^3.2.0"
|
"webpack-cli": "^3.2.0"
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
{
|
{
|
||||||
"presets": ["es2015", "stage-0", "react"]
|
"presets": ["@babel/preset-env", "@babel/preset-react"],
|
||||||
|
"plugins": ["@babel/plugin-proposal-class-properties", "@babel/plugin-proposal-export-default-from"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,33 +0,0 @@
|
||||||
// IMPORTANT
|
|
||||||
// ---------
|
|
||||||
// This is an auto generated file with React CDK.
|
|
||||||
// Do not modify this file.
|
|
||||||
// Use `.scripts/user/pretest.js instead`.
|
|
||||||
|
|
||||||
require('babel-core/register');
|
|
||||||
require('babel-polyfill');
|
|
||||||
|
|
||||||
// Add jsdom support, which is required for enzyme.
|
|
||||||
var jsdom = require('jsdom').jsdom;
|
|
||||||
|
|
||||||
var exposedProperties = ['window', 'navigator', 'document'];
|
|
||||||
|
|
||||||
global.document = jsdom('');
|
|
||||||
global.window = document.defaultView;
|
|
||||||
Object.keys(document.defaultView).forEach(property => {
|
|
||||||
if (typeof global[property] === 'undefined') {
|
|
||||||
exposedProperties.push(property);
|
|
||||||
global[property] = document.defaultView[property];
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
global.navigator = {
|
|
||||||
userAgent: 'node.js'
|
|
||||||
};
|
|
||||||
|
|
||||||
process.on('unhandledRejection', function(error) {
|
|
||||||
console.error('Unhandled Promise Rejection:');
|
|
||||||
console.error((error && error.stack) || error);
|
|
||||||
});
|
|
||||||
|
|
||||||
require('./user/pretest.js');
|
|
|
@ -28,25 +28,24 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/reduxjs/redux-devtools",
|
"homepage": "https://github.com/reduxjs/redux-devtools",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@babel/cli": "^7.2.3",
|
||||||
|
"@babel/core": "^7.2.2",
|
||||||
|
"@babel/plugin-proposal-class-properties": "^7.3.0",
|
||||||
|
"@babel/plugin-proposal-decorators": "^7.3.0",
|
||||||
|
"@babel/plugin-proposal-export-default-from": "^7.2.0",
|
||||||
|
"@babel/plugin-transform-runtime": "^7.2.0",
|
||||||
|
"@babel/preset-env": "^7.3.1",
|
||||||
|
"@babel/preset-react": "^7.0.0",
|
||||||
"@storybook/addon-actions": "^4.1.4",
|
"@storybook/addon-actions": "^4.1.4",
|
||||||
"@storybook/addon-info": "^4.1.4",
|
"@storybook/addon-info": "^4.1.4",
|
||||||
"@storybook/addon-knobs": "^4.1.4",
|
"@storybook/addon-knobs": "^4.1.4",
|
||||||
"@storybook/addon-options": "^4.1.4",
|
"@storybook/addon-options": "^4.1.4",
|
||||||
"@storybook/react": "4.0.9",
|
"@storybook/react": "4.0.9",
|
||||||
"babel-cli": "^6.26.0",
|
|
||||||
"babel-core": "^6.26.0",
|
|
||||||
"babel-jest": "^21.2.0",
|
|
||||||
"babel-loader": "^7.1.2",
|
|
||||||
"babel-plugin-transform-runtime": "^6.23.0",
|
|
||||||
"babel-polyfill": "^6.26.0",
|
|
||||||
"babel-preset-es2015": "^6.24.1",
|
|
||||||
"babel-preset-react": "^6.24.1",
|
|
||||||
"babel-preset-stage-0": "^6.16.0",
|
|
||||||
"enzyme": "^3.1.0",
|
"enzyme": "^3.1.0",
|
||||||
"enzyme-adapter-react-16": "^1.0.2",
|
"enzyme-adapter-react-16": "^1.0.2",
|
||||||
"enzyme-to-json": "^3.1.4",
|
"enzyme-to-json": "^3.1.4",
|
||||||
"git-url-parse": "^7.0.1",
|
"git-url-parse": "^7.0.1",
|
||||||
"jest": "^23.6.0",
|
"jest": "^24.1.0",
|
||||||
"jsdom": "^11.3.0",
|
"jsdom": "^11.3.0",
|
||||||
"react": "^16.0.0",
|
"react": "^16.0.0",
|
||||||
"react-addons-test-utils": "^15.6.2",
|
"react-addons-test-utils": "^15.6.2",
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
{
|
{
|
||||||
"presets": ["es2015-loose", "stage-0"]
|
"presets": ["@babel/preset-env"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,14 +30,12 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/reduxjs/redux-devtools",
|
"homepage": "https://github.com/reduxjs/redux-devtools",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-cli": "^6.26.0",
|
"@babel/cli": "^7.2.3",
|
||||||
"babel-core": "^6.26.0",
|
"@babel/core": "^7.2.2",
|
||||||
"babel-loader": "^6.2.0",
|
"@babel/preset-env": "^7.3.1",
|
||||||
"babel-preset-es2015-loose": "^6.1.3",
|
"babel-loader": "^8.0.5",
|
||||||
"babel-preset-react": "^6.3.13",
|
|
||||||
"babel-preset-stage-0": "^6.3.13",
|
|
||||||
"immutable": "3.7.6",
|
"immutable": "3.7.6",
|
||||||
"jest": "^23.6.0",
|
"jest": "^24.1.0",
|
||||||
"rimraf": "^2.3.4",
|
"rimraf": "^2.3.4",
|
||||||
"webpack": "^4.27.1",
|
"webpack": "^4.27.1",
|
||||||
"webpack-cli": "^3.2.0"
|
"webpack-cli": "^3.2.0"
|
||||||
|
|
|
@ -1,16 +1,4 @@
|
||||||
{
|
{
|
||||||
"plugins": [
|
"presets": ["@babel/preset-env", "@babel/preset-react"],
|
||||||
"transform-runtime",
|
"plugins": ["@babel/plugin-proposal-class-properties"]
|
||||||
"transform-es3-property-literals",
|
|
||||||
"transform-es3-member-expression-literals",
|
|
||||||
"transform-object-rest-spread",
|
|
||||||
"transform-class-properties"
|
|
||||||
],
|
|
||||||
"presets": [[
|
|
||||||
"env",
|
|
||||||
{
|
|
||||||
"loose": true,
|
|
||||||
"shippedProposals": true
|
|
||||||
}
|
|
||||||
], "react"]
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,18 +39,13 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/reduxjs/redux-devtools",
|
"homepage": "https://github.com/reduxjs/redux-devtools",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-cli": "^6.26.0",
|
"@babel/cli": "^7.2.3",
|
||||||
"babel-core": "^6.26.0",
|
"@babel/core": "^7.2.2",
|
||||||
"babel-loader": "^7.1.5",
|
"@babel/plugin-proposal-class-properties": "^7.3.0",
|
||||||
"babel-plugin-transform-class-properties": "^6.24.1",
|
"@babel/preset-env": "^7.3.1",
|
||||||
"babel-plugin-transform-es3-member-expression-literals": "^6.22.0",
|
"@babel/preset-react": "^7.0.0",
|
||||||
"babel-plugin-transform-es3-property-literals": "^6.22.0",
|
"babel-loader": "^8.0.5",
|
||||||
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
"jest": "^24.1.0",
|
||||||
"babel-plugin-transform-runtime": "^6.23.0",
|
|
||||||
"babel-preset-env": "^1.6.1",
|
|
||||||
"babel-preset-react": "^6.5.0",
|
|
||||||
"husky": "^0.14.3",
|
|
||||||
"jest": "^23.6.0",
|
|
||||||
"react": "^16.0.0",
|
"react": "^16.0.0",
|
||||||
"react-dom": "^16.0.0",
|
"react-dom": "^16.0.0",
|
||||||
"react-test-renderer": "^16.0.0",
|
"react-test-renderer": "^16.0.0",
|
||||||
|
@ -64,7 +59,6 @@
|
||||||
"react-dom": "^15.0.0 || ^16.0.0"
|
"react-dom": "^15.0.0 || ^16.0.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"babel-runtime": "^6.6.1",
|
|
||||||
"prop-types": "^15.5.8",
|
"prop-types": "^15.5.8",
|
||||||
"react-base16-styling": "^0.5.1"
|
"react-base16-styling": "^0.5.1"
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,7 +57,7 @@
|
||||||
"uuid": "^3.0.1"
|
"uuid": "^3.0.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"jest": "^23.6.0",
|
"jest": "^24.1.0",
|
||||||
"socketcluster-client": "^14.0.0",
|
"socketcluster-client": "^14.0.0",
|
||||||
"supertest": "^3.0.0"
|
"supertest": "^3.0.0"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{
|
{
|
||||||
"presets": [ "es2015", "stage-0", "react" ],
|
"presets": ["@babel/preset-env", "@babel/preset-react"],
|
||||||
"plugins": [ "add-module-exports", "transform-decorators-legacy" ]
|
"plugins": ["@babel/plugin-proposal-class-properties"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,17 +36,12 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/reduxjs/redux-devtools",
|
"homepage": "https://github.com/reduxjs/redux-devtools",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-cli": "^6.26.0",
|
"@babel/cli": "^7.2.3",
|
||||||
"babel-core": "^6.26.3",
|
"@babel/core": "^7.2.2",
|
||||||
"babel-loader": "^7.1.5",
|
"@babel/plugin-proposal-class-properties": "^7.3.0",
|
||||||
"babel-plugin-add-module-exports": "^0.2.1",
|
"@babel/preset-env": "^7.3.1",
|
||||||
"babel-plugin-react-transform": "^2.0.2",
|
"@babel/preset-react": "^7.0.0",
|
||||||
"babel-plugin-transform-decorators-legacy": "^1.3.4",
|
"babel-loader": "^8.0.5",
|
||||||
"babel-preset-env": "^1.1.8",
|
|
||||||
"babel-preset-es2015": "^6.24.1",
|
|
||||||
"babel-preset-react": "^6.22.0",
|
|
||||||
"babel-preset-stage-0": "^6.22.0",
|
|
||||||
"babel-register": "^6.22.0",
|
|
||||||
"copy-webpack-plugin": "^4.0.1",
|
"copy-webpack-plugin": "^4.0.1",
|
||||||
"css-loader": "^2.1.0",
|
"css-loader": "^2.1.0",
|
||||||
"enzyme": "^3.1.0",
|
"enzyme": "^3.1.0",
|
||||||
|
@ -55,7 +50,7 @@
|
||||||
"file-loader": "^3.0.0",
|
"file-loader": "^3.0.0",
|
||||||
"html-loader": "^0.4.4",
|
"html-loader": "^0.4.4",
|
||||||
"html-webpack-plugin": "^3.2.0",
|
"html-webpack-plugin": "^3.2.0",
|
||||||
"jest": "^23.6.0",
|
"jest": "^24.1.0",
|
||||||
"raw-loader": "^1.0.0",
|
"raw-loader": "^1.0.0",
|
||||||
"react": "^16.0.0",
|
"react": "^16.0.0",
|
||||||
"react-dom": "^16.0.0",
|
"react-dom": "^16.0.0",
|
||||||
|
|
|
@ -1,15 +1,9 @@
|
||||||
{
|
{
|
||||||
"presets": ["es2015", "stage-0", "react"],
|
"presets": ["@babel/preset-env", "@babel/preset-react"],
|
||||||
"plugins": ["transform-runtime"],
|
"plugins": [
|
||||||
"env": {
|
"@babel/plugin-transform-runtime",
|
||||||
"development": {
|
"@babel/plugin-proposal-class-properties",
|
||||||
"plugins": [["react-transform", {
|
"@babel/plugin-proposal-export-default-from",
|
||||||
"transforms": [{
|
"@babel/plugin-proposal-do-expressions"
|
||||||
"transform": "react-transform-hmr",
|
]
|
||||||
"imports": ["react"],
|
|
||||||
"locals": ["module"]
|
|
||||||
}]
|
|
||||||
}]]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,15 +20,15 @@
|
||||||
"url": "https://github.com/reduxjs/redux-devtools"
|
"url": "https://github.com/reduxjs/redux-devtools"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel": "^6.3.26",
|
"@babel/cli": "^7.2.3",
|
||||||
"babel-cli": "^6.4.5",
|
"@babel/core": "^7.2.2",
|
||||||
"babel-core": "^6.4.5",
|
"@babel/plugin-proposal-class-properties": "^7.3.0",
|
||||||
"babel-loader": "^7.1.5",
|
"@babel/plugin-proposal-do-expressions": "^7.2.0",
|
||||||
"babel-plugin-react-transform": "^2.0.0",
|
"@babel/plugin-proposal-export-default-from": "^7.2.0",
|
||||||
"babel-plugin-transform-runtime": "^6.4.3",
|
"@babel/plugin-transform-runtime": "^7.2.0",
|
||||||
"babel-preset-es2015": "^6.3.13",
|
"@babel/preset-env": "^7.3.1",
|
||||||
"babel-preset-react": "^6.3.13",
|
"@babel/preset-react": "^7.0.0",
|
||||||
"babel-preset-stage-0": "^6.3.13",
|
"babel-loader": "^8.0.5",
|
||||||
"base16": "^1.0.0",
|
"base16": "^1.0.0",
|
||||||
"chokidar": "^1.6.1",
|
"chokidar": "^1.6.1",
|
||||||
"clean-webpack-plugin": "^1.0.0",
|
"clean-webpack-plugin": "^1.0.0",
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
{
|
{
|
||||||
"presets": ["es2015-loose", "stage-0"]
|
"presets": ["@babel/preset-env"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,13 +33,12 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/reduxjs/redux-devtools",
|
"homepage": "https://github.com/reduxjs/redux-devtools",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-cli": "^6.3.17",
|
"@babel/cli": "^7.2.3",
|
||||||
"babel-core": "^6.3.17",
|
"@babel/core": "^7.2.2",
|
||||||
"babel-loader": "^6.2.0",
|
"@babel/preset-env": "^7.3.1",
|
||||||
"babel-preset-es2015-loose": "^6.1.3",
|
"babel-loader": "^8.0.5",
|
||||||
"babel-preset-stage-0": "^6.3.13",
|
|
||||||
"expect": "^1.6.0",
|
"expect": "^1.6.0",
|
||||||
"jest": "^23.6.0",
|
"jest": "^24.1.0",
|
||||||
"redux": "^4.0.0",
|
"redux": "^4.0.0",
|
||||||
"rimraf": "^2.3.4",
|
"rimraf": "^2.3.4",
|
||||||
"rxjs": "^5.0.0-beta.6"
|
"rxjs": "^5.0.0-beta.6"
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
{
|
{
|
||||||
"presets": ["es2015-loose", "stage-0", "react"]
|
"presets": ["@babel/preset-env", "@babel/preset-react"],
|
||||||
|
"plugins": ["@babel/plugin-proposal-class-properties", "@babel/plugin-proposal-export-default-from"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,12 +33,13 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/reduxjs/redux-devtools",
|
"homepage": "https://github.com/reduxjs/redux-devtools",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-cli": "^6.3.15",
|
"@babel/cli": "^7.2.3",
|
||||||
"babel-core": "^6.1.20",
|
"@babel/core": "^7.2.2",
|
||||||
"babel-loader": "^6.2.0",
|
"@babel/plugin-proposal-export-default-from": "^7.2.0",
|
||||||
"babel-preset-es2015-loose": "^6.1.3",
|
"@babel/plugin-proposal-class-properties": "^7.3.0",
|
||||||
"babel-preset-react": "^6.3.13",
|
"@babel/preset-env": "^7.3.1",
|
||||||
"babel-preset-stage-0": "^6.3.13",
|
"@babel/preset-react": "^7.0.0",
|
||||||
|
"babel-loader": "^8.0.5",
|
||||||
"rimraf": "^2.3.4"
|
"rimraf": "^2.3.4"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
{
|
{
|
||||||
"presets": ["es2015-loose", "stage-0", "react"]
|
"presets": ["@babel/preset-env", "@babel/preset-react"],
|
||||||
|
"plugins": ["@babel/plugin-proposal-class-properties"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,14 +35,12 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/reduxjs/redux-devtools",
|
"homepage": "https://github.com/reduxjs/redux-devtools",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-cli": "^6.10.1",
|
"@babel/cli": "^7.2.3",
|
||||||
"babel-core": "^6.10.4",
|
"@babel/core": "^7.2.2",
|
||||||
"babel-loader": "^6.2.4",
|
"@babel/plugin-proposal-class-properties": "^7.3.0",
|
||||||
"babel-preset-es2015": "^6.9.0",
|
"@babel/preset-env": "^7.3.1",
|
||||||
"babel-preset-es2015-loose": "^7.0.0",
|
"@babel/preset-react": "^7.0.0",
|
||||||
"babel-preset-react": "^6.5.0",
|
"babel-loader": "^8.0.5",
|
||||||
"babel-preset-stage-0": "^6.5.0",
|
|
||||||
"babel-register": "^6.11.6",
|
|
||||||
"clean-webpack-plugin": "^0.1.15",
|
"clean-webpack-plugin": "^0.1.15",
|
||||||
"css-loader": "^0.26.1",
|
"css-loader": "^0.26.1",
|
||||||
"enzyme": "^2.6.0",
|
"enzyme": "^2.6.0",
|
||||||
|
@ -51,7 +49,7 @@
|
||||||
"export-files-webpack-plugin": "0.0.1",
|
"export-files-webpack-plugin": "0.0.1",
|
||||||
"file-loader": "^0.10.0",
|
"file-loader": "^0.10.0",
|
||||||
"html-webpack-plugin": "^2.28.0",
|
"html-webpack-plugin": "^2.28.0",
|
||||||
"jest": "^23.6.0",
|
"jest": "^24.1.0",
|
||||||
"lodash.shuffle": "^4.2.0",
|
"lodash.shuffle": "^4.2.0",
|
||||||
"nyan-progress-webpack-plugin": "^1.1.4",
|
"nyan-progress-webpack-plugin": "^1.1.4",
|
||||||
"react-addons-test-utils": "^15.1.0",
|
"react-addons-test-utils": "^15.1.0",
|
||||||
|
|
|
@ -1,13 +1,15 @@
|
||||||
{
|
{
|
||||||
"presets": [ ["env", { "modules": "commonjs" }], "react", "flow" ],
|
"presets": [
|
||||||
|
"@babel/preset-env", "@babel/preset-react", "@babel/preset-flow"
|
||||||
|
],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
["transform-runtime", {
|
["@babel/plugin-transform-runtime", {
|
||||||
"polyfill": false,
|
|
||||||
"regenerator": true
|
"regenerator": true
|
||||||
}],
|
}],
|
||||||
"transform-class-properties",
|
[
|
||||||
"transform-object-rest-spread",
|
"@babel/plugin-proposal-decorators",
|
||||||
"add-module-exports",
|
{ "legacy": true }
|
||||||
"transform-decorators-legacy"
|
],
|
||||||
|
"@babel/plugin-proposal-class-properties"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,23 +21,18 @@
|
||||||
"prepublishOnly": "npm run test && npm run clean && npm run build"
|
"prepublishOnly": "npm run test && npm run clean && npm run build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-cli": "^6.10.1",
|
"@babel/cli": "^7.2.3",
|
||||||
"babel-loader": "^6.2.4",
|
"@babel/core": "^7.2.2",
|
||||||
"babel-plugin-add-module-exports": "^0.2.1",
|
"@babel/plugin-proposal-class-properties": "^7.3.0",
|
||||||
"babel-plugin-react-transform": "^2.0.0",
|
"@babel/plugin-proposal-decorators": "^7.3.0",
|
||||||
"babel-plugin-transform-decorators-legacy": "^1.3.4",
|
"@babel/plugin-transform-runtime": "^7.2.0",
|
||||||
"babel-preset-env": "^1.7.0",
|
"@babel/preset-env": "^7.3.1",
|
||||||
"babel-preset-es2015": "^6.9.0",
|
"@babel/preset-flow": "^7.0.0",
|
||||||
"babel-preset-es2015-loose": "^7.0.0",
|
"@babel/preset-react": "^7.0.0",
|
||||||
"babel-preset-react": "^6.5.0",
|
|
||||||
"babel-preset-react-app": "^3.1.2",
|
|
||||||
"babel-preset-stage-0": "^6.5.0",
|
|
||||||
"babel-register": "^6.11.6",
|
|
||||||
"babel-runtime": "^6.23.0",
|
|
||||||
"enzyme": "^3.0.0",
|
"enzyme": "^3.0.0",
|
||||||
"enzyme-adapter-react-16": "1.7.1",
|
"enzyme-adapter-react-16": "1.7.1",
|
||||||
"enzyme-to-json": "^3.3.0",
|
"enzyme-to-json": "^3.3.0",
|
||||||
"jest": "^23.6.0",
|
"jest": "^24.1.0",
|
||||||
"react-addons-test-utils": "^15.4.0",
|
"react-addons-test-utils": "^15.4.0",
|
||||||
"react-dom": "^16.4.0",
|
"react-dom": "^16.4.0",
|
||||||
"react-test-renderer": "^16.4.0",
|
"react-test-renderer": "^16.4.0",
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
{
|
{
|
||||||
"presets": ["es2015-loose", "stage-0", "react"]
|
"presets": ["@babel/preset-env", "@babel/preset-react"],
|
||||||
|
"plugins": ["@babel/plugin-proposal-class-properties"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,13 +33,13 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/reduxjs/redux-devtools",
|
"homepage": "https://github.com/reduxjs/redux-devtools",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-cli": "^6.3.17",
|
"@babel/cli": "^7.2.3",
|
||||||
"babel-core": "^6.3.17",
|
"@babel/core": "^7.2.2",
|
||||||
"babel-loader": "^6.2.0",
|
"@babel/plugin-proposal-class-properties": "^7.3.0",
|
||||||
"babel-preset-es2015-loose": "^6.1.3",
|
"@babel/preset-env": "^7.3.1",
|
||||||
"babel-preset-react": "6.3.13",
|
"@babel/preset-react": "^7.0.0",
|
||||||
"babel-preset-stage-0": "^6.3.13",
|
"babel-loader": "^8.0.5",
|
||||||
"jest": "^23.6.0",
|
"jest": "^24.1.0",
|
||||||
"react": "^16.0.0",
|
"react": "^16.0.0",
|
||||||
"react-dom": "^16.0.0",
|
"react-dom": "^16.0.0",
|
||||||
"react-redux": "^6.0.0",
|
"react-redux": "^6.0.0",
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
{
|
{
|
||||||
"presets": ["es2015", "stage-0", "react"]
|
"presets": ["@babel/preset-env", "@babel/preset-react"],
|
||||||
|
"plugins": ["@babel/plugin-proposal-class-properties"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,12 +19,11 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/reduxjs/redux-devtools",
|
"homepage": "https://github.com/reduxjs/redux-devtools",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-cli": "^6.24.1",
|
"@babel/cli": "^7.2.3",
|
||||||
"babel-core": "^6.24.1",
|
"@babel/core": "^7.2.2",
|
||||||
"babel-loader": "^6.4.1",
|
"@babel/plugin-proposal-class-properties": "^7.3.0",
|
||||||
"babel-preset-es2015": "^6.24.1",
|
"@babel/preset-env": "^7.3.1",
|
||||||
"babel-preset-react": "^6.24.1",
|
"@babel/preset-react": "^7.0.0",
|
||||||
"babel-preset-stage-0": "^6.24.1",
|
|
||||||
"classnames": "^2.1.2",
|
"classnames": "^2.1.2",
|
||||||
"raw-loader": "^0.5.1",
|
"raw-loader": "^0.5.1",
|
||||||
"react": "^16.7.0",
|
"react": "^16.7.0",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user