This repository has been archived by the owner on Nov 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
74 lines (74 loc) · 2.16 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
{
"name": "gigatron",
"private": true,
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"**/react-native",
"**/react-native/**",
"**/styled-components",
"**/styled-components/**",
"**/react-native-*",
"**/react-native-*/**",
"**/@react-navigation/web*",
"**/@react-navigation/web*/**"
]
},
"scripts": {
"server": "yarn workspace @foton/server start",
"web": "yarn workspace @foton/web start",
"app": "yarn workspace @foton/app start",
"dev": "concurrently -n app,web,server --kill-others \"yarn ios\" \"yarn web\" \"yarn server\"",
"dev:web": "concurrently -n web,server --kill-others \"yarn web\" \"yarn server\"",
"dev:app": "concurrently -n app,server --kill-others \"yarn ios\" \"yarn server\"",
"run-ios": "yarn workspace @foton/app run-ios",
"ios": "yarn workspace @foton/app ios",
"test:app": "yarn workspace @foton/app test",
"test:web": "yarn workspace @foton/web test",
"test:server": "yarn workspace @foton/server test",
"precommit": "yarn lint-staged"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.4.3",
"@babel/node": "^7.2.2",
"@types/dotenv": "^6.1.1",
"@types/graphql": "^14.0.4",
"@types/jest": "^24.0.11",
"@types/react": "^16.8.13",
"@types/react-test-renderer": "^16.8.1",
"@types/styled-components": "4.1.5",
"@typescript-eslint/eslint-plugin": "^1.6.0",
"@typescript-eslint/parser": "^1.6.0",
"all-contributors-cli": "^5.7.0",
"babel-preset-gigatron": "1.0.0",
"concurrently": "^4.1.0",
"eslint": "5.12.0",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.12.4",
"husky": "^1.3.1",
"lint-staged": "^8.1.5",
"prettier": "^1.16.4",
"typescript": "^3.4.3"
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix --ext js,ts",
"prettier --write",
"git add"
],
"*.{jsx,tsx,json}|*rc|*config": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "yarn precommit"
}
}
}