-
Notifications
You must be signed in to change notification settings - Fork 76
/
package.json
111 lines (111 loc) · 4.82 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "ansible-hub-ui",
"version": "0.1.0",
"license": "Apache-2.0",
"author": "Red Hat, Inc.",
"private": true,
"dependencies": {
"@babel/runtime": "^7.26.0",
"@lingui/core": "^5.0.0",
"@lingui/react": "^5.0.0",
"@patternfly/patternfly": "^5.4.2",
"@patternfly/react-code-editor": "^5.4.0",
"@patternfly/react-core": "^5.4.11",
"@patternfly/react-table": "^5.4.12",
"@redhat-cloud-services/frontend-components": "^4.2.16",
"antsibull-docs": "^1.1.0",
"axios": "^1.7.7",
"classnames": "^2.5.1",
"csstype": "^3.1.3",
"detect-browser": "^5.3.0",
"file-saver": "^2.0.5",
"js-cookie": "^3.0.5",
"lodash": "^4.17.21",
"luxon": "^3.5.0",
"monaco-editor": "^0.44.0",
"monaco-yaml": "^5.2.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-markdown": "^9.0.1",
"react-monaco-editor": "^0.55.0",
"react-router-dom": "^6.26.2"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.26.0",
"@lingui/babel-plugin-lingui-macro": "^5.0.0",
"@lingui/cli": "^5.0.0",
"@ls-lint/ls-lint": "^2.2.3",
"@redhat-cloud-services/frontend-components-config": "^6.2.9",
"@redhat-cloud-services/frontend-components-config-utilities": "^3.2.6",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"babel-loader": "^9.2.1",
"clean-webpack-plugin": "^4.0.0",
"css-loader": "^7.1.2",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-lingui": "^0.8.3",
"eslint-plugin-react": "^7.37.2",
"fork-ts-checker-webpack-plugin": "^9.0.2",
"globals": "^15.12.0",
"html-webpack-plugin": "^5.6.3",
"mini-css-extract-plugin": "^2.9.2",
"monaco-editor-webpack-plugin": "^7.1.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.47",
"prettier": "^3.3.3",
"sass": "1.77.6",
"sass-loader": "^16.0.2",
"source-map-loader": "^5.0.0",
"style-loader": "^4.0.0",
"stylelint": "^16.11.0",
"stylelint-config-standard-scss": "^14.0.0",
"stylelint-scss": "^6.10.0",
"typescript": "^5.7.2",
"typescript-eslint": "^8.18.0",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.2.0"
},
"scripts": {
"build-community": "NODE_ENV=production webpack --config config/community.prod.webpack.config.js",
"build-insights": "NODE_ENV=production webpack --config config/insights.prod.webpack.config.js",
"build-standalone": "NODE_ENV=production webpack --config config/standalone.prod.webpack.config.js",
"eslint": "eslint src/ config/ test/",
"eslint:fix": "eslint --fix src/ config/ test/",
"find-unused-exports": "npx find-unused-exports --module-glob 'src/**/*.{js,ts,jsx,tsx}' --resolve-file-extensions 'tsx,ts,jsx,js' --resolve-index-files",
"gettext:compile": "lingui compile",
"gettext:extract": "lingui extract",
"imports-to-relative": "perl -i -pe 's#from '\\''src/#from '\\''../#' src/*/*.* ; perl -i -pe 's#from '\\''src/#from '\\''../../#' src/*/*/*.* ; perl -i -pe 's#from '\\''src/#from '\\''../../../#' src/*/*/*/*.*",
"imports-to-src": "perl -i -pe 's#from '\\''\\.\\./#from '\\''src/#' src/*/*.* ; perl -i -pe 's#from '\\''\\.\\./\\.\\./#from '\\''src/#' src/*/*/*.* ; perl -i -pe 's#from '\\''\\.\\./\\.\\./\\.\\./#from '\\''src/#' src/*/*/*/*.*",
"lint": "npm-run-all lint:*",
"lint-fix": "npm-run-all lint:*:fix",
"lint-setup": "npm-run-all lint:*:setup",
"lint:js": "npm run prettier:check && npm run eslint",
"lint:js:fix": "npm run eslint:fix && npm run prettier",
"lint:ls": "ls-lint",
"lint:po": "lint-po locale/*.po",
"lint:po:setup": "pip install --upgrade lint-po",
"lint:sass": "stylelint 'src/**/*.scss' --config .stylelintrc.json",
"lint:ts": "tsc",
"lint:yaml": "yamllint .",
"lint:yaml:setup": "pip install --upgrade yamllint",
"prettier": "prettier --write 'src/**' 'config/**' 'test/**'",
"prettier:check": "prettier -l 'src/**' 'config/**' 'test/**'",
"sort-exports": "perl -i -pe 's/^export/import/' src/**/index.ts ; npm run prettier ; perl -i -pe 's/^import/export/' src/**/index.ts",
"start-community": "NODE_ENV=development webpack serve --host 0.0.0.0 --config config/community.dev.webpack.config.js",
"start-insights": "NODE_ENV=development webpack serve --host 0.0.0.0 --config config/insights.dev.webpack.config.js",
"start-pulp": "NODE_ENV=development API_PROXY_PORT=8080 webpack serve --host 0.0.0.0 --config config/standalone.dev.webpack.config.js",
"start-standalone": "NODE_ENV=development webpack serve --host 0.0.0.0 --config config/standalone.dev.webpack.config.js"
},
"insights": {
"appname": "automation-hub"
},
"engines": {
"node": ">=20",
"npm": ">=10"
}
}