-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
94 lines (94 loc) · 4.09 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "clean-architecture-nodejs-graphql-codegen",
"version": "1.0.0",
"main": "index.js",
"author": "suzukalight <[email protected]>",
"license": "MIT",
"private": true,
"workspaces": {
"packages": [
"src/*"
]
},
"scripts": {
"dev": "run-p dev:*",
"dev:backend": "yarn workspace backend dev",
"dev:frontend": "yarn workspace frontend dev",
"build": "run-s build:common build:schema build:domain-model build:backend build:frontend",
"build:common": "yarn workspace common build",
"build:schema": "yarn workspace schema build",
"build:domain-model": "yarn workspace domain-model build",
"build:backend": "yarn workspace backend build",
"build:frontend": "yarn workspace frontend build",
"rebuild": "run-s rebuild:common rebuild:schema rebuild:domain-model rebuild:backend rebuild:frontend",
"rebuild:common": "yarn workspace common rebuild",
"rebuild:schema": "yarn workspace schema rebuild",
"rebuild:domain-model": "yarn workspace domain-model rebuild",
"rebuild:backend": "yarn workspace backend rebuild",
"rebuild:frontend": "yarn workspace frontend rebuild",
"reset:backend": "run-s rebuild:common rebuild:schema rebuild:domain-model rebuild:backend",
"clean": "run-s clean:frontend clean:backend clean:schema clean:domain-model clean:common clean:modules",
"clean:modules": "rimraf node_modules",
"clean:common": "yarn workspace common clean",
"clean:schema": "yarn workspace schema clean",
"clean:domain-model": "yarn workspace domain-model clean",
"clean:backend": "yarn workspace backend clean",
"clean:frontend": "yarn workspace frontend clean",
"start": "run-p start:*",
"start:backend": "yarn workspace backend start",
"start:frontend": "yarn workspace frontend start",
"fix": "run-s typecheck lint format",
"typecheck": "tsc --noEmit",
"lint": "eslint --fix ./src",
"format": "prettier --write -l \"./src/**/*.{js,ts,graphql}\"",
"test": "run-s test:*",
"test:domain": "yarn workspace domain-model test",
"test:backend": "yarn workspace backend test",
"codegen": "run-s codegen:schema codegen:frontend",
"codegen:schema": "yarn workspace schema codegen",
"codegen:frontend": "yarn workspace frontend codegen",
"docker:upd": "run-p docker:upd:*",
"docker:upd:backend": "yarn workspace backend docker:upd",
"docker:down": "run-p docker:down:*",
"docker:down:backend": "yarn workspace backend docker:down",
"db:migrate": "yarn workspace backend db:migrate",
"db:migration:generate": "yarn workspace backend db:migration:generate",
"db:seed": "yarn workspace backend db:seed",
"setup": "run-s rebuild setup:domain-model setup:backend",
"setup:domain-model": "yarn workspace domain-model setup",
"setup:backend": "yarn workspace backend setup",
"setup:env": "run-p setup:env:domain-model setup:env:backend",
"setup:env:domain-model": "yarn workspace domain-model setup:env",
"setup:env:backend": "yarn workspace backend setup:env"
},
"devDependencies": {
"@graphql-codegen/cli": "^1.17.7",
"@graphql-codegen/fragment-matcher": "^1.17.7",
"@graphql-codegen/introspection": "^1.17.7",
"@graphql-codegen/schema-ast": "^1.17.7",
"@graphql-codegen/typescript": "^1.17.7",
"@graphql-codegen/typescript-document-nodes": "^1.17.7",
"@graphql-codegen/typescript-graphql-files-modules": "^1.17.7",
"@graphql-codegen/typescript-operations": "^1.17.7",
"@graphql-codegen/typescript-react-apollo": "^2.0.5",
"@graphql-codegen/typescript-resolvers": "^1.17.7",
"@types/jest": "^26.0.9",
"@typescript-eslint/eslint-plugin": "^3.9.0",
"@typescript-eslint/parser": "^3.9.0",
"babel-jest": "^26.3.0",
"eslint": "^7.6.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-standard": "^4.0.1",
"graphql": "^15.3.0",
"husky": "^4.3.0",
"jest": "^26.3.0",
"jest-cli": "^26.3.0",
"lint-staged": "^10.4.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"ts-jest": "^26.1.4",
"typescript": "^3.9.7"
}
}