forked from ansible/ansible-hub-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 3.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
{
"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.14.0",
"@patternfly/patternfly": "^4.65.6",
"@patternfly/react-core": "^4.115.2",
"@patternfly/react-table": "^4.29.0",
"@redhat-cloud-services/frontend-components-utilities": "^2.2.7",
"@types/node": "^12.19.6",
"@types/react": "^16.14.11",
"@types/react-dom": "^16.9.14",
"@types/react-router-dom": "^4.3.5",
"axios": "~0.21.1",
"classnames": "^2.3.1",
"csstype": "^3.0.5",
"detect-browser": "^5.2.0",
"file-saver": "^2.0.5",
"js-cookie": "^2.2.1",
"moment": "^2.29.1",
"prop-types": "^15.7.2",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-markdown": "^6.0.2",
"react-redux": "^7.2.4",
"react-router-dom": "^5.2.0",
"react-router-hash-link": "^2.4.3",
"redux": "^4.0.5",
"redux-logger": "^3.0.6",
"redux-promise-middleware": "^5.1.1"
},
"devDependencies": {
"@babel/core": "^7.14.6",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.14.5",
"@babel/preset-env": "^7.14.7",
"@babel/preset-react": "^7.12.7",
"@redhat-cloud-services/frontend-components-config": "2.1.9",
"babel-core": "^7.0.0-bridge.0",
"babel-plugin-lodash": "^3.3.2",
"css-loader": "^2.1.1",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-react": "^7.24.0",
"husky": "^4.3.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.19.1",
"sass": "~1.32.8",
"sass-loader": "~10.1.1",
"source-map-loader": "^1.1.3",
"stylelint": "^13.13.1",
"stylelint-config-recommended-scss": "^3.3.0",
"stylelint-scss": "^3.20.0",
"ts-loader": "^8.3.0",
"typescript": "^4.3.5",
"webpack": "^4.46.0",
"webpack-cli": "^4.7.2"
},
"scripts": {
"build": "webpack --config config/insights.prod.webpack.config.js",
"build-standalone": "NODE_ENV=production webpack --config config/standalone.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",
"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-standalone": "NODE_ENV=development webpack serve --host 0.0.0.0 --config config/standalone.dev.webpack.config.js",
"build:prod": "NODE_ENV=production webpack --config config/insights.prod.webpack.config.js",
"deploy": "npm-run-all build:prod test-prettier",
"verify": "npm-run-all build lint",
"test-prettier": "echo 'Testing for formatting. If this fails, run npm run prettier' prettier -l 'src/**' 'config/**'",
"prettier": "prettier --write 'src/**' 'config/**' 'test/**'",
"test-build": "test/scripts/ctn-build.sh",
"test-run": "test/scripts/ctn-run.sh",
"test": "npm run test-build && npm run test-run"
},
"insights": {
"appname": "automation-hub"
},
"husky": {
"hooks": {
"pre-commit": "npm run prettier"
}
},
"engines": {
"node": ">=12, <15",
"npm": "<7"
}
}