forked from boomerang-io/flow.client.web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
138 lines (138 loc) · 4.43 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
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "boomerang.app.flow",
"version": "0.7.0",
"private": true,
"homepage": "https://launch.boomerangplatform.net/BMRG_APP_ROOT_CONTEXT",
"dependencies": {
"@boomerang/boomerang-react-scripts": "5.1.1",
"@boomerang/boomerang-styles": "2.0.1",
"@boomerang/boomerang-utilities": "2.4.0",
"@boomerang/carbon-addons-boomerang-react": "3.4.1",
"@carbon/charts": "^0.16.24",
"@carbon/charts-react": "^0.16.24",
"@carbon/icons-react": "^10.12.0",
"@projectstorm/react-diagrams": "^5.3.2",
"axios": "0.19.2",
"carbon-components": "10.12.0",
"carbon-components-react": "7.12.0",
"classnames": "^2.2.6",
"closest": "0.0.1",
"codemirror": "^5.48.4",
"cronstrue": "^1.58.0",
"d3": "<=5.9.2",
"detect-browser": "^4.0.3",
"formik": "^2.1.4",
"immer": "^6.0.5",
"immutability-helper": "^3.0.1",
"js-file-download": "^0.4.4",
"match-sorter": "^2.3.0",
"moment-timezone": "^0.5.23",
"pathfinding": "^0.4.18",
"paths-js": "^0.4.10",
"prop-types": "15.7.2",
"query-string": "^6.8.3",
"react": "16.13.1",
"react-beautiful-dnd": "^9.0.2",
"react-codemirror2": "^6.0.0",
"react-copy-to-clipboard": "^5.0.1",
"react-dom": "16.13.1",
"react-dropzone": "^10.1.10",
"react-helmet": "^6.0.0",
"react-json-view": "^1.19.1",
"react-lazylog": "4.5.2",
"react-query": "1.5.8",
"react-router": "5.0.1",
"react-router-dom": "5.1.2",
"typeface-ibm-plex-sans": "0.0.75",
"use-immer": "^0.4.0",
"validator": "^10.7.1",
"webpack-hot-middleware": "^2.25.0",
"yup": "^0.27.0"
},
"devDependencies": {
"cypress": "4.7.0",
"eslint-plugin-cypress": "^2.11.1",
"http-proxy-middleware": "^0.20.0",
"miragejs": "^0.1.40",
"react-query-devtools": "^1.1.5"
},
"scripts": {
"analyze": "source-map-explorer server/build/static/js/main.*",
"apiServer": "json-server -c api/json-server.json --watch api/db.json api/routes.json",
"build": "react-scripts build",
"cm": "git cz",
"cypress": "cypress open",
"cypress:run": "$(npm bin)/cypress run --config video=false",
"dev": "run-p apiServer start",
"dev:pf": "cross-env REACT_APP_PORT_FORWARD=true run-p start",
"docker": "run-p docker:run apiServer",
"docker:build": "docker build -t webapp .",
"docker:run": "docker run -i -t -p 3000: 3000 -e APP_ROOT=/app -e BASE_SERVICE_ENV_URL=http://localhost:8000 webapp",
"eject": "react-scripts eject",
"lint": "eslint src",
"predocker": "run-s build docker:build",
"preprod": "run-s build prod:installServerDependencies prod:rewriteAssetPaths",
"prod": "run-p apiServer prod:server",
"prod:installServerDependencies": "npm --prefix ./server install ./server",
"prod:rewriteAssetPaths": "cross-env APP_ROOT=/app node server/scripts/rewriteAssetPaths.js",
"prod:server": "cd server && npm run-script dev",
"start": "react-scripts start",
"test": "react-scripts test",
"test:ci": "react-scripts test --coverage",
"test:ci-cypress": "start-server-and-test dev http://localhost:3000 cypress:run",
"test:coverage": "react-scripts test --coverage",
"test:staged": "cross-env CI=true react-scripts test --passWithNoTests --findRelatedTests --bail",
"test:static": "eslint -f json -o lint-report.json ./src",
"test:watch": "react-scripts test",
"upgradePackage": "react-scripts upgradePackage"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{js,jsx,json,scss,css,md}": [
"prettier --print-width 120 --write"
],
"src/**/*.{js,jsx}": [
"npm run-script lint",
"npm run-script test:staged"
]
},
"jest": {
"collectCoverageFrom": [
"!**/*.spec.{js,jsx}",
"!**/assets/**",
"**/src/components/**/*.{js,jsx}",
"**/src/features/**/*.{js,jsx}",
"**/src/hooks/**/*.{js,jsx}",
"**/src/state/**/*.{js,jsx}",
"**/src/utilities/**/*.{js,jsx}",
"**/src/utils/**/*.{js,jsx}"
]
}
}