-
Notifications
You must be signed in to change notification settings - Fork 15
/
project.json
43 lines (43 loc) · 1.33 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
{
"name": "plugin-js-packages",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/plugin-js-packages/src",
"projectType": "library",
"targets": {
"build": {
"executor": "@nx/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/plugin-js-packages",
"main": "packages/plugin-js-packages/src/index.ts",
"tsConfig": "packages/plugin-js-packages/tsconfig.lib.json",
"additionalEntryPoints": ["packages/plugin-js-packages/src/bin.ts"],
"assets": ["packages/plugin-js-packages/*.md"]
}
},
"lint": {
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"packages/plugin-js-packages/**/*.ts",
"packages/plugin-js-packages/package.json"
]
}
},
"unit-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/plugin-js-packages/vite.config.unit.ts"
}
},
"integration-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/plugin-js-packages/vite.config.integration.ts"
}
}
},
"tags": ["scope:plugin", "type:feature", "publishable"],
"description": "A plugin for JavaScript packages."
}