A developer can now run `npm run stage` which will run the UI against the staging environment on crc.
114 lines
3.8 KiB
JSON
114 lines
3.8 KiB
JSON
{
|
|
"name": "image-builder",
|
|
"version": "1.1.0",
|
|
"private": false,
|
|
"engines": {
|
|
"node": ">=16.0.0",
|
|
"npm": ">=7.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime": "7.17.2",
|
|
"@data-driven-forms/pf4-component-mapper": "3.16.8",
|
|
"@data-driven-forms/react-form-renderer": "3.16.8",
|
|
"@patternfly/patternfly": "4.179.1",
|
|
"@patternfly/react-core": "4.198.5",
|
|
"@patternfly/react-table": "4.67.5",
|
|
"@redhat-cloud-services/frontend-components": "3.7.3",
|
|
"@redhat-cloud-services/frontend-components-notifications": "3.2.5",
|
|
"@redhat-cloud-services/frontend-components-utilities": "3.2.8",
|
|
"classnames": "2.3.1",
|
|
"react": "17.0.2",
|
|
"react-dom": "17.0.2",
|
|
"react-redux": "7.2.6",
|
|
"react-router-dom": "6.2.1",
|
|
"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.4",
|
|
"@babel/plugin-proposal-object-rest-spread": "7.17.3",
|
|
"@babel/plugin-syntax-dynamic-import": "7.8.3",
|
|
"@babel/plugin-transform-runtime": "7.17.0",
|
|
"@babel/preset-env": "7.16.11",
|
|
"@babel/preset-flow": "7.16.7",
|
|
"@babel/preset-react": "7.16.7",
|
|
"@redhat-cloud-services/frontend-components-config": "4.6.2",
|
|
"@testing-library/dom": "8.11.3",
|
|
"@testing-library/jest-dom": "5.16.2",
|
|
"@testing-library/react": "12.1.3",
|
|
"@testing-library/user-event": "13.5.0",
|
|
"babel-core": "7.0.0-bridge.0",
|
|
"babel-eslint": "10.1.0",
|
|
"babel-jest": "27.5.1",
|
|
"babel-loader": "8.2.3",
|
|
"babel-plugin-dual-import": "1.2.1",
|
|
"babel-plugin-lodash": "3.3.4",
|
|
"css-loader": "6.6.0",
|
|
"eslint": "7.32.0",
|
|
"eslint-config-prettier": "8.4.0",
|
|
"eslint-loader": "4.0.2",
|
|
"eslint-plugin-jest-dom": "4.0.1",
|
|
"eslint-plugin-react": "7.28.0",
|
|
"eslint-plugin-testing-library": "5.0.5",
|
|
"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",
|
|
"prop-types": "15.8.1",
|
|
"redux-mock-store": "1.5.4",
|
|
"sass": "1.49.9",
|
|
"sass-loader": "12.6.0",
|
|
"stylelint": "13.13.1",
|
|
"stylelint-config-recommended-scss": "4.3.0",
|
|
"stylelint-scss": "3.21.0",
|
|
"webpack-bundle-analyzer": "4.5.0"
|
|
},
|
|
"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 BETA=true webpack serve --config config/dev.webpack.config.js",
|
|
"server:ctr": "node src/server/generateServerKey.js",
|
|
"stage": "STAGE=true npm run start:proxy:beta",
|
|
"start": "NODE_ENV=development webpack serve --config config/dev.webpack.config.js",
|
|
"start:beta": "NODE_ENV=development BETA=true webpack serve --config config/dev.webpack.config.js",
|
|
"start:proxy": "PROXY=true npm run start",
|
|
"start:proxy:beta": "BETA=true npm run start:proxy",
|
|
"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"
|
|
}
|
|
}
|