-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
104 lines (104 loc) · 3.73 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
{
"name": "pepper-mobile",
"version": "0.1.0",
"main": "server.js",
"repository": "",
"author": "Ethan Naluz <[email protected]>",
"license": "MIT",
"scripts": {
"build": "rm -rf client/ && cd server/ && yarn --production=false && yarn db:migration:run:prod",
"start": "cd server/ && yarn start",
"client": "cd ./client && yarn start:tsc:w",
"client:ios": "cd ./client && yarn ios",
"client:android": "cd ./client && yarn android",
"debug": "run-script-os",
"debug:macos": "open -a React\\ Native\\ Debugger.app",
"debug:linux": "react-native-debugger",
"debug:default": "react-native-debugger",
"dev": "dotenv run-p ngrok:twilio server client",
"dev:local": "dotenv run-p set:env server client",
"set:env": "dotenv ts-node ./changeLocalURL.ts",
"dev:android": "dotenv run-p ngrok:twilio server client debug:linux client:android",
"dev:ios": "dotenv run-p ngrok:twilio server client debug:macos",
"pod:install": "cd client/ && yarn pod:update",
"pod:update": "cd client/ && yarn pod:install",
"ngrok": "ngrok http 127.0.0.1:8000 -host-header=\"127.0.0.1:8000\"",
"ngrok:twilio": "yarn ngrok > /dev/null & sleep 1 && curl localhost:4040/api/tunnels | dotenv ts-node ./changeNgrokURL.ts",
"nuke": "rm -rf ./node_modules && cd ./client && yarn refresh && cd ../server && rm -rf ./node_modules && yarn cleanjs && cd",
"refresh": "yarn nuke && yarn setup",
"release": "standard-version",
"server": "cd server/ && yarn start:tsc:w",
"setup": "yarn && run-script-os",
"setup:macos": "cd client && yarn setup && cd ../server && yarn",
"setup:default": "cd client && yarn && cd ../server && yarn",
"xcode": "cd client/ios && xed ."
},
"scriptsComments": {
"ngrok": "Runs ngrok at port 8000",
"ngrok:twilio": "Runs ngrok at port 8000 and overwrites POST url for Twilio dev number",
"debug": "Opens React Native Debugger",
"dev": "Starts client and server in parallel",
"setup": "Installs packages for root, client, and server"
},
"dependencies": {},
"devDependencies": {
"@commitlint/cli": "^8.3.4",
"@commitlint/config-conventional": "^8.3.4",
"@types/vfile-message": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^2.15.0",
"@typescript-eslint/parser": "^2.15.0",
"commitizen": "^4.0.3",
"cz-conventional-changelog": "3.0.2",
"dotenv": "^8.2.0",
"dotenv-cli": "^3.1.0",
"envfile": "^4.5.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.9.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-react-hooks": "^2.3.0",
"husky": "^4.0.4",
"lint-staged": "^9.5.0",
"nodemon": "^2.0.2",
"npm-run-all": "^4.1.5",
"prettier": "^1.19.1",
"pretty-quick": "^2.0.1",
"run-script-os": "^1.0.7",
"standard-version": "^7.0.1",
"stylelint": "^12.0.1",
"stylelint-config-prettier": "^8.0.0",
"stylelint-config-react-native-styled-components": "^0.2.0",
"stylelint-config-standard": "^19.0.0",
"stylelint-prettier": "^1.1.2",
"stylelint-processor-styled-components": "^1.9.0",
"stylelint-react-native": "^2.1.1",
"ts-node": "^8.6.0",
"typescript": "^3.7.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"prepare-commit-msg": "exec < /dev/tty && git cz --hook",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*": [
"pretty-quick --staged",
"git add"
],
"*.{js,jsx,ts,tsx}": [
"eslint --fix --ext .ts,.js,.jsx,.tsx",
"git add"
],
"*.css": [
"stylelint --aei --fix",
"git add"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}