forked from jetbridge/sst-prisma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
99 lines (99 loc) · 3.25 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
{
"name": "myapp",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"start": "sst start",
"fullstack": "pnpm run --recursive --filter web dev",
"watch": "pnpm run tsc:watch",
"tsc": "tsc -b",
"tsc:watch": "tsc -b --watch",
"generate": "pnpm run --recursive generate",
"postinstall": "pnpm run generate",
"test": "pnpm testall",
"test:ci": "pnpm test",
"testall": "pnpm start:db && pnpm test:backend && pnpm test:web",
"test:backend": "pnpm start:db && pnpm generate && pnpm run --filter backend migrate:test && vitest run",
"test:web": "pnpm run --filter web test",
"lint": "pnpm run --recursive --aggregate-output lint && pnpm lint:toplevel",
"lint:toplevel": "eslint --ext .js,.ts,.tsx stacks",
"lint:fix": "pnpm run lint -- --fix",
"build": "tsc -b && sst build",
"build:common": "pnpm run --filter=common build",
"deploy": "pnpm generate && pnpm build:common && sst deploy",
"deploy:main": "pnpm build:common && sst deploy main",
"deploy:verbose": "sst deploy --verbose",
"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}'",
"start:db": "docker-compose up -d",
"stop:db": "docker-compose down",
"clean": "tsc -b --clean && rm -rf .build .sst dist common/graphql/generated && pnpm run --recursive --if-present clean"
},
"dependencies": {
"@aws-lambda-powertools/logger": "^0.8.0",
"@aws-sdk/client-secrets-manager": "^3.67.0",
"@serverless-stack/cli": "^1.6.7",
"@serverless-stack/resources": "^1.6.7",
"aws-cdk-lib": "2.32.0",
"common": "workspace:*",
"memoizee": "^0.4.15"
},
"devDependencies": {
"@apollo/client": "^3.6.5",
"@aws-cdk/aws-appsync-alpha": "2.32.0-alpha.0",
"@serverless-stack/core": "^1.6.7",
"@serverless-stack/lambda": "0.0.0-20220725201006",
"@serverless-stack/static-site-env": "^1.6.7",
"@sls-next/lambda-at-edge": "^3.7.0",
"@tsconfig/node16-strictest-esm": "^1.0.1",
"@types/memoizee": "^0.4.7",
"@types/node": "<15.0.0",
"@typescript-eslint/eslint-plugin": "^5.26.0",
"@typescript-eslint/parser": "^5.26.0",
"chalk": "^5.0.1",
"constructs": "^10.1.17",
"cross-env": "^7.0.3",
"dotenv": "^16.0.0",
"dotenv-cli": "^5.1.0",
"eslint": "^8.16.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-import-resolver-typescript": "^2.7.1",
"eslint-plugin-import": "^2.26.0",
"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",
"graphql": "^16.5.0",
"graphql-tag": "^2.12.6",
"husky": "^7.0.4",
"lint-staged": "^12.3.8",
"prettier": "^2.6.2",
"typescript": "^4.7.2",
"vite": "^3.0.3",
"vite-tsconfig-paths": "^3.5.0",
"vitest": "^0.19.1"
},
"engines": {
"node": ">=0.16",
"npm": ">=7.0.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{yaml,yml}": [
"yamllint"
],
"{*.{ts,js},!(node*)**/*.{ts,tsx,js,jsx}}": [
"eslint --fix",
"prettier --write"
]
},
"pnpm": {
"enable-pre-post-scripts": false
}
}