-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
31 lines (31 loc) · 1.14 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
{
"name": "@ai/root",
"workspaces": [
"api",
"database"
],
"repository": {
"type": "git",
"repository": "https://github.com/ZibanPirate/automatic-invention.git"
},
"author": {
"email": "zakman.dev@gmail.com",
"name": "Zakaria Mansouri"
},
"private": true,
"license": "UNLICENSED",
"scripts": {
"lint:check": "concurrently -k \"cd api && yarn lint:check\" \"cd database && yarn lint:check\"",
"lint:fix": "concurrently -k \"cd api && yarn lint:fix\" \"cd database && yarn lint:fix\"",
"dev": "yarn && concurrently -k \"cd api && yarn build:watch\" \"cd api && yarn dev\" \"cd database && yarn build:watch\"",
"test": "concurrently -k \"cd api && yarn test\" \"cd database && yarn test\"",
"test:cov": "concurrently -k \"cd api && yarn test:cov\" \"cd database && yarn test:cov\"",
"db:up":"cd api && yarn db:up && cd ..",
"db:down":"cd api && yarn db:down && cd ..",
"postinstall": "(husky install && husky set .husky/pre-commit \"cd api && yarn lint-staged && cd ../database && yarn lint-staged\") || exit 0"
},
"devDependencies": {
"concurrently": "^6.0.2",
"husky": "^6.0.0"
}
}