forked from factn/resilience-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
164 lines (164 loc) · 4.99 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
{
"name": "resilience-app",
"version": "0.1.0",
"private": true,
"dependencies": {
"@date-io/date-fns": "^1.3.13",
"@firebase/auth-types": "^0.10.0",
"@mapbox/mapbox-sdk": "^0.10.0",
"@material-ui/core": "^4.9.10",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.49",
"@material-ui/pickers": "^3.2.10",
"@reduxjs/toolkit": "^1.3.4",
"@unicef/material-ui-currency-textfield": "^0.8.6",
"algolia-places-react": "^1.5.1",
"autosuggest-highlight": "^3.1.1",
"axios": "^0.19.2",
"class-validator": "^0.11.1",
"csvtojson": "^2.0.10",
"date-fns": "^2.12.0",
"dot-object": "^2.1.3",
"express": "^4.17.1",
"firebase": "^7.14.0",
"firebase-functions": "^3.6.1",
"fireorm": "^0.13.3",
"http-proxy-middleware": "^1.0.3",
"json2csv": "^5.0.1",
"jsontocsv": "^0.3.0",
"leaflet": "^1.6.0",
"leaflet-routing-machine": "^3.2.12",
"lodash": "^4.17.15",
"path": "^0.12.7",
"querystring-browser": "^1.0.4",
"react": "^16.13.1",
"react-csv": "^2.0.3",
"react-dom": "^16.13.1",
"react-flexbox-grid": "^2.1.2",
"react-image-crop": "^8.6.2",
"react-leaflet": "^2.6.3",
"react-redux": "^7.2.0",
"react-redux-firebase": "^3.3.0",
"react-router-dom": "^5.1.2",
"react-scripts": "^3.4.1",
"recompose": "^0.30.0",
"redux-firestore": "^0.13.0",
"reflect-metadata": "^0.1.13",
"source-map-loader": "^0.2.4",
"styled-components": "^5.1.0",
"uuid": "^7.0.2"
},
"scripts": {
"build-storybook": "build-storybook -s public",
"build": "react-app-rewired build",
"docs": "jsdoc -c jsdoc.conf.json",
"eject": "react-scripts eject",
"format": "npm run lint:fix && npm run prettier:fix",
"format:check": "npm run lint && npm run prettier:check",
"generate-testdata": "python ./scheme/data.py",
"lint:fix": "eslint ./src --fix --ext .js,.jsx,.ts,.tsx",
"lint": "eslint ./src --ext .js,.jsx,.ts,.tsx",
"prettier:check": "prettier --check ./src",
"prettier:fix": "prettier --write ./src",
"server": "node server.js",
"start": "run-p --race dev:firebase dev:react",
"storybook": "start-storybook -p 9009 -s public",
"test": "react-app-rewired test",
"upload": "cross-env NODE_ENV=development node scheme/uploadMock.js",
"dev": "cross-env REACT_APP_USE_DB_EMULATORS=true npm-run-all -p dev:firebase dev:firestore dev:react dev:upload",
"dev:firestore": "firebase emulators:start --only firestore",
"dev:firebase": "firebase serve",
"dev:react": "react-app-rewired start",
"dev:upload": "wait-on http-get://localhost:8080/ && npm run upload",
"deploy:staging": "npm run build && firebase deploy -P default",
"deploy:production": "npm run build && firebase deploy -P production"
},
"eslintConfig": {
"extends": [
"prettier",
"react-app"
],
"plugins": [
"prettier",
"react",
"simple-import-sort",
"sort-destructure-keys"
],
"globals": {
"firebase": "readonly"
},
"rules": {
"sort-destructure-keys/sort-destructure-keys": [
2,
{
"caseSensitive": false
}
],
"sort-imports": "off"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"ie 11",
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@storybook/addon-actions": "^5.3.17",
"@storybook/addon-knobs": "^5.2.6",
"@storybook/addon-links": "^5.3.17",
"@storybook/addon-notes": "^5.2.6",
"@storybook/addons": "^5.3.17",
"@storybook/preset-create-react-app": "^2.1.0",
"@storybook/react": "^5.3.17",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"@types/jest": "^25.2.1",
"@types/lodash": "^4.14.149",
"@types/react": "^16.9.34",
"@types/react-dom": "16.9.7",
"@types/react-redux": "^7.1.7",
"@types/react-router-dom": "^5.1.4",
"@types/uuid": "^7.0.2",
"awesome-typescript-loader": "^5.2.1",
"better-docs": "^1.4.7",
"cross-env": "^7.0.2",
"customize-cra": "^0.9.1",
"customize-cra-react-refresh": "^1.0.1",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-simple-import-sort": "^5.0.2",
"eslint-plugin-sort-destructure-keys": "^1.3.4",
"export-to-csv": "^0.2.1",
"firebase-admin": "^8.12.1",
"google-gax": "^2.3.1",
"husky": "^4.2.5",
"jest-dom": "^3.5.0",
"jsdoc": "^3.6.4",
"lint-staged": "^10.1.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.4",
"react-app-rewired": "^2.1.6",
"storybook-addon-material-ui": "^0.9.0-alpha.21",
"typescript": "^3.8.3",
"wait-on": "^4.0.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,json,css,scss,md}": [
"prettier --write"
]
}
}