forked from pulp/pulp-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
103 lines (103 loc) · 4.07 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
{
"name": "pulp-ui",
"version": "0.1.14",
"license": "Apache-2.0",
"author": "Martin Hradil, Zita Pospisil Nemeckova",
"private": true,
"dependencies": {
"@babel/runtime": "^7.26.0",
"@lingui/react": "^4.13.0",
"@patternfly/patternfly": "^5.4.2",
"@patternfly/react-core": "^5.4.8",
"@patternfly/react-table": "^5.4.8",
"axios": "^1.7.7",
"classnames": "^2.5.1",
"compare-versions": "^6.1.1",
"file-saver": "^2.0.5",
"js-cookie": "^3.0.5",
"lodash": "^4.17.21",
"moment": "^2.30.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-markdown": "^9.0.1",
"react-router-dom": "^6.27.0"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.25.9",
"@babel/preset-typescript": "^7.26.0",
"@lingui/cli": "^4.13.0",
"@lingui/macro": "^4.13.0",
"@ls-lint/ls-lint": "^2.2.3",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"babel-loader": "^9.2.1",
"babel-plugin-macros": "^3.1.0",
"chrome-remote-interface": "^0.33.2",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.2",
"cypress": "^13.15.1",
"cypress-file-upload": "^5.0.8",
"eslint": "~9.13.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react": "^7.37.2",
"fork-ts-checker-webpack-plugin": "^9.0.2",
"globals": "^15.11.0",
"html-webpack-plugin": "^5.6.3",
"mini-css-extract-plugin": "^2.9.1",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.47",
"prettier": "^3.3.3",
"sass": "1.80.4",
"sass-loader": "^16.0.2",
"shell-escape-tag": "^2.0.2",
"source-map-loader": "^5.0.0",
"style-loader": "^4.0.0",
"stylelint": "^16.10.0",
"stylelint-config-recommended-scss": "^14.1.0",
"stylelint-scss": "^6.8.1",
"typescript": "^5.6.3",
"typescript-eslint": "~8.12.1",
"url-join": "^5.0.0",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.1.0"
},
"scripts": {
"build": "NODE_ENV=production webpack --config config/build.config.js",
"cypress": "cypress open",
"cypress:chrome": "cypress run --e2e --browser chrome --headless",
"cypress:chromium": "cypress run --e2e --browser chromium-browser --headless",
"cypress:firefox": "cypress run --e2e --browser firefox --headless",
"eslint": "eslint src/ config/ cypress/",
"eslint:fix": "eslint --fix src/ config/ cypress/",
"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 .",
"prettier:check": "prettier -l .",
"sort-exports": "perl -i -pe 's/^export/import/' src/**/index.ts ; npm run prettier ; perl -i -pe 's/^import/export/' src/**/index.ts",
"start": "NODE_ENV=development webpack serve --config config/start.config.js",
"test": "true"
},
"engines": {
"node": ">=20",
"npm": ">=10"
}
}