forked from ansible/ansible-hub-ui
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
115 lines (115 loc) · 4.75 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
112
113
114
115
{
"name": "ansible-hub-ui",
"version": "0.1.0",
"license": "Apache-2.0",
"author": "Red Hat, Inc.",
"private": true,
"dependencies": {
"@ansible/galaxy-doc-builder": "1.0.0-alpha4",
"@babel/runtime": "^7.17.8",
"@lingui/react": "^3.13.2",
"@patternfly/patternfly": "^4.183.1",
"@patternfly/react-core": "^4.192.15",
"@patternfly/react-table": "^4.71.16",
"@redhat-cloud-services/frontend-components-utilities": "^3.2.10",
"@types/node": "^14.18.12",
"@types/react": "^16.14.24",
"@types/react-dom": "^16.9.14",
"@types/react-router-dom": "^5.3.3",
"axios": "~0.26.1",
"classnames": "^2.3.1",
"csstype": "^3.0.11",
"detect-browser": "^5.3.0",
"file-saver": "^2.0.5",
"js-cookie": "^3.0.1",
"moment": "^2.29.2",
"prop-types": "^15.8.1",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-markdown": "^8.0.1",
"react-redux": "^7.2.8",
"react-router-dom": "^5.3.0",
"react-router-hash-link": "^2.4.3",
"redux": "^4.1.2",
"redux-logger": "^3.0.6",
"redux-promise-middleware": "^6.1.2"
},
"devDependencies": {
"@babel/core": "^7.17.8",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@lingui/cli": "^3.13.2",
"@lingui/macro": "^3.13.2",
"@ls-lint/ls-lint": "^1.11.0",
"@redhat-cloud-services/frontend-components-config": "^4.6.6",
"@typescript-eslint/eslint-plugin": "^5.18.0",
"@typescript-eslint/parser": "^5.17.0",
"babel-core": "^7.0.0-bridge.0",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-macros": "^3.1.0",
"css-loader": "^6.5.1",
"eslint": "^8.13.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-react": "^7.29.3",
"fork-ts-checker-webpack-plugin": "^7.2.3",
"husky": "^4.3.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.12",
"prettier": "^2.3.2",
"sass": "^1.50.0",
"sass-loader": "^12.6.0",
"source-map-loader": "^3.0.1",
"style-loader": "^3.3.1",
"stylelint": "^14.6.0",
"stylelint-config-standard-scss": "^3.0.0",
"stylelint-scss": "^4.1.0",
"typescript": "^4.6.2",
"webpack": "^5.66.0",
"webpack-cli": "^4.9.2"
},
"scripts": {
"build": "webpack --config config/insights.prod.webpack.config.js",
"build-standalone": "NODE_ENV=production webpack --config config/standalone.prod.webpack.config.js",
"build:prod": "NODE_ENV=production webpack --config config/insights.prod.webpack.config.js",
"deploy": "npm-run-all build:prod test-prettier lint:ts",
"eslint": "eslint --ext .js,.jsx,.ts,.tsx src/ config/ test/",
"eslint:fix": "eslint --ext .js,.jsx,.ts,.tsx --fix src/ config/ test/",
"gettext:compile": "lingui compile",
"gettext:extract": "lingui extract",
"lint": "npm-run-all lint:*",
"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:sass": "stylelint 'src/**/*.scss' --config .stylelintrc.json",
"lint:ts": "tsc",
"lint:yaml": "yamllint .",
"prettier": "prettier --write 'src/**' 'config/**' 'test/**'",
"prettier:check": "prettier -l 'src/**' 'config/**' 'test/**'",
"prod": "NODE_ENV=production webpack serve --config custom.dev.config",
"server:ctr": "node src/server/generateServerKey.js",
"start": "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 API_BASE_PATH='/api/galaxy/' 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",
"test": "npm run test-build && npm run test-run",
"test-build": "test/scripts/ctn-build.sh",
"test-prettier": "echo 'Testing for formatting. If this fails, run npm run prettier'; npm run prettier:check",
"test-run": "test/scripts/ctn-run.sh",
"verify": "npm-run-all build lint"
},
"insights": {
"appname": "automation-hub"
},
"husky": {
"hooks": {
"pre-commit": "npm run prettier"
}
},
"engines": {
"node": ">=12, <15",
"npm": "<7"
}
}