-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
47 lines (47 loc) · 1.83 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
{
"name": "zoo",
"version": "1.0.0",
"description": "this is a stub",
"main": "ecosystem.config.js",
"scripts": {
"dev": "node ./start.js",
"test": "concurrently --prefix-colors \"bgBlue.bold,bgGreen.bold\" --prefix \"[{name}]\" --names \"front:test,api:test\" \"yarn test:api\" \"yarn test:frontend\"",
"test:eslint:frontend": "cd zoo_frontend && yarn test:eslint && cd ../",
"test:eslint:api": "cd zoo_api && yarn test:eslint && cd ../",
"eslint:api": "cd zoo_api && yarn test:eslint && cd ../",
"eslint:frontend": "cd zoo_frontend && yarn test:eslint && cd ../",
"test:api": "cd zoo_api && yarn test && cd ../",
"test:frontend": "cd zoo_frontend && yarn test && cd ../",
"powershell:prod": "powershell.exe $env:NODE_ENV='production'",
"bash:prod": "export NODE_ENV=production",
"prepush": "concurrently --prefix-colors \"bgBlue.black.bold,bgGreen.black.bold,bgCyan.black.bold,bgYellow.black.bold\" --prefix \"[{name}]\" --names \"lint:api,lint:front,test:api,test:front\" \"yarn eslint:api\" \"yarn eslint:frontend\" \"yarn test:api\" \"yarn test:frontend\"",
"gcbuild": "gcloud builds submit --tag gcr.io/zoo-nutrition/zoo_app",
"gcdeploy": "gcloud beta run deploy --image gcr.io/zoo-nutrition/zoo_app --platform managed"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ohdzdev/NutritionSystem.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/Cohdzdev/NutritionSystem/issues"
},
"homepage": "https://github.com/ohdzdev/NutritionSystem#readme",
"private": true,
"workspaces": [
"zoo_frontend",
"zoo_api"
],
"devDependencies": {
"concurrently": "^4.1.0",
"husky": "^2.3.0"
},
"husky": {
"hooks": {
"pre-push": "yarn prepush",
"post-merge": "yarn",
"post-checkout": "yarn"
}
}
}