This repository has been archived by the owner on Feb 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
111 lines (111 loc) · 4.85 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
{
"name": "ordered.online",
"private": true,
"keywords": [
"lerna",
"monorepo",
"multi-package",
"react-native",
"yarn",
"workspaces",
"expo"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ordered-online/apps"
},
"author": "Felix Kästner <hello@felix-kaestner.com>",
"bugs": {
"url": "https://github.com/ordered-online/apps/issues"
},
"homepage": "https://www.ordered.online",
"scripts": {
"bootstrap": "lerna bootstrap --use-workspaces",
"debug:android": "adb shell input keyevent 82",
"clean": "lerna run clean",
"compile": "lerna run compile",
"release": "lerna version --conventional-commits --create-release github",
"ios:app": "yarn start:api & yarn start:components & lerna run --scope=@ordered.online/app ios --stream",
"ios:app:remote": "API_URL=ordered.online yarn start:api & yarn start:components & lerna run --scope=@ordered.online/app ios --stream",
"ios:manager": "yarn start:api & yarn start:components & lerna run --scope=@ordered.online/manager ios --stream",
"ios:manager:remote": "API_URL=ordered.online yarn start:api & yarn start:components & lerna run --scope=@ordered.online/manager ios --stream",
"android:app": "API_URL=10.0.2.2:80 yarn start:api & yarn start:components & lerna run --scope=@ordered.online/app android --stream",
"android:app:remote": "API_URL=ordered.online yarn start:api & yarn start:components & lerna run --scope=@ordered.online/app android --stream",
"android:manager": "API_URL=10.0.2.2:80 yarn start:api & yarn start:components & lerna run --scope=@ordered.online/manager android --stream",
"android:manager:remote": "API_URL=ordered.online yarn start:api & yarn start:components & lerna run --scope=@ordered.online/manager android --stream",
"web:app": "yarn start:api & yarn start:components & lerna run --scope=@ordered.online/app web --stream",
"web:app:remote": "API_URL=ordered.online yarn start:api & yarn start:components & lerna run --scope=@ordered.online/app web --stream",
"web:manager": "yarn start:api & yarn start:components & lerna run --scope=@ordered.online/manager web --stream",
"web:manager:remote": "API_URL=ordered.online yarn start:api & yarn start:components & lerna run --scope=@ordered.online/manager web --stream",
"start:api": "lerna run --scope=@ordered.online/api start --stream",
"start:components": "lerna run --scope=@ordered.online/components start --stream",
"build:api": "lerna run --scope=@ordered.online/api build --stream",
"build:api:remote": "API_URL=ordered.online lerna run --scope=@ordered.online/api build --stream",
"build:components": "lerna run --scope=@ordered.online/components build --stream",
"build:ios:app": "yarn build:api:remote && yarn build:components && yarn --cwd $PWD/packages/app build:ios",
"build:ios:manager": "yarn build:api:remote && yarn build:components && yarn --cwd $PWD/packages/manager build:ios",
"build:android:app": "yarn build:api:remote && yarn build:components && yarn --cwd $PWD/packages/app build:android",
"build:android:manager": "yarn build:api:remote && yarn build:components && yarn --cwd $PWD/packages/manager build:android",
"build:web:app": "yarn build:api:remote && yarn build:components && yarn --cwd $PWD/packages/app build:web",
"build:web:manager": "yarn build:api:remote && yarn build:components && yarn --cwd $PWD/packages/manager build:web",
"lint": "lerna run lint",
"format": "lerna run format",
"changed": "lerna changed",
"test": "jest --detectOpenHandles",
"test:coverage": "jest --coverage --detectOpenHandles",
"test:develop": "jest -o --watch --changedSince=origin/master --detectOpenHandles",
"test:updateSnapshots": "jest -u --detectOpenHandles",
"test:clear": "jest --clearCache"
},
"dependencies": {
"expo": "^36.0.0",
"expo-yarn-workspaces": "^1.2.1",
"react": "16.9.0",
"react-dom": "16.9.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-36.0.1.tar.gz",
"react-native-web": "~0.11.7"
},
"devDependencies": {
"@babel/core": "^7.7.2",
"expo-cli": "^3.11.1",
"husky": "^3.0.9",
"jest-expo": "^36.0.0",
"lerna": "^3.20.2",
"lint-staged": "^9.4.2",
"prettier": "^1.19.1"
},
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": []
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"packages/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"resolutions": {
"mem": "^4.0.0",
"serialize-javascript": "^2.1.1",
"braces": "^2.3.1"
},
"version": "0.0.0"
}