-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 2.72 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
{
"name": "serverless-parking-workshop-service",
"version": "1.0.0",
"private": true,
"scripts": {
"prepare": "husky install",
"env:vscode": "env-cmd -f .env bash -c \"ssocreds -p \\$AWS_PROFILE\"",
"env": "env-cmd -f .env bash -c \"ssocreds -p \\$AWS_PROFILE\" && env-cmd -f .env",
"lint": "eslint 'services' 'stacks' 'packages' --quiet --ext .ts,.tsx,.js,.jsx,.json && prettier -c \"{services,stacks,packages}/**/*.{graphql,gql,html}\"",
"lint:fix": "eslint 'services' 'stacks' 'packages' --quiet --ext .ts,.tsx,.js,.jsx,.json --fix && prettier --write \"{services,stacks,packages}/**/*.{graphql,gql,html}\"",
"dev": "npm run env -- sst dev",
"build": "npm run env -- sst build",
"deploy": "npm run env -- sst deploy",
"remove": "npm run env -- sst remove",
"console": "npm run env -- sst console",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"tdd": "vitest --watch",
"graphql-codegen": "graphql-codegen --config codegen.yml",
"generate-key-csr": "chmod +x ./generate-certkey.sh;./iot/generate-certkey.sh",
"download-certificate": "echo $(AWS_PROFILE=admin-purple-workshops aws iot describe-certificate --certificate-id $(AWS_PROFILE=purple-workshops aws cloudformation describe-stacks --stack-name \"$(cat .sst/stage)-slsws-iot\" --query \"Stacks[0].Outputs[0].OutputValue\" --output text) | sed -n 's/.*\\\"certificatePem\\\":\\ \"//p'| sed -e 's/\",$//') > ./iot/certificate.pem.crt"
},
"lint-staged": {
"*.{ts,tsx,js,jsx,json}": "eslint --quiet --fix",
"*.{graphql,gql,html}": "prettier --write"
},
"devDependencies": {
"sst": "2.24.24",
"constructs": "10.2.69",
"aws-cdk-lib": "2.91.0",
"typescript": "^5.1.6",
"@types/lodash.kebabcase": "^4.1.7",
"@types/lodash.snakecase": "^4.1.7",
"@types/node": "17.0.44",
"@tsconfig/node16": "^1.0.3",
"eslint": "^8.19.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "7.29.4",
"eslint-plugin-react-hooks": "^4.5.0",
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"@typescript-eslint/eslint-plugin": "5.33.0",
"@typescript-eslint/parser": "5.33.0",
"@microsoft/eslint-plugin-sdl": "^0.2.0",
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@graphql-codegen/cli": "^2.11.6",
"@graphql-codegen/typescript": "^2.7.3",
"@graphql-codegen/typescript-operations": "^2.5.3",
"@purple/serverless-git-branch-stage-plugin": "^1.3.2",
"aws-sdk": "^2.1193.0",
"env-cmd": "^10.1.0",
"husky": "^8.0.1",
"lint-staged": "^11.2.6",
"prettier": "^2.6.2",
"vitest": "^0.18.0",
"lodash.kebabcase": "^4.1.1",
"lodash.snakecase": "^4.1.1"
},
"workspaces": [
"services/*",
"packages/*"
]
}