diff options
author | Vitaly Takmazov | 2018-11-28 00:13:21 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:54 +0300 |
commit | a39ffcd01a2c07408a36b469745da75463da1ec4 (patch) | |
tree | fc115dbbebaf49113632c215cceefb0c35a81989 /vnext/package.json | |
parent | 1a4299ee7035c943b6d5c93932a87d1096c9c726 (diff) |
babel-jest
Diffstat (limited to 'vnext/package.json')
-rw-r--r-- | vnext/package.json | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/vnext/package.json b/vnext/package.json index 3a54831d..d70aeba2 100644 --- a/vnext/package.json +++ b/vnext/package.json @@ -29,7 +29,7 @@ "error-overlay-webpack-plugin": "^0.1.5", "eslint": "^5.9.0", "eslint-plugin-babel": "^5.3.0", - "eslint-plugin-jest": "^22.0.0", + "eslint-plugin-jest": "^22.1.0", "eslint-plugin-only-ascii": "^0.0.0", "eslint-plugin-react": "^7.11.1", "file-loader": "^2.0.0", @@ -47,7 +47,7 @@ "react-test-renderer": "^16.6.3", "style-loader": "^0.23.1", "terser-webpack-plugin": "^1.1.0", - "webpack": "^4.26.0", + "webpack": "^4.26.1", "webpack-cli": "^3.1.2", "webpack-dev-server": "^3.1.10" }, @@ -78,17 +78,25 @@ "@babel/preset-react" ] }, + "jest": { + "moduleNameMapper": { + "\\.(css|less|sass|scss)$": "<rootDir>/__mocks__/styleMock.js" + }, + "transform": { + "^.+\\.js$": "babel-jest" + } + }, "dependencies": { "@babel/polyfill": "^7.0.0", "axios": "^0.18.0", "immutability-helper": "^2.8.1", "moment": "^2.22.2", - "qs": "^6.5.2", + "qs": "^6.6.0", "react": "16.6.3", "react-content-loader": "^3.2.0", "react-cookies": "^0.1.0", "react-dom": "16.6.3", "react-router-dom": "^4.3.1", - "url-polyfill": "^1.1.0" + "url-polyfill": "^1.1.1" } } |