-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
48 lines (48 loc) · 1.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
{
"name": "webhook-handler",
"version": "1.0.0",
"scripts": {
"build": "export ENVIRONMENT=local && npm run build:config && sls webpack",
"build:config": "tsc --project ./tsconfig.json",
"deploy": "npm run build:config && sls deploy",
"format": "prettier --ignore-path .prettierignore --write \"./**/*.+(js|jsx|ts|tsx|json|yml|yaml|md|html|css|less|scss|graphql)\"",
"jest": "PARTNER_QUEUE_URL=partner.com RESULT_QUEUE_URL=result.com ERROR_QUEUE_URL=error.com VERSION=v1 jest --silent --verbose",
"lint": "eslint --fix --config .eslintrc --ext '.ts,.tsx,.js,.jsx' '.'",
"start": "cd scripts && tsc && node genEvent.js && node --inspect server.js",
"test": "export ENVIRONMENT=devint && npm run build:config && npm run lint && npm run jest && sls package",
"update:all": "cd scripts && tsc && node updateAll.js",
"watch": "npm run jest -- --watch"
},
"dependencies": {
"p-limit": "^3.1.0",
"source-map-support": "^0.5.13",
"ts-loader": "^9.5.1"
},
"devDependencies": {
"@types/aws-lambda": "^8.10.71",
"@types/jest": "^29.2.0",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"aws-sdk": "^2.512.0",
"eslint": "^8.42.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^3.0.4",
"jest": "^29.7.0",
"lint-staged": "^13.2.2",
"serverless": "^3.36.0",
"serverless-iam-roles-per-function": "^3.0.0-d84bffd",
"serverless-webpack": "^5.14.1",
"ts-jest": "^29.2.0",
"typescript": "^5.5.3",
"webpack-cli": "^5.1.4"
},
"husky": {
"hooks": {
"pre-commit": "npx lint-staged --config .lintstagedrc.json"
}
},
"prettier": {
"semi": false
}
}