forked from integr8ly/tutorial-web-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
126 lines (126 loc) · 4.42 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
116
117
118
119
120
121
122
123
124
125
126
{
"name": "integreatly-web-app",
"version": "2.22.5",
"private": true,
"proxy": "http://localhost:5001/",
"dependencies": {
"@fortawesome/fontawesome-free": "5.7.2",
"@patternfly/patternfly": "2.43.1",
"@patternfly/react-core": "3.124.1",
"@patternfly/react-icons": "^3.14.23",
"asciidoctor.js": "1.5.7",
"axios": "^0.19.0",
"body-parser": "^1.18.3",
"classnames": "2.2.5",
"client-oauth2": "4.2.1",
"detect-browser": "3.0.0",
"express": "4.16.3",
"express-http-proxy": "^1.5.1",
"express-prometheus-middleware": "^0.6.1",
"i": "0.3.6",
"i18next": "11.6.0",
"i18next-xhr-backend": "1.5.1",
"js-cookie": "2.2.0",
"lodash.flattendeep": "^4.4.0",
"lodash.get": "4.4.2",
"mustache": "^3.0.0",
"prop-types": "15.6.2",
"react": "16.6.3",
"react-dom": "16.6.3",
"react-i18next": "8.3.8",
"react-redux": "5.0.6",
"react-router": "4.3.1",
"react-router-dom": "4.3.1",
"redux": "4.0.0",
"redux-logger": "3.0.6",
"redux-promise-middleware": "5.1.1",
"redux-thunk": "2.3.0",
"rfs": "8.0.1",
"rimraf": "2.6.2",
"sequelize": "^5.15.1",
"sha.js": "2.4.11",
"simple-git": "^1.107.0",
"sqlite3": "^4.0.8"
},
"devDependencies": {
"enzyme": "3.8.0",
"enzyme-adapter-react-16": "1.7.1",
"enzyme-to-json": "3.3.5",
"eslint": "6.5.1",
"eslint-plugin-patternfly-react": "0.2.3",
"i18next-json-sync": "2.2.0",
"jest": "24.9.0",
"jest-cli": "24.9.0",
"moxios": "0.4.0",
"ncp": "2.0.0",
"node-sass-chokidar": "^1.3.5",
"nodemon": "1.18.7",
"npm-run-all": "4.1.5",
"postcss-preset-env": "6.6.0",
"precss": "4.0.0",
"prettier": "1.14.2",
"react-scripts": "3.2.0",
"redux-mock-store": "1.5.3",
"source-map-explorer": "2.1.0",
"stylelint": "10.1.0",
"stylelint-config-recommended-scss": "3.3.0",
"stylelint-config-standard": "18.3.0",
"stylelint-order": "3.0.0",
"stylelint-scss": "3.8.0"
},
"resolutions": {
"**/jest": "24.9.0"
},
"lint-staged": {
"src/styles/**/*.scss}": [
"stylelint --config=.stylelintrc --fix",
"git add"
]
},
"scripts": {
"clean": "rimraf build coverage",
"prebuild": "yarn clean",
"build:css": "yarn lint:scss && node-sass-chokidar --include-path ./src --include-path ./node_modules src/styles/index.scss -o src/styles/.css",
"watch:css": "yarn build:css && node-sass-chokidar --include-path ./src --include-path ./node_modules src/styles/index.scss -o src/styles/.css --watch --recursive",
"build:js": "react-scripts build",
"start": "node server.js",
"start:dev": "FUSE_URL=http://localhost:3006 LAUNCHER_URL=http://localhost:3006 ENMASSE_URL=http://localhost:3006 CHE_URL=http://localhost:3006 APICURIO_URL=http://localhost:3006 run-p -l watch:css start:local start:server",
"start:local": "react-scripts start",
"start:server": "nodemon --watch server.js --exec 'node server.js'",
"commit:hash": "echo REACT_APP_UI_COMMIT_HASH=$(git rev-list -1 --all) > .env",
"build": "yarn commit:hash && yarn build:css && yarn build:js && yarn postbuild",
"test": "yarn lint && react-scripts test --env=jsdom --coverage",
"test:watch": "react-scripts test --env=jsdom --watch",
"eject": "react-scripts eject",
"prettier": "prettier --write --single-quote --trailing-comma=none \"src/**/*.js\"",
"analyze": "source-map-explorer build/static/js/main.*",
"lint": "yarn lint:js && yarn lint:scss",
"lint:js": "eslint --max-warnings 0 src",
"lint:scss": "stylelint --config=.stylelintrc 'src/styles/**/*.scss'",
"locales": "node scripts/syncLocales --check",
"lint:locales": "node scripts/syncLocales --check",
"docker:build": "./scripts/docker_build.sh",
"docker:build:release": "./scripts/docker_build_release.sh",
"docker:push": "./scripts/docker_push.sh",
"docker:push:release": "./scripts/docker_push_release.sh",
"release:validate": "./scripts/validateRelease.sh",
"preinstall": "node -v; npm -v;",
"postbuild": "[ \"$BUILD_ENV\" != OCP ] && exit 0; yarn install --production --ignore-scripts --prefer-offline --pure-lockfile;"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!src/index.js",
"!src/setupTests.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}