Skip to content

Commit 5071517

Browse files
author
Lucas
authored
Merge pull request #888 from input-output-hk/feat/lw-9149-dependencies-clean-up
[LW-9149] Dependencies clean up
2 parents 505a183 + 8be584d commit 5071517

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+9113
-21539
lines changed

.eslintrc

+8
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,13 @@
77
"es2020": true,
88
"browser": true,
99
"node": true
10+
},
11+
"parserOptions": {
12+
"babelOptions": {
13+
"presets": [
14+
["babel-preset-react-app", false],
15+
"babel-preset-react-app/prod"
16+
]
17+
}
1018
}
1119
}

babel.config.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
module.exports = {
22
presets: ['react-app'],
3-
plugins: ['react-hot-loader/babel', '@babel/transform-runtime'],
3+
plugins: [
4+
'@babel/transform-runtime',
5+
['@babel/plugin-transform-private-methods', { loose: true }],
6+
['@babel/plugin-transform-class-properties', { loose: true }],
7+
['@babel/plugin-transform-private-property-in-object', { loose: true }],
8+
],
49
env: {
510
test: {
611
presets: ['@babel/preset-env'],

jest.setup.js

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
const fetch = require('node-fetch');
21
Object.assign(global, require('jest-chrome'));
32

4-
global.fetch = fetch;
5-
63
// mocking the chrome.storage.local API
74
global.mockStore = {};
85
global.chrome.storage.local.get = (key, callback) =>

0 commit comments

Comments
 (0)