forked from TheJoeSchr/graphile-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 3.16 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
{
"name": "My_Project_Here",
"version": "2.0.1",
"private": true,
"description": "Description of project here",
"scripts": {
"setup": "yarn && node ./scripts/setup.js",
"start": "node ./scripts/start.js",
"test": "node scripts/test.js",
"test:watch": "node scripts/test.js --watch",
"lint": "tsc -b && yarn prettier:check && eslint --ext .js,.jsx,.ts,.tsx,.graphql .",
"lint:fix": "prettier --ignore-path .eslintignore --write '**/*.{js,jsx,ts,tsx,graphql,md}'; eslint --ext .js,.jsx,.ts,.tsx,.graphql . --fix",
"prettier:check": "prettier --ignore-path .eslintignore --check '**/*.{js,jsx,ts,tsx,graphql,md}'",
"depcheck": "lerna exec --stream 'yarn depcheck --ignores=\"@app/config,@app/client,tslib,webpack,babel-plugin-import,source-map-support,@graphql-codegen/*,graphql-toolkit,net,tls\" --ignore-dirs=\".next\"'",
"dev": "yarn && lerna run codegen --stream && tsc -b && concurrently --kill-others --names 'TSC,WATCH,RUN,TEST' --prefix '({name})' --prefix-colors 'yellow.bold,yellow.bold,cyan.bold,greenBright.bold' 'tsc -b --watch --preserveWatchOutput' 'lerna run --parallel watch' 'lerna run --parallel dev' 'sleep 10; yarn test:watch'",
"build": "lerna run build",
"licenses": "yarn --silent licenses generate-disclaimer > LICENSES.md",
"clean": "node ./scripts/clean.js",
"reset": "yarn clean && node ./scripts/delete-env-file.js",
"--shortcuts to run commands in workspaces--": "",
"client": "yarn workspace @app/client",
"db": "yarn workspace @app/db",
"e2e": "yarn workspace @app/e2e",
"graphql": "yarn workspace @app/graphql",
"server": "yarn workspace @app/server",
"worker": "yarn workspace @app/worker",
"docker": "yarn --cwd ./docker",
"docker-compose": "yarn --cwd ./docker compose"
},
"author": "Benjie Gillam <code@benjiegillam.com>",
"license": "SEE LICENSE IN LICENSE.md",
"dependencies": {
"abort-controller": "^3.0.0",
"graphql": "^14.5.8",
"lerna": "^3.19.0"
},
"devDependencies": {
"@types/jest": "^24.0.20",
"@typescript-eslint/eslint-plugin": "^2.5.0",
"@typescript-eslint/parser": "^2.5.0",
"concurrently": "^5.0.0",
"depcheck": "^0.9.1",
"dotenv": "^8.2.0",
"eslint": "^6.7.2",
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-cypress": "^2.8.1",
"eslint-plugin-graphql": "^3.0.3",
"eslint-plugin-jest": "^23.0.0",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-vue": "latest",
"eslint_d": "^8.0.0",
"inquirer": "^7.0.1",
"jest": "^24.9.0",
"mock-req": "^0.2.0",
"mock-res": "^0.5.0",
"nodemon": "^2.0.2",
"prettier": "^1.19.1",
"rimraf": "^3.0.0",
"ts-jest": "^24.2.0",
"ts-loader": "^6.1.0",
"typescript": "^3.7.3",
"update-dotenv": "^1.1.1"
},
"resolutions": {
"graphql": "14.x"
},
"workspaces": {
"packages": [
"@app/*",
"docker"
],
"nohoist": [
"**/cypress"
]
},
"prettier": {
"trailingComma": "es5",
"proseWrap": "always"
},
"jest": {
"roots": [
"<rootDir>/@app"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testMatch": [
"**/__tests__/**/*.test.[jt]s?(x)"
]
}
}