-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 2.9 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
{
"name": "typescript-api-lambda-template",
"version": "0.1.0",
"main": "dist/bundle.js",
"scripts": {
"prepare": "rm -rf .husky && husky install",
"test": "jest --ci --runInBand --coverage --reporters=default --reporters=jest-junit --passWithNoTests",
"lint": "eslint **/*.ts",
"start": ". stack/local.env.sh && kloudformation run -- $(pwd)/stack/stack.ts handler $(pwd)/src/index.ts",
"prebuild": "schema-api-ts generate --hydra $(pwd)/src/schema.ts",
"build:sdk": "tsc src/sdk-index.ts --declaration --outdir dist-sdk/dist --sourceMap true && cp sdk-package.json dist-sdk/package.json",
"build": "webpack",
"stack": "kloudformation translate -s klouds-users-dev klouds-keys-dev -- $(pwd)/stack/stack.ts"
},
"eslintIgnore": [
"webpack.config.js"
],
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:jest/recommended",
"plugin:@typescript-eslint/recommended"
],
"env": {
"node": true,
"es6": true,
"jest/globals": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint/eslint-plugin",
"jest"
],
"rules": {
"jest/expect-expect": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/explicit-module-boundary-types": 0
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/hexlabsio/typescript-lambda-template.git"
},
"author": "hexlabs",
"bugs": {
"url": "https://github.com/hexlabsio/typescript-lambda-template/issues"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm run build && npm test"
}
},
"jest": {
"transform": {
".(ts)": "ts-jest"
},
"testRegex": "\\.spec\\.(ts|js)$",
"moduleFileExtensions": [
"ts",
"js"
]
},
"homepage": "https://github.com/hexlabsio/typescript-api-lambda#readme",
"devDependencies": {
"@hexlabs/kloudformation-ts": "^1.1.195",
"@types/aws-lambda": "^8.10.83",
"@types/jest": "^26.0.24",
"@types/node": "^15.14.9",
"@typescript-eslint/eslint-plugin": "^4.32.0",
"@typescript-eslint/parser": "^4.32.0",
"aws-sdk": "^2.996.0",
"eslint": "^6.8.0",
"eslint-plugin-jest": "^23.20.0",
"husky": "^6.0.0",
"jest": "^26.6.3",
"jest-junit": "^12.3.0",
"node-loader": "^0.6.0",
"ts-jest": "^26.5.6",
"ts-loader": "^6.2.2",
"typescript": "^4.4.3",
"webpack": "^5.55.1",
"webpack-cli": "^4.8.0"
},
"dependencies": {
"@hexlabs/dynamo-ts": "^2.0.64",
"@hexlabs/env-vars-ts": "^0.1.7",
"@hexlabs/http-api-ts": "^1.1.31",
"@hexlabs/lambda-api-ts": "^0.1.9",
"@hexlabs/schema-api-ts": "^1.1.81"
}
}