-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
82 lines (82 loc) · 1.94 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
{
"version": "1.0.1",
"name": "api-gateway-auth-policy",
"description": "A policy generator for an api gateway authorizer",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib/"
],
"repository": "[email protected]:diogofcunha/api-gateway-auth-policy.git",
"author": "Diogo Cunha",
"license": "MIT",
"scripts": {
"prebuild": "rm -rf lib",
"postbuild": "rm -rf `find lib -name '__tests__'`",
"build": "tsc",
"lint": "tslint './src/**/*.{ts,tsx}' -t verbose -p .",
"prettier:write": "prettier --ignore-path .gitignore --write './**/*.{md,json,yaml,js,jsx,ts,tsx}'",
"prettier:check": "prettier --ignore-path .gitignore --list-different './**/*.{md,json,yaml,js,jsx,ts,tsx}'",
"test": "jest",
"ci:test": "jest --silent --maxWorkers=2"
},
"dependencies": {},
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@threads/tsconfig": "^1.0.0",
"@types/jest": "^24.0.18",
"husky": "^3.0.8",
"jest": "^24.9.0",
"lint-staged": "^9.4.2",
"prettier": "^1.18.2",
"ts-jest": "^24.1.0",
"tslint": "^5.20.0",
"typescript": "^3.6.4"
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"globals": {
"ts-jest": {
"isolatedModules": true
}
},
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testEnvironment": "node",
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.test.ts?(x)"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"prettier --write",
"tslint -t verbose -p .",
"git add"
],
"*.{md,json,yaml,js,jsx}": [
"prettier --write",
"git add"
]
},
"keywords": [
"aws-auth-policy",
"lambda",
"api-gateway",
"aws-policy",
"generator",
"api-gateway-custom-authorizer",
"aws"
]
}