forked from integr8ly/tutorial-web-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
90 lines (90 loc) · 3.4 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
{
"name": "integreatly-web-app",
"version": "0.5.0",
"private": true,
"proxy": "http://localhost:5001/",
"dependencies": {
"asciidoctor.js": "^1.5.7-rc.1",
"axios": "^0.18.0",
"classnames": "^2.2.5",
"client-oauth2": "^4.2.1",
"detect-browser": "^3.0.0",
"express": "^4.16.3",
"i18next": "^11.6.0",
"i18next-xhr-backend": "^1.5.1",
"js-cookie": "^2.2.0",
"lodash.get": "^4.4.2",
"patternfly-react": "^2.10.1",
"prop-types": "^15.6.2",
"react": "^16.4.0",
"react-dom": "^16.4.0",
"react-i18next": "^7.10.1",
"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"
},
"devDependencies": {
"babel-eslint": "^8.2.6",
"enzyme": "^3.4.2",
"enzyme-adapter-react-16": "^1.2.0",
"enzyme-to-json": "^3.3.4",
"eslint": "^4.19.1",
"eslint-plugin-patternfly-react": "^0.1.1",
"i18next-json-sync": "^2.2.0",
"jest": "^23.5.0",
"jest-cli": "^23.5.0",
"moxios": "^0.4.0",
"ncp": "^2.0.0",
"node-sass-chokidar": "^1.3.0",
"nodemon": "^1.18.4",
"npm-run-all": "^4.1.3",
"prettier": "^1.14.2",
"react-scripts": "1.1.4",
"redux-mock-store": "^1.5.3",
"source-map-explorer": "^1.5.0"
},
"resolutions": {
"**/jest": "23.5.0"
},
"scripts": {
"build:css": "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": "CI=false 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 OPENSHIFT_OAUTHCLIENT_ID=\"tutorial-web-app\" 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",
"lint:js": "eslint --max-warnings 0 src",
"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;"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!src/index.js",
"!src/setupTests.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
}
}