forked from rayou/cdk-url-shortener
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
226 lines (226 loc) · 6.44 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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
{
"//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\".",
"name": "@rayou/cdk-url-shortener",
"description": "Deploy a URL shortener with custom domain support in just a few lines of code.",
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "https://github.com/rayou/cdk-url-shortener.git"
},
"bin": {},
"scripts": {
"start": "npx projen start",
"projen": "node .projenrc.js && yarn -s install",
"no-changes": "(git log --oneline -1 | grep -q \"chore(release):\") && echo \"No changes to release.\"",
"bump": "yarn --silent no-changes || standard-version",
"release": "yarn --silent no-changes || (yarn bump && git push --follow-tags origin master)",
"projen:upgrade": "chmod +w package.json && yarn upgrade -L projen && chmod -w package.json && yarn projen",
"package": "jsii-pacmak",
"compile": "jsii --silence-warnings=reserved-word --no-fix-peer-dependencies && jsii-docgen",
"watch": "jsii -w --silence-warnings=reserved-word --no-fix-peer-dependencies",
"build": "yarn test && yarn compile && yarn run package",
"eslint": "eslint . --ext .ts",
"test": "yarn eslint && 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",
"compile:lambda": "rollup -c",
"postcompile": "yarn run compile:lambda"
},
"author": {
"name": "Ray Ou",
"email": "yuhung.ou@live.com",
"url": "https://twitter.com/_rayou",
"organization": false
},
"devDependencies": {
"@aws-cdk/assert": "^1.61.0",
"@rollup/plugin-commonjs": "^15.0.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@types/aws-lambda": "^8.10.61",
"@types/jest": "^26.0.7",
"@types/node": "^10.17.0",
"@typescript-eslint/eslint-plugin": "^2.31.0",
"@typescript-eslint/parser": "^2.19.2",
"aws-lambda": "^1.0.6",
"aws-sdk": "^2.738.0",
"builtin-modules": "^3.1.0",
"eslint": "^6.8.0",
"eslint-import-resolver-node": "^0.3.3",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-import": "^2.20.2",
"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",
"json-schema": "^0.2.5",
"nanoid": "^3.1.12",
"projen": "^0.3.50",
"rollup": "^2.26.6",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-terser": "^7.0.0",
"rollup-plugin-typescript2": "^0.27.2",
"standard-version": "^9.0.0",
"ts-jest": "^26.1.0",
"typescript": "^3.9.5"
},
"peerDependencies": {
"@aws-cdk/aws-apigateway": "^1.61.0",
"@aws-cdk/aws-certificatemanager": "^1.61.0",
"@aws-cdk/aws-dynamodb": "^1.61.0",
"@aws-cdk/aws-iam": "^1.61.0",
"@aws-cdk/aws-lambda": "^1.61.0",
"@aws-cdk/aws-lambda-event-sources": "^1.61.0",
"@aws-cdk/aws-route53": "^1.61.0",
"@aws-cdk/aws-route53-targets": "^1.61.0",
"@aws-cdk/core": "^1.61.0",
"constructs": "^3.0.4"
},
"dependencies": {
"@aws-cdk/aws-apigateway": "^1.61.0",
"@aws-cdk/aws-certificatemanager": "^1.61.0",
"@aws-cdk/aws-dynamodb": "^1.61.0",
"@aws-cdk/aws-iam": "^1.61.0",
"@aws-cdk/aws-lambda": "^1.61.0",
"@aws-cdk/aws-lambda-event-sources": "^1.61.0",
"@aws-cdk/aws-route53": "^1.61.0",
"@aws-cdk/aws-route53-targets": "^1.61.0",
"@aws-cdk/core": "^1.61.0"
},
"bundledDependencies": [],
"keywords": [
"cdk",
"url-shortener",
"aws",
"aws-cdk",
"aws-cdk-construct"
],
"engines": {
"node": ">= 10.17.0"
},
"license": "Apache-2.0",
"start": {
"projen": {
"descrtiption": "Synthesize project configuration from .projenrc.js",
"category": 3
},
"bump": {
"descrtiption": "Commits a bump to the package version based on conventional commits",
"category": 2
},
"release": {
"descrtiption": "Bumps version & push to master",
"category": 2
},
"projen:upgrade": {
"descrtiption": "upgrades projen to the latest version",
"category": 3
},
"package": {
"descrtiption": "Create an npm tarball",
"category": 2
},
"compile": {
"descrtiption": "Only compile",
"category": 0
},
"watch": {
"descrtiption": "Watch & compile in the background",
"category": 0
},
"build": {
"descrtiption": "Full release build",
"category": 0
},
"eslint": {
"descrtiption": "Runs eslint against the codebase",
"category": 1
},
"test": {
"descrtiption": "Run tests",
"category": 1
},
"test:watch": {
"descrtiption": "Run jest in watch mode",
"category": 1
},
"compat": {
"descrtiption": "Perform API compatibility check against latest version",
"category": 2
},
"docgen": {
"descrtiption": "Generate API.md from .jsii manifest",
"category": 2
}
},
"version": "0.1.2",
"types": "lib/index.d.ts",
"jest": {
"clearMocks": true,
"collectCoverage": true,
"coveragePathIgnorePatterns": [
"/node_modules/",
"dist",
"cdk.out",
"coverage",
"lib",
".github"
],
"testPathIgnorePatterns": [
"/node_modules/",
"dist",
"cdk.out",
"coverage",
"lib",
".github"
],
"preset": "ts-jest",
"testMatch": [
"**/__tests__/**/*.ts?(x)",
"**/?(*.)+(spec|test).ts?(x)"
],
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.jest.json"
}
}
},
"stability": "experimental",
"jsii": {
"outdir": "dist",
"targets": {
"java": {
"package": "com.github.rayou.urlshortener",
"maven": {
"groupId": "com.github.rayou",
"artifactId": "cdk-url-shortener"
}
},
"python": {
"distName": "rayou.cdk-url-shortener",
"module": "rayou.cdk_url_shortener"
},
"dotnet": {
"namespace": "CDK.URLShortener",
"packageId": "CDK.URLShortener"
}
},
"tsc": {
"outDir": "lib",
"rootDir": "src"
}
},
"awscdkio": {
"twitter": "_rayou"
},
"files": [
"lib",
".jsii"
],
"publishConfig": {
"access": "public"
}
}