-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathpackage.json
116 lines (116 loc) · 3.78 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
106
107
108
109
110
111
112
113
114
115
116
{
"name": "myapp",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"commit-hooks": "pnpm exec husky",
"postinstall": "pnpm generate:all",
"dev": "pnpm dev:sst",
"dev:sst": "sst dev",
"dev:web": "pnpm run -C web dev",
"watch": "pnpm run tsc:watch",
"tsc": "tsc",
"tsc:watch": "tsc --watch",
"sst:types": "sst types",
"db:seed": "pnpm run -C backend seed",
"db:seed:clean": "pnpm run -C backend seed:clean",
"db:reset": "pnpm run -C backend dropcreatedb:docker",
"db:generate": "pnpm run -C backend generate",
"generate:all": "pnpm exec concurrently -c green.bold,blue.bold pnpm:db:generate pnpm:generate-graphql-schema",
"generate-graphql-schema": "graphql-codegen-esm --config graphql/codegen.ts",
"generate": "pnpm generate:all",
"test": "pnpm testall",
"test:ci": "pnpm test",
"testall": "pnpm tsc && pnpm test:backend && pnpm test:web",
"test:backend": "pnpm db:start && pnpm generate && pnpm run -C backend migrate:test && vitest run",
"test:web": "pnpm run -C web test",
"lint": "eslint .",
"lint:fix": "pnpm run lint --fix",
"lint:errors": "eslint --fix --quiet .",
"lint:staged": "eslint --fix",
"ci:lint": "pnpm lint:errors",
"build:web": "pnpm run -C web build",
"build": "pnpm tsc",
"deploy": "pnpm generate && sst deploy",
"remove": "sst remove",
"prettier:exc": "./node_modules/.bin/prettier --config .prettierrc.yaml --write",
"prettier": "pnpm run prettier:exc -- '**/*.{js,ts,tsx,css,json,yaml,yml,md}'",
"db:migrate": "pnpm db:start && pnpm -C backend migrate:dev",
"db:migrate:test": "pnpm db:start && pnpm -C backend migrate:test",
"db:start": "bin/startLocalDb.sh",
"db:stop": "docker-compose down",
"clean": " rm -rf .build .sst common/generated graphql/generated && pnpm run --recursive --if-present clean"
},
"dependencies": {
"desm": "^1.3.0",
"sst": "2.43.3",
"tslib": "^2.4.0"
},
"devDependencies": {
"@apollo/client": "^3.10.8",
"@eslint/compat": "^1.1.0",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.6.0",
"@graphql-codegen/cli": "^5.0.2",
"@graphql-codegen/client-preset": "^4.3.1",
"@graphql-codegen/schema-ast": "^4.1.0",
"@graphql-codegen/typescript": "^4.0.8",
"@graphql-codegen/typescript-operations": "^4.2.2",
"@graphql-codegen/typescript-react-apollo": "^4.3.0",
"@graphql-typed-document-node/core": "^3.2.0",
"@total-typescript/ts-reset": "^0.5.1",
"@tsconfig/node20": "^1.0.0",
"@types/aws-lambda": "^8.10.140",
"@types/node": "^20.0.0",
"aws-cdk": "2.142.1",
"aws-cdk-lib": "2.142.1",
"concurrently": "^8.2.2",
"constructs": "10.3.0",
"cross-env": "^7.0.3",
"dotenv": "^16.0.1",
"dotenv-cli": "^5.1.0",
"eslint": "^9.6.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-react-hooks": "^4.5.0",
"fs-extra": "^10.1.0",
"globals": "^15.7.0",
"graphql": "^16.5.0",
"graphql-tag": "^2.12.6",
"husky": "^9.0.11",
"lint-staged": "^15.2.7",
"prettier": "^3.3.2",
"rimraf": "^5.0.7",
"tsx": "^4.15.8",
"typescript": "^5.5.2",
"typescript-eslint": "^7.15.0",
"vite": "^5.3.2",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^1.6.0"
},
"engines": {
"node": ">=0.18",
"npm": ">=7.0.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{yaml,yml},!(pnpm-lock.yaml)": [
"yamllint"
],
"{*.{ts,js},!(node*)**/*.{ts,tsx,js,jsx}}": [
"eslint --cache --fix",
"prettier --write"
]
},
"pnpm": {
"enable-pre-post-scripts": false
}
}