/
package.json
178 lines (178 loc) · 5.35 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
{
"//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\".",
"name": "@JordanSinko/the-slack-pipeline-approval",
"repository": {
"type": "git",
"url": "https://github.com/JordanSinko/the-slack-pipeline-approval"
},
"bin": {},
"scripts": {
"start": "npx projen start -i",
"projen": "node .projenrc.js",
"no-changes": "(git log --oneline -1 | grep -q \"chore(release):\") && echo \"No changes to release.\"",
"bump": "npm run --silent no-changes || standard-version",
"release": "npm run --silent no-changes || (npm run bump && git push --follow-tags origin master)",
"projen:upgrade": "yarn upgrade -L projen && CI=\"\" yarn projen",
"clean": "rimraf coverage dist lib node_modules",
"format": "pretty-quick --staged",
"compile:construct": "jsii --silence-warnings=reserved-word --no-fix-peer-dependencies && jsii-docgen",
"compile:handlers": "npm run compile:requester && npm run compile:approver",
"compile:requester": "esbuild src/requester/index.ts --outfile=lib/requester/index.js --platform=node --target=es2019 --format=cjs --bundle",
"compile:approver": "esbuild src/approver/index.ts --outfile=lib/approver/index.js --platform=node --target=es2019 --format=cjs --bundle",
"compile": "npm run compile:construct && npm run compile:handlers",
"watch": "jsii -w --silence-warnings=reserved-word --no-fix-peer-dependencies",
"build": "npm run test && npm run compile && npm run package",
"package": "jsii-pacmak",
"test": "rm -fr lib/ && jest --passWithNoTests --updateSnapshot",
"test:watch": "jest --watch",
"test:update": "jest --updateSnapshot",
"compat": "npx jsii-diff npm:$(node -p \"require('./package.json').name\") -k --ignore-file .compatignore || (echo \"\nUNEXPECTED BREAKING CHANGES: add keys such as 'removed:constructs.Node.of' to .compatignore to skip.\n\" && exit 1)",
"docgen": "jsii-docgen"
},
"author": {
"name": "Jordan Sinko",
"email": "jordan5sinko@gmail.com",
"organization": false
},
"devDependencies": {
"@aws-cdk/assert": "^1.66.0",
"@types/aws-lambda": "^8.10.63",
"@types/jest": "^26.0.7",
"@types/node": "^10.17.0",
"aws-sdk": "^2.766.0",
"esbuild": "^0.7.9",
"husky": "^4.3.0",
"jest": "^26.4.2",
"jsii": "^1.11.0",
"jsii-diff": "^1.11.0",
"jsii-docgen": "^1.3.2",
"jsii-pacmak": "^1.11.0",
"jsii-release": "^0.1.6",
"npm-run-all": "^4.1.5",
"phin": "^3.5.0",
"prettier": "^2.1.2",
"pretty-quick": "^3.0.2",
"projen": "^0.3.95",
"standard-version": "^9.0.0",
"ts-jest": "^26.1.0",
"typescript": "^3.9.5"
},
"peerDependencies": {
"@aws-cdk/aws-apigatewayv2": "^1.66.0",
"@aws-cdk/aws-codepipeline": "^1.66.0",
"@aws-cdk/aws-codepipeline-actions": "^1.66.0",
"@aws-cdk/aws-iam": "^1.66.0",
"@aws-cdk/aws-lambda": "^1.66.0",
"@aws-cdk/aws-sns": "^1.66.0",
"@aws-cdk/aws-sns-subscriptions": "^1.66.0",
"@aws-cdk/core": "^1.66.0",
"constructs": "^3.0.4"
},
"dependencies": {
"@aws-cdk/aws-apigatewayv2": "^1.66.0",
"@aws-cdk/aws-codepipeline": "^1.66.0",
"@aws-cdk/aws-codepipeline-actions": "^1.66.0",
"@aws-cdk/aws-iam": "^1.66.0",
"@aws-cdk/aws-lambda": "^1.66.0",
"@aws-cdk/aws-sns": "^1.66.0",
"@aws-cdk/aws-sns-subscriptions": "^1.66.0",
"@aws-cdk/core": "^1.66.0"
},
"bundledDependencies": [],
"keywords": [
"cdk"
],
"engines": {
"node": ">= 10.17.0"
},
"main": "lib/index.js",
"license": "Apache-2.0",
"start": {
"start": {
"desc": "Shows this menu"
},
"projen": {
"desc": "Synthesize project configuration from .projenrc.js",
"category": 3
},
"bump": {
"desc": "Commits a bump to the package version based on conventional commits",
"category": 2
},
"release": {
"desc": "Bumps version & push to master",
"category": 2
},
"projen:upgrade": {
"desc": "upgrades projen to the latest version",
"category": 3
},
"compile": {
"desc": "Only compile",
"category": 0
},
"watch": {
"desc": "Watch & compile in the background",
"category": 0
},
"build": {
"desc": "Full release build (test+compile)",
"category": 0
},
"package": {
"desc": "Create an npm tarball",
"category": 2
},
"test": {
"desc": "Run tests",
"category": 1
},
"test:watch": {
"desc": "Run jest in watch mode",
"category": 1
},
"compat": {
"desc": "Perform API compatibility check against latest version",
"category": 2
},
"docgen": {
"desc": "Generate API.md from .jsii manifest",
"category": 2
}
},
"version": "0.0.8",
"types": "lib/index.d.ts",
"jest": {
"clearMocks": true,
"collectCoverage": true,
"coveragePathIgnorePatterns": [
"/node_modules/"
],
"testPathIgnorePatterns": [
"/node_modules/"
],
"preset": "ts-jest",
"testMatch": [
"**/__tests__/**/*.ts?(x)",
"**/?(*.)+(spec|test).ts?(x)"
],
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.jest.json"
}
}
},
"stability": "stable",
"jsii": {
"outdir": "dist",
"targets": {},
"tsc": {
"outDir": "lib",
"rootDir": "src"
},
"excludeTypescript": [
"src/approver",
"src/requester"
]
}
}