generated from jetbridge/sst-prisma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 3.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
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
{
"name": "myapp",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"start": "pnpm db:migrate:dev && pnpm start:sst",
"start:sst": "sst start",
"start:web": "pnpm run -C web dev",
"start:web:delayed": "sleep 10 && pnpm run -C web dev",
"fullstack": "pnpm db:migrate:dev && concurrently --kill-others --names 'SST,WEB' -c 'bgBlue.bold,bgGreen.bold' 'pnpm start:sst' 'pnpm start:web:delayed'",
"watch": "pnpm run tsc:watch",
"tsc": "tsc -b",
"tsc:watch": "tsc -b --watch",
"generate": "pnpm run --recursive generate",
"postinstall": "pnpm run generate && pnpm build:common",
"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": "pnpm run --recursive --aggregate-output lint && pnpm lint:toplevel",
"lint:toplevel": "eslint --ext .js,.ts,.tsx stacks",
"lint:fix": "pnpm run lint -- --fix",
"build": "pnpm build:common && sst build",
"build:common": "pnpm run -C common build",
"build:web": "pnpm run -C web build",
"build:ci": "pnpm run tsc",
"deploy": "pnpm generate && pnpm build:common && 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:dev": "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",
"db:seed": "pnpm run --filter backend db:seed",
"db:seed:clean": "pnpm run --filter backend db:seed:clean",
"clean": "tsc -b --clean && rm -rf .build .sst dist common/graphql/generated && pnpm run --recursive --if-present clean"
},
"dependencies": {
"@serverless-stack/node": "^1.10.0",
"aws-cdk-lib": "2.50.0",
"cdk-nextjs-standalone": "^2.0.6",
"desm": "^1.3.0",
"tslib": "^2.4.0",
"esbuild": "0.15.18"
},
"devDependencies": {
"@apollo/client": "^3.6.5",
"@aws-cdk/aws-appsync-alpha": "2.50.0-alpha.0",
"@serverless-stack/cli": "^1.18.3",
"@serverless-stack/core": "^1.18.3",
"@serverless-stack/resources": "^1.18.3",
"@serverless-stack/static-site-env": "^1.18.3",
"@tsconfig/node16-strictest-esm": "^1.0.1",
"@types/aws-lambda": "^8.10.102",
"@types/node": "^16.0.0",
"@typescript-eslint/eslint-plugin": "^5.33.1",
"@typescript-eslint/parser": "^5.33.1 ",
"aws-lambda": "^1.0.7",
"chalk": "^5.0.1",
"concurrently": "^7.3.0",
"constructs": "^10.1.17",
"cross-env": "^7.0.3",
"dotenv": "^16.0.1",
"dotenv-cli": "^5.1.0",
"eslint": "^8.22.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",
"rimraf": "^3.0.2",
"tsx": "^3.9.0",
"typescript": "^4.7.2",
"vite": "^3.0.8",
"vite-tsconfig-paths": "^3.5.0",
"vitest": "^0.22.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
}
}