-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.json
47 lines (47 loc) · 1.21 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
42
43
44
45
46
47
{
"name": "cli",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/cli/src",
"projectType": "library",
"targets": {
"build": {
"executor": "@nx/esbuild:esbuild",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/cli",
"main": "packages/cli/src/index.ts",
"tsConfig": "packages/cli/tsconfig.lib.json",
"assets": [],
"external": [],
"format": ["esm"],
"platform": "node",
"bundle": true,
"thirdParty": false,
"esbuildOptions": {
"loader": {
".node": "binary"
}
}
}
},
"publish": {
"command": "node tools/scripts/publish.mjs cli {args.ver} {args.tag}",
"dependsOn": ["build"]
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["src/**/*.{ts,tsx,js,jsx}", "package.json"]
}
},
"test": {
"executor": "@nx/vite:test",
"outputs": ["{options.reportsDirectory}"],
"options": {
"reportsDirectory": "../../coverage/packages/cli"
}
}
},
"tags": []
}