-
Notifications
You must be signed in to change notification settings - Fork 126
Expand file tree
/
Copy pathproject.json
More file actions
71 lines (71 loc) · 2.25 KB
/
Copy pathproject.json
File metadata and controls
71 lines (71 loc) · 2.25 KB
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
{
"name": "@aws/threat-composer-monorepo",
"root": ".",
"targets": {
"build:packs": {
"command": "tsx ./scripts/data/buildPacks.ts ThreatPack && tsx ./scripts/data/buildPacks.ts MitigationPack",
"inputs": [
"{workspaceRoot}/scripts/data/**/*",
"{workspaceRoot}/packages/threat-composer/src/data/threatPacks/*.metadata.json",
"{workspaceRoot}/packages/threat-composer/src/data/mitigationPacks/*.metadata.json",
"{workspaceRoot}/packages/threat-composer/src/data/workspaceExamples/*.tc.json"
],
"outputs": [
"{workspaceRoot}/packages/threat-composer/src/data/threatPacks/generated",
"{workspaceRoot}/packages/threat-composer/src/data/mitigationPacks/generated"
],
"cache": true
},
"build:schema": {
"command": "tsx ./scripts/generateSchema.ts",
"inputs": [
"{workspaceRoot}/scripts/generateSchema.ts",
"{workspaceRoot}/packages/threat-composer/src/**/*.ts"
],
"outputs": [
"{workspaceRoot}/schemas"
],
"cache": true
},
"build": {
"executor": "nx:noop",
"dependsOn": [
"build:packs",
"build:schema",
"test"
]
},
"test": {
"command": "node --test scripts/nx-cache.test.mjs",
"dependsOn": [],
"inputs": [
"{workspaceRoot}/scripts/nx-cache.test.mjs",
"{workspaceRoot}/nx.json",
"{workspaceRoot}/packages/threat-composer/project.json",
"{workspaceRoot}/packages/threat-composer-app/project.json",
"{workspaceRoot}/packages/threat-composer-app-browser-extension/project.json"
],
"outputs": []
},
"export:examples": {
"command": "tsx ./scripts/exportExamples.mts",
"dependsOn": [
{
"projects": [
"@aws/threat-composer"
],
"target": "copy-assets"
}
],
"cache": false
},
"generate:attribution": {
"command": "git secrets --scan && generate-attribution && mv oss-attribution/attribution.txt LICENSE-THIRD-PARTY",
"cache": false
},
"license:checker": {
"command": "license-checker --summary --production --excludePrivatePackages --onlyAllow 'MIT;Apache-2.0;ISC;'",
"cache": false
}
}
}