This repository has been archived by the owner on Sep 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 3.37 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": "gamma",
"version": "0.0.0",
"private": true,
"author": "Peter Schussheim <[email protected]> (https://peterschussheim.com/)",
"license": "MIT",
"repository": {
"url": "https://github.com/peterschussheim/gamma"
},
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"**/debug",
"**/debug/**"
]
},
"engines": {
"node": ">=10",
"yarn": ">=1.9.4"
},
"resolutions": {
"graphql": "0.13.2"
},
"scripts": {
"test": "is-ci \"test:coverage\" \"test:watch\"",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch",
"test:debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand --watch",
"test:e2e": "is-ci \"test:e2e:run\" \"test:e2e:dev\"",
"test:e2e:run": "start-server-and-test start http://localhost:3000 cy:run",
"test:e2e:dev": "start-server-and-test start http://localhost:3000 cy:open",
"cy:verify": "cypress verify",
"cy:version": "cypress version",
"cy:run": "cypress run --record --key $CYPRESS_RECORD_KEY",
"cy:open": "cypress open",
"inspect-prod": "yarn workspace web inspect-prod",
"run:api": "yarn workspace api start",
"run:web": "yarn workspace web start:prod",
"start": "concurrently -p \"[{name}]\" -n \"API,WEB\" \"yarn start:api\" \"yarn start:web\"",
"start:api": "yarn workspace api dev",
"start:web": "yarn workspace web start",
"start:web:v": "yarn workspace web start:verbose",
"start:web:i": "yarn workspace web start:inspect",
"start:shared": "yarn workspace shared start",
"prebuild": "yarn clean:build",
"build:api": "yarn workspace api build",
"build:web": "yarn workspace web build",
"build:shared": "yarn workspace shared build",
"playground": "yarn workspace api playground",
"reset-modules": "rm -rf node_modules/ yarn.lock packages/*/node_modules",
"reset-yarn": "yarn cache clean",
"reset-cache": "yarn reset-yarn",
"reset": "yarn reset-modules && yarn reset-cache",
"clean:build": "rm -rf ./packages/*/build",
"clean:logs": "rm -rf ./packages/*/*.log *.log",
"deploy:api": "cd packages/api && now -A now.api.json && now -A now.api.json alias",
"deploy:web": "now -A now.ui.json && now -A now.ui.json alias",
"lint": "eslint packages",
"lint:staged": "lint-staged",
"precise-commits": "precise-commits",
"eslint-check": "eslint --print-config .eslintrc | eslint-config-prettier-check"
},
"pre-commit": "lint-staged",
"lint-staged": {
"*.@(json|md|ts)": [
"yarn prettier --write",
"git add"
],
"*.@(js)": [
"prettier --write",
"eslint --fix",
"git add"
],
"yarn.lock": [
"git rm --cached"
]
},
"devDependencies": {
"concurrently": "4.1.0",
"cypress": "3.3.1",
"cypress-testing-library": "2.3.3",
"eslint": "^4.1.1",
"eslint-config-prettier": "3.3.0",
"eslint-plugin-jest": "^21.6.1",
"eslint-plugin-prettier": "3.0.0",
"eslint-plugin-promise": "^4.0.1",
"husky": "1.2.0",
"is-ci-cli": "1.1.1",
"lint-staged": "8.1.0",
"precise-commits": "1.0.2",
"prettier": "1.15.2",
"start-server-and-test": "1.7.11",
"test-data-bot": "0.6.0",
"tslint": "5.11.0",
"tslint-config-prettier": "1.17.0",
"tslint-eslint-rules": "5.4.0"
},
"husky": {
"hooks": {
"pre-commit": "yarn run precise-commits"
}
}
}