-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
127 lines (127 loc) · 4.11 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
{
"name": "stellar-disbursement-platform-frontend",
"version": "2.0.0-rc1",
"license": "Apache-2.0",
"engines": {
"node": ">=18.x"
},
"lint-staged": {
"src/**/*.ts?(x)": [
"eslint --fix --max-warnings 0"
]
},
"private": true,
"dependencies": {
"@reduxjs/toolkit": "^1.9.7",
"@stellar/design-system": "^1.1.1",
"@stellar/tsconfig": "^1.0.2",
"@svgr/webpack": "8.1.0",
"@tanstack/react-query": "^4.29.25",
"@tanstack/react-query-devtools": "^4.35.3",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.5.1",
"@types/jest": "^29.5.6",
"@types/lodash": "^4.14.200",
"@types/node": "^20.8.8",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@types/react-google-recaptcha": "^2.1.5",
"@types/react-redux": "^7.1.28",
"@types/react-router-dom": "^5.3.3",
"@types/uuid": "^9.0.6",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"assert": "^2.1.0",
"bignumber.js": "^9.1.2",
"buffer": "^6.0.3",
"concurrently": "^8.2.2",
"crypto-browserify": "^3.12.0",
"date-fns": "^2.30.0",
"dotenv": "^16.4.1",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-react": "^1.1.7",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"https-browserify": "^1.0.0",
"husky": "^8.0.3",
"lint-staged": "^15.0.2",
"lodash": "^4.17.21",
"node-sass": "^9.0.0",
"oidc-client-ts": "^2.3.0",
"os-browserify": "^0.3.0",
"papaparse": "^5.4.1",
"path-browserify": "^1.0.1",
"prettier": "^2.8.7",
"pretty-quick": "^3.1.3",
"process": "^0.11.10",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-google-recaptcha": "^3.1.0",
"react-redux": "^8.1.3",
"react-router-dom": "^6.17.0",
"redux": "^4.2.1",
"sass": "^1.69.4",
"sass-loader": "^13.3.2",
"stream-browserify": "^3.0.0",
"stream-http": "^3.2.0",
"typescript": "^5.2.2",
"url": "^0.11.3"
},
"resolutions": {
"asn1.js": "5.4.0"
},
"scripts": {
"start": "yarn git-info && webpack serve --open --config webpack.dev.js",
"build": "yarn git-info && NODE_ENV=production webpack --config webpack.prod.js",
"install-if-package-changed": "git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD | grep --quiet yarn.lock && yarn install || exit 0",
"prod:build": "docker image build -t disbursement-platform-frontend:localbuild .",
"prod:serve": "docker run -p 8000:80 disbursement-platform-frontend:localbuild",
"production": "yarn prod:build && yarn prod:serve",
"prepare": "husky install",
"pre-commit": "concurrently 'pretty-quick --staged' 'lint-staged' 'tsc --noEmit'",
"git-info": "rm -rf src/generated/ && mkdir src/generated/ && echo export default \"{\\\"commitHash\\\": \\\"$(git rev-parse --short HEAD)\\\", \\\"version\\\": \\\"$(git describe --tags --always)\\\"};\" > src/generated/gitInfo.ts"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@tanstack/eslint-plugin-query": "^4.29.25",
"@types/papaparse": "^5.3.10",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.8.1",
"eslint-webpack-plugin": "^4.0.1",
"file-loader": "^6.2.0",
"fork-ts-checker-webpack-plugin": "^9.0.0",
"html-webpack-plugin": "^5.5.3",
"mini-css-extract-plugin": "^2.7.6",
"react-hot-loader": "^4.13.1",
"style-loader": "^3.3.3",
"ts-loader": "^9.5.0",
"tsconfig-paths-webpack-plugin": "^4.1.0",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"
}
}