This repository has been archived by the owner on Oct 31, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
50 lines (50 loc) · 1.84 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
{
"name": "fullstack-rest-template",
"version": "1.0.0",
"private": true,
"workspaces": {
"packages": [
"backend",
"frontend"
]
},
"devDependencies": {
"@graphql-codegen/cli": "2.0.1",
"@graphql-codegen/introspection": "2.0.0",
"@graphql-codegen/typescript": "2.0.0",
"@graphql-codegen/typescript-operations": "2.0.1",
"@graphql-codegen/typescript-urql": "^3.0.0",
"@ls-lint/ls-lint": "^1.10.0",
"@typescript-eslint/eslint-plugin": "^4.29.1",
"@typescript-eslint/parser": "^4.29.1",
"concurrently": "^6.2.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"lockfile-lint": "^4.6.2",
"nodemon": "^2.0.12",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.2",
"typescript": "^4.3.5"
},
"scripts": {
"lint": "run-p lint:*",
"lint:eslint": "eslint . --ext .js,.ts,.tsx",
"lint:format": "prettier \"./**/*.{js,jsx,ts,tsx}\" --list-different",
"lint:lockfile": "lockfile-lint --path yarn.lock --allowed-hosts npm yarn --validate-https",
"lint:lslint": "ls-lint",
"fix": "run-s fix:*",
"fix:eslint": "yarn lint:eslint --fix",
"fix:format": "yarn lint:format --write",
"start": "concurrently --kill-others-on-fail \"yarn workspace @fullstack-rest-template/frontend run start\" \"yarn workspace @fullstack-rest-template/backend run start:watch\"",
"build": "yarn workspace @fullstack-rest-template/backend run build && yarn workspace @fullstack-rest-template/frontend run build ",
"generate": "yarn generate:backend && yarn generate:frontend",
"generate:frontend": "graphql-codegen --config codegen.yml",
"generate:backend": "yarn workspace @fullstack-rest-template/backend run generate"
},
"volta": {
"node": "14.15.1",
"yarn": "1.22.10"
}
}