-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
28 lines (28 loc) · 1.36 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
{
"name": "package",
"version": "0.0.1",
"scripts": {
"start": "npm-run-all --parallel api:start web:start",
"init": "npm-run-all --sequential remove:migration database:drop make:migration database:update start",
"git": "npm-run-all --sequential add commit push",
"add": "git add .",
"commit": "git commit -m Fix_Bugs",
"push": "git push origin master",
"hibernate": "shutdown /h",
"sleep": "npm-run-all --sequential git hibernate",
"api:install": "cd BookingApp.Api && dotnet restore && cd ..",
"api:build": "dotnet build BookingApp.Api/BookingApp.Api.csproj",
"api:start": "dotnet run -p BookingApp.Api/BookingApp.Api.csproj",
"web:install": "cd BookingApp.Web && npm install && cd ..",
"web:build": "npm run build --production",
"web:start": "cd BookingApp.Web && npm start && cd ..",
"postinstall": "npm-run-all --parallel api:install web:install --sequential init",
"remove:migration": "rm -r -f BookingApp.Data/Migrations",
"make:migration": "dotnet ef --startup-project BookingApp.Api migrations add $MSG --project BookingApp.Data",
"database:update": "dotnet ef --startup-project BookingApp.Api database update --project BookingApp.Data",
"database:drop": "dotnet ef --startup-project BookingApp.Api database drop --project BookingApp.Data"
},
"dependencies": {
"npm-run-all": "^4.1.5"
}
}