-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
58 lines (58 loc) · 1.75 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
{
"name": "openapi",
"version": "1.0.0",
"scripts": {
"start": "node packages/server/index.js",
"ddev": "yarn docd run --rm --service-ports api",
"dtest": "yarn drun test",
"dtest:debug": "yarn doct run --rm --service-ports task yarn test:debug",
"dlint": "yarn drun lint",
"lint": "eslint packages/",
"test": "jest",
"test:debug": "node --inspect-brk=0.0.0.0:9229 ./node_modules/.bin/jest --runInBand --detectOpenHandles",
"dev:watch": "nodemon --delay 250ms -e js,graphql -x 'kill-port 9229 && yarn dev:debug'",
"dev:debug": "node --inspect=0.0.0.0:9229 packages/server/index.js | pino-pretty --translateTime",
"docd": "docker-compose -f docker-compose.yml -f docker-compose.dev.yml",
"doct": "yarn docd -f docker-compose.task.yml",
"drun": "yarn doct run --rm task yarn",
"dinstall": "yarn doct run --rm task chown -R node:node .; yarn drun install"
},
"private": true,
"workspaces": [
"packages/*"
],
"jest": {
"testEnvironment": "node",
"setupTestFrameworkScriptFile": "./config/jest.setup.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"keywords": [],
"devDependencies": {
"babel-eslint": "^10.0.1",
"eslint": "^5.7.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-config-prettier": "^3.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jest": "^21.26.2",
"eslint-plugin-prettier": "^3.0.0",
"graphql-request": "^1.8.2",
"husky": "^1.1.2",
"jest": "^23.6.0",
"jest-extended": "^0.11.0",
"kill-port": "^1.3.2",
"lint-staged": "^7.3.0",
"nodemon": "^1.18.4",
"pino-pretty": "^2.2.2",
"prettier": "^1.14.3"
}
}