-
Notifications
You must be signed in to change notification settings - Fork 440
/
package.json
102 lines (102 loc) · 3.88 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
{
"name": "root",
"version": "0.7.0",
"private": true,
"scripts": {
"build": "lerna run --scope 'cdktf*' --scope @cdktf/* build",
"format": "prettier --write .",
"package": "lerna run package && tools/collect-dist.sh",
"package:python": "lerna run package:python && tools/collect-dist.sh",
"package:java": "lerna run package:java && tools/collect-dist.sh",
"package:dotnet": "lerna run package:dotnet && tools/collect-dist.sh",
"package:js": "lerna run package:js && tools/collect-dist.sh",
"package-windows": "lerna run package && tools\\collect-dist.bat",
"pretest": "yarn lint:workspace && prettier --check .",
"test": "lerna run --scope 'cdktf*' --scope @cdktf/* test",
"test:update": "npx lerna exec --parallel --no-bail --scope 'cdktf*' --scope '@cdktf/*' npx 'jest -u'",
"watch": "lerna run --parallel --stream --scope @cdktf/* --scope 'cdktf*' watch-preserve-output",
"lint:workspace": "eslint .",
"link-packages": "lerna exec --scope 'cdktf*' --scope @cdktf/* yarn link",
"integration": "cd test && ./run-against-dist npx jest --runInBand",
"integration:typescript": "cd test && ./run-against-dist npx jest --runInBand typescript",
"integration:python": "cd test && ./run-against-dist npx jest --runInBand python",
"integration:csharp": "cd test && ./run-against-dist npx jest --runInBand csharp",
"integration:java": "cd test && ./run-against-dist npx jest --runInBand java",
"integration:go": "cd test && ./run-against-dist npx jest --runInBand go",
"integration:windows": "cd test && run-against-dist.bat \"npx jest --runInBand\"",
"integration:windows:typescript": "cd test && run-against-dist.bat \"npx jest --runInBand typescript\"",
"integration:windows:python": "cd test && run-against-dist.bat \"npx jest --runInBand python\"",
"integration:windows:csharp": "cd test && run-against-dist.bat \"npx jest --runInBand csharp\"",
"integration:windows:java": "cd test && run-against-dist.bat \"npx jest --runInBand java\"",
"integration:windows:go": "cd test && run-against-dist.bat \"npx jest --runInBand go\"",
"release-github": "tools/release-github.sh",
"build-docker-jsii": "docker build -t hashicorp/jsii-terraform .",
"push-docker-jsii": "docker push hashicorp/jsii-terraform",
"dist-clean": "lerna run dist-clean --stream && rm -rf dist",
"prepare": "husky install",
"prepare-next-release": "standard-version --prerelease pre --release-as minor --skip.changelog=true --skip.commit=true",
"prepare-release": "tools/prepare-release.sh",
"release": "standard-version"
},
"resolutions": {
"jest-environment-jsdom": "~27.3.1"
},
"workspaces": {
"packages": [
"packages/*",
"packages/@cdktf/*",
"examples/*",
"examples/python/*",
"examples/typescript/*",
"examples/typescript/backends/*",
"examples/java/*",
"examples/csharp/*",
"examples/go/*",
".yalc/*",
".yalc/@*/*"
],
"nohoist": [
"archiver",
"**/archiver",
"**/archiver/**"
]
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.28.1",
"@typescript-eslint/parser": "^4.28.1",
"changelog-parser": "^2.8.0",
"eslint": "^7.29.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-monorepo": "^0.3.2",
"husky": ">=6",
"lerna": "^4.0.0",
"lint-staged": ">=10",
"prettier": "^2.3.1",
"standard-version": "^9.3.2"
},
"lint-staged": {
"**/*.{ts,tsx,js,css,md}": "prettier --write"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"monorepo"
],
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"monorepo/no-relative-import": "error"
},
"ignorePatterns": [
"node_modules",
"dist",
"coverage",
"*.d.ts",
"*.js"
]
}
}