forked from kriasoft/graphql-starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 2.46 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
95
96
97
98
99
100
101
102
103
104
105
{
"name": "app",
"version": "0.0.0",
"license": "MIT",
"author": "Kriasoft (https://github.com/kriasoft)",
"workspaces": [
"api",
"db",
"env",
"proxy"
],
"scripts": {
"setup": "node ./setup",
"start": "yarn workspaces foreach -ip run start",
"g:lint": "cd $INIT_CWD && eslint --cache",
"g:format": "CONFIG=\"$(pwd)/package.json\" IGNORE=\"$(pwd)/.prettierignore\" && cd $INIT_CWD && prettier --config \"$CONFIG\" --ignore-path \"$IGNORE\""
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.11.1",
"@babel/node": "^7.10.5",
"@babel/preset-env": "^7.11.0",
"@babel/preset-typescript": "^7.10.4",
"@babel/register": "^7.10.5",
"@types/faker": "^4.1.12",
"@types/inquirer": "^7.3.0",
"@types/node": "^14.6.0",
"@typescript-eslint/eslint-plugin": "^3.9.1",
"@typescript-eslint/parser": "^3.9.1",
"@yarnpkg/pnpify": "2.1.0",
"cross-spawn": "^7.0.3",
"dotenv": "^8.2.0",
"eslint": "^7.7.0",
"eslint-config-prettier": "^6.11.0",
"faker": "^4.1.0",
"husky": "^4.2.5",
"inquirer": "^7.3.3",
"knex": "^0.21.5",
"minimist": "^1.2.5",
"nanoid": "^3.1.12",
"pg": "^8.3.2",
"prettier": "2.0.5",
"typescript": "3.9.7"
},
"engines": {
"node": ">=12"
},
"private": true,
"prettier": {
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": false,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"trailingComma": "all",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "always",
"requirePragma": false,
"insertPragma": false,
"proseWrap": "preserve",
"htmlWhitespaceSensitivity": "css",
"vueIndentScriptAndStyle": false,
"endOfLine": "lf"
},
"eslintConfig": {
"root": true,
"env": {
"es6": true,
"node": true
},
"extends": [
"eslint:recommended",
"prettier"
],
"parserOptions": {
"ecmaVersion": 2020
},
"overrides": [
{
"files": [
"*.ts",
"*.tsx"
],
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:@typescript-eslint/recommended"
],
"plugins": [
"@typescript-eslint"
],
"parserOptions": {
"sourceType": "module"
}
}
]
},
"husky": {
"hooks": {
"pre-commit": "echo \"TODO: Add pre-commit hook\""
}
}
}