-
Notifications
You must be signed in to change notification settings - Fork 0
/
.projenrc.ts
39 lines (34 loc) · 926 Bytes
/
.projenrc.ts
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
import { CdklabsTypeScriptProject } from 'cdklabs-projen-project-types';
const project = new CdklabsTypeScriptProject({
setNodeEngineVersion: false,
stability: 'stable',
private: false,
name: 'node-backpack',
projenrcTs: true,
defaultReleaseBranch: 'main',
releaseToNpm: true,
devDeps: [
'@types/madge',
'@types/license-checker',
'@types/fs-extra',
],
deps: [
'esbuild',
'madge',
'license-checker',
'yargs',
'fs-extra',
'shlex',
],
bin: {
'node-backpack': 'bin/node-backpack',
},
});
project.gitignore.exclude('.vscode/');
// required for esbuild > v0.14.32
// see https://github.com/evanw/esbuild/pull/2155
// see https://stackoverflow.com/questions/56906718/error-ts2304-cannot-find-name-webassembly
project.tsconfig?.compilerOptions?.lib?.push('dom');
// needed for CLI tests to run
project.testTask.prependSpawn(project.compileTask);
project.synth();