-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.json
More file actions
48 lines (48 loc) · 1.37 KB
/
project.json
File metadata and controls
48 lines (48 loc) · 1.37 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
{
"name": "contentstack-js-core",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/contentstack-js-core/dist",
"projectType": "library",
"targets": {
"build": {
"executor": "@nrwl/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "packages/contentstack-js-core/dist",
"main": "packages/contentstack-js-core/src/index.ts",
"tsConfig": "packages/contentstack-js-core/tsconfig.lib.json",
"assets": ["packages/contentstack-js-core/*.md"]
}
},
"publish": {
"executor": "nx:run-commands",
"options": {
"command": "node tools/scripts/publish.mjs contentstack-js-core {args.ver} {args.tag}"
},
"dependsOn": [
{
"projects": "self",
"target": "build"
}
]
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["packages/contentstack-js-core/**/*.ts"]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["reports/contentstack-js-core/coverage"],
"options": {
"jestConfig": "packages/contentstack-js-core/jest.config.ts",
"passWithNoTests": true,
"outputFile": "report.json",
"json": true
}
}
},
"tags": ["scope:core"]
}