102 lines
3.2 KiB
JSON
102 lines
3.2 KiB
JSON
{
|
|
"name": "image-builder",
|
|
"version": "1.1.0",
|
|
"private": false,
|
|
"engines": {
|
|
"node": ">=16.0.0",
|
|
"npm": ">=7.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@data-driven-forms/pf4-component-mapper": "3.16.10",
|
|
"@data-driven-forms/react-form-renderer": "3.16.10",
|
|
"@patternfly/patternfly": "4.185.1",
|
|
"@patternfly/react-core": "4.198.19",
|
|
"@patternfly/react-table": "4.71.16",
|
|
"@redhat-cloud-services/frontend-components": "3.8.4",
|
|
"@redhat-cloud-services/frontend-components-notifications": "3.2.5",
|
|
"@redhat-cloud-services/frontend-components-utilities": "3.2.12",
|
|
"classnames": "2.3.1",
|
|
"react": "17.0.2",
|
|
"react-dom": "17.0.2",
|
|
"react-redux": "7.2.6",
|
|
"react-router-dom": "6.2.2",
|
|
"redux": "4.1.2",
|
|
"redux-logger": "3.0.6",
|
|
"redux-promise-middleware": "6.1.2",
|
|
"redux-thunk": "2.4.1"
|
|
},
|
|
"jest": {
|
|
"coverageDirectory": "./coverage/",
|
|
"collectCoverage": true,
|
|
"collectCoverageFrom": [
|
|
"src/**/*.js",
|
|
"!src/**/stories/*",
|
|
"!src/entry-dev.js"
|
|
],
|
|
"testEnvironment": "jsdom",
|
|
"globals": {
|
|
"COMMITHASH": "dummy"
|
|
},
|
|
"roots": [
|
|
"<rootDir>/src/"
|
|
],
|
|
"moduleNameMapper": {
|
|
"\\.(css|scss)$": "identity-obj-proxy"
|
|
},
|
|
"setupFiles": [
|
|
"jest-canvas-mock"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.17.8",
|
|
"@babel/eslint-parser": "^7.17.0",
|
|
"@babel/plugin-proposal-object-rest-spread": "7.17.3",
|
|
"@babel/plugin-transform-runtime": "7.17.0",
|
|
"@babel/preset-env": "7.16.11",
|
|
"@babel/preset-react": "7.16.7",
|
|
"@redhat-cloud-services/frontend-components-config": "4.6.7",
|
|
"@testing-library/dom": "8.13.0",
|
|
"@testing-library/jest-dom": "5.16.3",
|
|
"@testing-library/react": "12.1.4",
|
|
"@testing-library/user-event": "13.5.0",
|
|
"babel-jest": "27.5.1",
|
|
"babel-plugin-dual-import": "1.2.1",
|
|
"babel-plugin-transform-imports": "2.0.0",
|
|
"css-loader": "6.7.1",
|
|
"eslint": "8.13.0",
|
|
"eslint-config-prettier": "8.5.0",
|
|
"eslint-plugin-jest-dom": "4.0.1",
|
|
"eslint-plugin-react": "7.29.4",
|
|
"eslint-plugin-testing-library": "5.1.0",
|
|
"eslint-webpack-plugin": "3.1.1",
|
|
"git-revision-webpack-plugin": "5.0.0",
|
|
"identity-obj-proxy": "3.0.0",
|
|
"jest": "27.5.1",
|
|
"jest-canvas-mock": "2.3.1",
|
|
"npm-run-all": "4.1.5",
|
|
"postcss-scss": "4.0.3",
|
|
"prop-types": "15.8.1",
|
|
"redux-mock-store": "1.5.4",
|
|
"sass": "1.49.9",
|
|
"sass-loader": "12.6.0",
|
|
"stylelint": "14.6.1",
|
|
"stylelint-config-recommended-scss": "6.0.0",
|
|
"webpack-bundle-analyzer": "4.5.0"
|
|
},
|
|
"scripts": {
|
|
"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",
|
|
"prod-beta": "BETA=true PROXY=true webpack serve --config config/dev.webpack.config.js",
|
|
"prod-stable": "PROXY=true webpack serve --config config/dev.webpack.config.js",
|
|
"stage-beta": "STAGE=true npm run prod-beta",
|
|
"test": "jest --verbose",
|
|
"test:single": "jest --verbose -w 1",
|
|
"build": "webpack --config config/prod.webpack.config.js",
|
|
"verify": "npm-run-all build lint test"
|
|
},
|
|
"insights": {
|
|
"appname": "image-builder"
|
|
}
|
|
}
|