-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
80 lines (80 loc) · 2.79 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
{
"name": "passager-password-manager",
"version": "1.1.0",
"private": true,
"license": "AGPL-3.0",
"dependencies": {
"@capacitor-community/http": "^1.4.1",
"@capacitor/android": "^3.6.0",
"@capacitor/cli": "^3.6.0",
"@capacitor/core": "^3.6.0",
"@capacitor/filesystem": "^1.1.0",
"@capacitor/ios": "^3.6.0",
"@capacitor/share": "^1.1.2",
"@capacitor/status-bar": "^1.0.8",
"@mdi/js": "^6.7.96",
"@mdi/react": "^1.6.0",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^14.2.1",
"@useful-tools/crypto": "^1.1.0",
"@useful-tools/localstorage": "^1.2.0",
"capacitor-native-biometric": "^3.1.1",
"i18next": "^21.8.10",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-i18next": "^11.17.2",
"react-qr-code": "^2.0.11",
"react-router-dom": "^6.3.0",
"react-scripts": "5.0.1",
"styled-components": "^5.3.5",
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "react-scripts start",
"start:docker": "docker run -p 8000:80 passager-frontend",
"start:docker:dev": "docker run -p 3000:3000 --mount src=`pwd`/src,target=/usr/src/app/src,type=bind passager-frontend-dev",
"build": "react-scripts build&&npm run build:manifest&&npx cap sync",
"build:web": "react-scripts build",
"build:docker": "docker build . -t 'passager-frontend'",
"build:docker:dev": "docker build . -t 'passager-frontend-dev' -f Dockerfile.dev",
"build:manifest": "node bin/createVersionManifest.js",
"test": "react-scripts test",
"eject": "react-scripts eject",
"prepare": "husky install",
"start:android": "npm run build&&npx cap run android",
"start:ios": "npm run build&&npx cap run ios",
"build:icons": "cordova-res ios --skip-config --copy&&cordova-res android --skip-config --copy",
"lint": "eslint . --fix --max-warnings=0",
"format": "prettier . --write"
},
"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": {
"eslint": "^8.24.0",
"eslint-config-prettier": "^8.5.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1"
},
"lint-staged": {
"*.js,jsx": "eslint --fix ",
"*.{css,md,json}": "prettier --cache --write"
}
}