-
Notifications
You must be signed in to change notification settings - Fork 44
/
package.json
129 lines (129 loc) · 3.9 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
{
"name": "OrdinaryPuzzles",
"version": "0.0.1",
"private": true,
"author": "Mazzarolo Matteo",
"description": "Minimalistic puzzle game inspired by Picross and Sudoku.",
"main": "./public/electron.js",
"scripts": {
"android:dev": "react-native run-android",
"ios:dev": "react-native run-ios",
"web:dev": "PUBLIC_URL='/play' react-app-rewired start",
"web:build": "PUBLIC_URL='/play' NODE_ENV=production react-app-rewired build",
"electron:dev": "run-p --print-label electron:dev:*",
"electron:dev:cra": "PUBLIC_URL='./' BROWSER=none ELECTRON=true react-app-rewired start",
"electron:dev:start": "wait-on tcp:3000 && ELECTRON_START_URL=http://localhost:3000 electron .",
"electron:build": "run-s --print-label electron:build:*",
"electron:build:cra": "PUBLIC_URL='./' NODE_ENV=production ELECTRON=true react-app-rewired build",
"electron:build:package": "electron-builder build --mac -c.extraMetadata.main=build/electron.js --publish never",
"start": "react-native start",
"test": "jest",
"test:watch": "jest --watch",
"lint": "eslint 'src/' --ext .js,.jsx,.ts,.tsx",
"lint:fix": "yarn lint --fix",
"typecheck": "tsc",
"xcode": "open ios/OrdinaryPuzzles.xcworkspace",
"studio": "open -a /Applications/Android\\ Studio.app ./android/",
"postinstall": "electron-builder install-app-deps"
},
"dependencies": {
"@react-native-community/async-storage": "^1.12.1",
"lodash": "^4.17.20",
"mobx": "^6.0.1",
"mobx-logger": "^0.7.1",
"mobx-react": "^7.0.0",
"react": "16.13.1",
"react-dom": "^17.0.1",
"react-native": "0.63.3",
"react-native-bootsplash": "^1.0.3",
"react-native-haptic": "oblador/react-native-haptic#package-cleanup",
"react-native-immersive": "^2.0.0",
"react-native-keep-awake": "corbt/react-native-keep-awake#146c2db",
"react-native-sound": "^0.11.0",
"react-native-web": "^0.14.4",
"tinycolor2": "^1.4.2"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/plugin-proposal-class-properties": "^7.8.4",
"@babel/runtime": "^7.8.4",
"@types/jest": "^26.0.14",
"@types/lodash": "^4.14.162",
"@types/react": "^16.9.34",
"@types/react-native": "^0.63.25",
"@types/react-test-renderer": "^16.9.3",
"@types/tinycolor2": "^1.4.2",
"babel-jest": "^24.9.0",
"babel-plugin-module-resolver": "^4.0.0",
"babel-plugin-transform-remove-console": "^6.9.4",
"cross-env": "^7.0.3",
"customize-cra": "^1.0.0",
"electron": "^13.1.7",
"electron-builder": "^22.11.7",
"eslint": "^7.11.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.3.0",
"jest": "^26.5.2",
"lint-staged": "^10.4.0",
"metro-react-native-babel-preset": "^0.59.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.1.2",
"react-app-rewired": "^2.1.6",
"react-scripts": "^4.0.0",
"react-test-renderer": "16.13.1",
"typescript": "^4.0.3",
"wait-on": "^6.0.0"
},
"jest": {
"preset": "react-native"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run typecheck && npm run lint && npm run test"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix"
],
"*.md": [
"prettier --write"
]
},
"build": {
"appId": "com.mmazzarolo.ordinarypuzzles",
"files": [
"**/*",
"build/**/*",
"node_modules/**/*"
],
"directories": {
"buildResources": "public"
},
"mac": {
"target": "dmg",
"category": "public.app-category.puzzle-games"
},
"win": {
"target": "nsis"
},
"linux": {
"target": "deb",
"category": "Games"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}