-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
77 lines (77 loc) · 2.67 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
{
"name": "booking-service",
"version": "1.0.0",
"description": "Booking GraphQL API",
"private": true,
"workspaces": {
"packages": [
"web",
"shared",
"sdk",
"api",
"example-app"
],
"nohoist": [
"**/api/**"
]
},
"devDependencies": {
"@askeladden/eslint-config-askeladden": "1.0.0",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@typescript-eslint/eslint-plugin": "^4.24.0",
"@typescript-eslint/parser": "^4.24.0",
"babel-eslint": "^10.0.2",
"concurrently": "^6.0.0",
"eslint": "^7.4.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-import": "^2.18.0",
"eslint-plugin-jest": "^23.20.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.14.2",
"eslint-plugin-react-hooks": "^4.0.8",
"eslint-plugin-unused-imports": "^1.1.0",
"husky": "^5.1.3",
"lint-staged": "^10.5.4",
"prettier": "^2.0.5",
"start-server-and-test": "^1.12.5",
"tslib": "^2.1.0",
"typescript": "^4.2.3"
},
"scripts": {
"web": "yarn workspace @vailable/web",
"example": "yarn workspace @vailable/example",
"sdk": "yarn workspace vailable",
"api": "yarn workspace @vailable/api",
"shared": "yarn workspace @vailable/shared",
"build": "yarn workspaces run build",
"start": "firebase emulators:start",
"start:test": "yarn api start:test",
"test:ci": "yarn sdk test --ci --coverage && yarn api test --ci --coverage && yarn shared test --ci --coverage && yarn web test --ci --coverage",
"test:all": "start-server-and-test start:test http://localhost:4000 test:ci",
"test:compile": "yarn shared build && yarn api build && yarn sdk build && yarn web build && yarn example build",
"schema:generate-all": "yarn api schema:generate && yarn web schema:generate && yarn sdk schema:generate && yarn example schema:generate",
"lint": "eslint .",
"lint:ignore-warnings": "eslint . --quiet",
"lint:prettier-check": "prettier --check \"**/*.{js,jsx,ts,tsx,json}\"",
"lint:prettier": "prettier --write \"**/*.{js,jsx,ts,tsx,json,mdx,md}\"",
"postinstall": "husky install",
"infrastructure:deploy": "cd infrastructure && terraform get --update && terraform apply && cd ..",
"predeploy": "yarn sdk predeploy && yarn web predeploy",
"deploy": "yarn api deploy && firebase deploy"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css}": [
"prettier --write",
"eslint --fix"
],
"*.{json, md}": [
"prettier --write"
]
},
"author": "",
"license": "ISC"
}