forked from nearform/open-banking-reference-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
177 lines (177 loc) · 5.95 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
165
166
167
168
169
170
171
172
173
174
175
176
177
{
"name": "polaris",
"version": "0.0.1",
"private": true,
"main": "node_modules/expo/AppEntry.js",
"dependencies": {
"@testing-library/react-hooks": "^3.2.1",
"@xstate/react": "^1.0.0-rc.3",
"date-fns": "^2.12.0",
"debounce": "^1.2.0",
"email-validator": "^2.0.4",
"expo": "^37.0.0",
"expo-asset": "~8.1.4",
"expo-constants": "~9.0.0",
"expo-font": "~8.1.0",
"expo-localization": "~8.1.0",
"expo-permissions": "~8.1.0",
"fbemitter": "^2.1.1",
"i18next": "19.4.2",
"i18next-browser-languagedetector": "^4.1.0",
"lodash": "^4.17.19",
"mockdate": "^2.0.5",
"react": "16.9.0",
"react-art": "16.9.0",
"react-dom": "16.9.0",
"react-i18next": "^11.3.4",
"react-native": "https://github.com/expo/react-native/archive/sdk-37.0.0.tar.gz",
"react-native-qrcode-svg": "^6.0.3",
"react-native-side-menu": "^1.1.3",
"react-native-svg": "11.0.1",
"react-native-web": "^0.11.7",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"react-router-native": "^5.1.2",
"react-router-navigation": "^2.0.0-alpha.10",
"react-spring": "^8.0.27",
"svg-path-properties": "^0.4.8",
"tree-kill": "^1.2.2",
"use-interval": "^1.2.1",
"xstate": "^4.9.1"
},
"scripts": {
"build": "run-p build:*",
"build:web": "expo build:web",
"create:env": "cp .env.sample .env && cp server/.env.sample server/.env",
"doc:serve": "docsify serve -p 4000 docs",
"deploy": "run-p deploy:*",
"deploy:web": "gh-pages -d build",
"eject": "run-p eject:*",
"eject:web": "react-scripts eject",
"eject:native": "expo eject",
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
"lint:fix": "npm run lint -- --fix",
"start": "run-p start:*",
"start:hard": "run-p start:*:hard",
"start:web": "expo start --web --no-https",
"start:api": "cd server && npm run build && npm run start",
"start:native": "expo start",
"start:android": "run-s start:native -- --android",
"start:android:hard": "run-s start:android -- -c",
"start:ios": "run-s start:native -- --ios",
"start:ios:hard": "run-s start:ios -- -c",
"typecheck": "tsc -p tsconfig.json && cd server && npm run typecheck",
"typecheck:client": "tsc -p tsconfig.json",
"typecheck:watch": "npm run typecheck -- -w",
"checks": "run-p lint:fix && run-p lint && run-p typecheck && run-p test",
"test": "jest",
"test:build": "jest -w 2",
"test:update": "jest -u",
"test:watch": "jest --watch",
"storybook": "start-storybook -p 9001 -c ./storybook/.storybook",
"predeploy": "npm run build:web",
"postinstall": "node ./node_modules/patch-package && cd server && npm i && cd .. && node init-env.js"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --cache --fix"
],
"*.{css,md,json}": [
"prettier --write",
"git add"
]
},
"jest": {
"preset": "jest-expo",
"testTimeout": 10000,
"transformIgnorePatterns": [
"node_modules/(?!(jest-)?react-native|unimodules-permissions-interface|react-clone-referenced-element|@react-native-community|expo(nent)?|@expo(nent)?/.*|react-navigation|@react-navigation/.*|@unimodules/.*|sentry-expo|native-base|react-router-native|react-router-navigation|@babel)"
],
"automock": false,
"moduleNameMapper": {
"^store(.*)$": "<rootDir>/src/store$1",
"^components(.*)$": "<rootDir>/src/components$1",
"^src(.*)$": "<rootDir>/src$1",
"^utils(.*)$": "<rootDir>/src/utils$1",
"^constants(.*)$": "<rootDir>/src/constants$1",
"^assets(.*)$": "<rootDir>/src/assets$1",
"^routing(.*)$": "<rootDir>/src/routing$1",
"^services(.*)$": "<rootDir>/src/services$1",
"^test-utils(.*)$": "<rootDir>/src/test-utils"
},
"setupFilesAfterEnv": [
"./setupJest.js"
]
},
"prettier": {
"printWidth": 120,
"bracketSpacing": true,
"arrowParens": "avoid",
"endOfLine": "auto",
"trailingComma": "none",
"semi": false,
"singleQuote": true
},
"devDependencies": {
"@expo/webpack-config": "^0.11.23",
"@storybook/addon-actions": "^5.3.18",
"@storybook/addon-knobs": "^5.3.18",
"@storybook/addon-links": "^5.3.18",
"@storybook/react": "^5.3.18",
"@testing-library/jest-dom": "^5.5.0",
"@testing-library/jest-native": "^3.1.0",
"@types/googlemaps": "^3.39.3",
"@types/jest": "^24.9.1",
"@types/markerclustererplus": "^2.1.33",
"@types/pino": "^6.0.0",
"@types/react": "^16.9.11",
"@types/react-native": "^0.62.2",
"@types/react-router-dom": "^5.1.4",
"@types/react-router-native": "^5.1.0",
"@types/react-router-navigation": "^1.0.10",
"@types/react-test-renderer": "^16.9.2",
"@types/uuid": "^3.4.8",
"@typescript-eslint/eslint-plugin": "^2.28.0",
"@typescript-eslint/parser": "^2.28.0",
"babel-loader": "^8.1.0",
"babel-plugin-inline-dotenv": "^1.5.0",
"babel-plugin-module-resolver": "^3.2.0",
"babel-preset-expo": "^8.1.0",
"docsify-cli": "^4.3.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-config-standard": "^13.0.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-node": "^9.2.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^4.0.0",
"eslint-plugin-standard": "^4.0.1",
"expo-cli": "^3.20.9",
"gh-pages": "^2.2.0",
"husky": "^4.2.5",
"jest-expo": "^37.0.0",
"jest-fetch-mock": "^3.0.3",
"lint-staged": "^10.2.2",
"npm-run-all": "^4.1.5",
"patch-package": "^6.2.2",
"prettier": "^2.0.4",
"react-native-gesture-handler": "~1.6.1",
"react-native-testing-library": "^1.13.2",
"react-test-renderer": "16.9.0",
"typescript": "^3.8.3"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"husky": {
"hooks": {
"pre-commit": "npm run typecheck && lint-staged"
}
}
}