Redux thunks allow actions to pass functions. This will be helpful when our api calls are moved into redux actions instead of being handled within react components.
93 lines
3.1 KiB
JSON
93 lines
3.1 KiB
JSON
{
|
|
"name": "image-builder",
|
|
"version": "1.1.0",
|
|
"private": false,
|
|
"dependencies": {
|
|
"@babel/runtime": "7.13.10",
|
|
"@patternfly/patternfly": "4.96.2",
|
|
"@patternfly/react-core": "4.106.2",
|
|
"@patternfly/react-table": "4.24.1",
|
|
"@redhat-cloud-services/frontend-components": "2.5.10",
|
|
"@redhat-cloud-services/frontend-components-notifications": "3.1.0",
|
|
"@redhat-cloud-services/frontend-components-utilities": "2.2.9",
|
|
"classnames": "2.2.6",
|
|
"react": "16.14.0",
|
|
"react-dom": "16.14.0",
|
|
"react-redux": "7.2.3",
|
|
"react-router-dom": "5.2.0",
|
|
"redux": "4.0.5",
|
|
"redux-logger": "3.0.6",
|
|
"redux-promise-middleware": "6.1.2",
|
|
"redux-thunk": "2.3.0"
|
|
},
|
|
"jest": {
|
|
"coverageDirectory": "./coverage/",
|
|
"collectCoverage": true,
|
|
"collectCoverageFrom": [
|
|
"src/**/*.js",
|
|
"!src/**/stories/*",
|
|
"!src/entry-dev.js"
|
|
],
|
|
"roots": [
|
|
"<rootDir>/src/"
|
|
],
|
|
"moduleNameMapper": {
|
|
"\\.(css|scss)$": "identity-obj-proxy"
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.8.4",
|
|
"@babel/plugin-proposal-object-rest-spread": "7.8.3",
|
|
"@babel/plugin-syntax-dynamic-import": "7.8.3",
|
|
"@babel/plugin-transform-runtime": "7.8.3",
|
|
"@babel/preset-env": "7.8.7",
|
|
"@babel/preset-flow": "7.8.3",
|
|
"@babel/preset-react": "7.8.3",
|
|
"@redhat-cloud-services/frontend-components-config": "2.1.9",
|
|
"@testing-library/react": "11.0.4",
|
|
"@testing-library/jest-dom": "5.10.1",
|
|
"@testing-library/user-event": "12.2.2",
|
|
"babel-core": "7.0.0-bridge.0",
|
|
"babel-eslint": "10.0.3",
|
|
"babel-jest": "26.1.0",
|
|
"babel-plugin-dual-import": "1.2.1",
|
|
"babel-plugin-lodash": "3.3.4",
|
|
"css-loader": "3.4.2",
|
|
"eslint": "6.8.0",
|
|
"eslint-config-prettier": "6.10.0",
|
|
"eslint-loader": "3.0.3",
|
|
"eslint-plugin-jest-dom": "3.2.4",
|
|
"eslint-plugin-react": "7.18.3",
|
|
"eslint-plugin-testing-library": "3.10.0",
|
|
"identity-obj-proxy": "3.0.0",
|
|
"jest": "26.1.0",
|
|
"npm-run-all": "4.1.5",
|
|
"prop-types": "15.7.2",
|
|
"redux-mock-store": "1.5.4",
|
|
"stylelint": "13.1.0",
|
|
"stylelint-config-recommended-scss": "4.2.0",
|
|
"stylelint-scss": "3.14.2",
|
|
"webpack": "4.41.6",
|
|
"webpack-bundle-analyzer": "3.6.0",
|
|
"webpack-cli": "3.3.11"
|
|
},
|
|
"scripts": {
|
|
"build": "webpack --config config/prod.webpack.config.js",
|
|
"lint": "npm-run-all lint:*",
|
|
"lint:js": "eslint config src",
|
|
"lint:js:fix": "eslint config src --fix",
|
|
"lint:sass": "stylelint 'src/**/*.scss' --config .stylelintrc.json",
|
|
"nightly": "npm run travis:verify",
|
|
"prod": "NODE_ENV=production webpack-dev-server --config config/dev.webpack.config.js",
|
|
"server:ctr": "node src/server/generateServerKey.js",
|
|
"start": "NODE_ENV=development webpack-dev-server --config config/dev.webpack.config.js",
|
|
"test": "jest --verbose",
|
|
"test:single": "jest --verbose -w 1",
|
|
"travis:build": "NODE_ENV=production webpack --config config/prod.webpack.config.js",
|
|
"travis:verify": "npm-run-all travis:build lint test",
|
|
"verify": "npm-run-all build lint test"
|
|
},
|
|
"insights": {
|
|
"appname": "image-builder"
|
|
}
|
|
}
|