-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
42 lines (42 loc) · 2.01 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
{
"name": "github-profile-apple-music",
"packageManager": "yarn@4.0.0",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"web": "yarn workspace web",
"backend": "yarn workspace backend",
"firebase:emulator": "yarn firebase:kill && firebase emulators:start --only auth,functions,firestore,pubsub --export-on-exit=./emulator-data --import=./emulator-data",
"firebase:kill": "kill-port 4000 9099 5001 8080 9199 8085",
"build": "env-cmd run-s workspace:build:backend",
"workspace:build:backend": "env-cmd yarn backend build",
"workspace:build:watch:backend": "env-cmd run-p backend:build:watch backend:copyfiles:watch",
"backend:build:watch": "yarn backend build:watch",
"backend:copyfiles:watch": "yarn backend copyfiles:watch",
"workspace:emulate:backend": "env-cmd yarn backend serve:emulate",
"workspace:shell:backend": "yarn workspace backend shell",
"workspace:start:backend": "yarn workspace backend start",
"workspace:deploy:web": "yarn workspace web deploy",
"workspace:deploy:backend": "yarn workspace backend deploy",
"dev:web": "env-cmd --silent yarn web dev",
"build:web": "env-cmd -f .env.production yarn web build",
"deploy:web": "run-s build:web workspace:deploy:web",
"deploy:backend": "env-cmd run-s build workspace:deploy:backend",
"start:backend": "env-cmd --silent run-s workspace:start:backend",
"build:watch:backend": "env-cmd --silent run-s workspace:build:watch:backend",
"shell:backend": "env-cmd --silent run-s workspace:shell:backend",
"emulate:backend": "env-cmd --silent run-s workspace:emulate:backend",
"dev:backend": "env-cmd --silent run-p build:watch:backend emulate:backend",
"serve:watch": "env-cmd --silent run-p firebase:kill build && env-cmd --silent run-p dev:web build:watch:backend firebase:emulator"
},
"devDependencies": {
"env-cmd": "^10.1.0",
"eslint": "^8.19.0",
"kill-port": "^2.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"rimraf": "^3.0.2"
}
}