-
Notifications
You must be signed in to change notification settings - Fork 1
/
project.json
41 lines (41 loc) · 1.29 KB
/
project.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
{
"name": "cloudfront-security-headers",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/cloudfront-security-headers/lib",
"projectType": "application",
"targets": {
"build": {
"executor": "@nx/js:tsc",
"options": {
"main": "packages/cloudfront-security-headers/index.ts",
"outputPath": "dist/cloudfront-security-headers",
"tsConfig": "packages/cloudfront-security-headers/tsconfig.app.json",
"assets": ["packages/cloudfront-security-headers/lib/handlers/**"]
},
"dependsOn": ["merge-gitignore"]
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"]
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "packages/cloudfront-security-headers/jest.config.ts",
"passWithNoTests": true
}
},
"publish": {
"command": "node tools/scripts/publish.mjs cloudfront-security-headers {args.ver} {args.tag}",
"dependsOn": ["build"]
},
"merge-gitignore": {
"executor": "nx:run-commands",
"options": {
"command": "node tools/scripts/merge-gitignore.mjs cloudfront-security-headers"
}
}
},
"tags": []
}