forked from flochaz/aws-dynamodb-table-multi-gsis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.projenrc.js
39 lines (36 loc) · 1.29 KB
/
.projenrc.js
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
const { awscdk } = require('projen');
const project = new awscdk.AwsCdkConstructLibrary({
author: 'Florian CHAZAL',
authorAddress: '[email protected]',
cdkVersion: '1.122.0',
defaultReleaseBranch: 'main',
name: 'aws-dynamodb-table-multi-gsis',
repositoryUrl: 'https://github.com/flochaz/aws-dynamodb-table-multi-gsis.git',
jestOptions: {
jestConfig: {
runner: 'groups',
},
},
cdkDependenciesAsDeps: false,
cdkDependencies: ['@aws-cdk/aws-dynamodb', '@aws-cdk/custom-resources', '@aws-cdk/aws-iam'],
cdkTestDependencies: ['@aws-cdk/aws-applicationautoscaling', '@aws-cdk/aws-kinesis', '@aws-cdk/aws-kms'],
externals: ['aws-sdk'],
// description: undefined, /* The description is just a string that helps people understand the purpose of the package. */
devDeps: [
'aws-sdk',
'@types/aws-lambda',
'jest-runner-groups',
'@aws-cdk/aws-dynamodb',
'@aws-cdk/custom-resources',
'@aws-cdk/aws-iam',
'aws-cdk@^1.122.0',
],
// packageName: undefined, /* The "name" in package.json. */
// release: undefined, /* Add release management to this project. */
gitignore: ['cdk.out'],
});
const e2e = project.addTask('test:e2e', {
exec: 'jest --group=e2e',
});
project.testTask.reset('jest --group=unit');
project.synth();