-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
52 lines (52 loc) · 2.04 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
{
"repository": "[email protected]:sasalatart/on-this-day.git",
"author": "Sebastián Salata R-T <[email protected]>",
"license": "MIT",
"private": true,
"workspaces": {
"packages": [
"packages/shared",
"packages/server",
"packages/*"
],
"nohoist": [
"**/@types/jest",
"**/@types/mocha",
"**/@types/cypress",
"**/cypress",
"**/jest"
]
},
"scripts": {
"lint": "yarn workspaces run lint",
"lint:md": "yarn markdownlint README.md",
"clean": "yarn workspaces run clean",
"build": "yarn workspaces run build",
"compile:dev": "concurrently \"yarn compile:shared\" \"yarn compile:codegen\"",
"compile:shared": "yarn workspace @on-this-day/shared compile",
"compile:codegen": "yarn workspace @on-this-day/server codegen && yarn workspace @on-this-day/client codegen",
"start": "yarn workspace @on-this-day/server start",
"console": "yarn workspace @on-this-day/server console",
"compose": "docker-compose -f ./docker/docker-compose.app.yml -f ./docker/docker-compose.db-dev.yml",
"compose:scraper": "docker-compose -f ./docker/docker-compose.scraper.yml",
"compose:test": "docker-compose -f ./docker/docker-compose.app.yml -f ./docker/docker-compose.db-test.yml",
"dev:up": "yarn compose up",
"dev:destroy": "yarn compose rm",
"dev:scraper:up": "yarn compose:scraper up",
"dev:scraper:destroy": "yarn compose:scraper rm",
"test:scraper": "yarn compile:shared && yarn workspace @on-this-day/scraper yarn test",
"test:server": "yarn compile:dev && yarn workspace @on-this-day/server yarn test",
"test:up": "yarn compose:test up",
"test:destroy": "yarn compose:test rm",
"test:e2e": "yarn workspace @on-this-day/client cypress:headless",
"test:e2e:open": "yarn workspace @on-this-day/client cypress:open"
},
"devDependencies": {
"@on-this-day/eslint-config": "1.0.0",
"@types/node": "^12.0.0",
"concurrently": "^5.1.0",
"markdownlint-cli": "^0.22.0",
"prettier": "^2.0.1",
"typescript": "^4.1.3"
}
}