88 lines
2.5 KiB
JSON
88 lines
2.5 KiB
JSON
{
|
|
"name": "jest",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "packages/jest",
|
|
"projectType": "library",
|
|
"targets": {
|
|
"test": {
|
|
"executor": "@nrwl/jest:jest",
|
|
"options": {
|
|
"jestConfig": "packages/jest/jest.config.ts",
|
|
"passWithNoTests": true
|
|
},
|
|
"outputs": ["{workspaceRoot}/coverage/packages/jest"]
|
|
},
|
|
"build-base": {
|
|
"executor": "@nrwl/js:tsc",
|
|
"options": {
|
|
"outputPath": "build/packages/jest",
|
|
"tsConfig": "packages/jest/tsconfig.lib.json",
|
|
"main": "packages/jest/index.ts",
|
|
"updateBuildableProjectDepsInPackageJson": false,
|
|
"assets": [
|
|
{
|
|
"input": "packages/jest",
|
|
"glob": "**/@(files|files-angular)/**",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages/jest",
|
|
"glob": "**/files/**/.gitkeep",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages/jest",
|
|
"glob": "**/*.json",
|
|
"ignore": ["**/tsconfig*.json", "project.json", ".eslintrc.json"],
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages/jest",
|
|
"glob": "**/*.js",
|
|
"ignore": ["**/jest.config.js"],
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages/jest",
|
|
"glob": "**/*.d.ts",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "",
|
|
"glob": "LICENSE",
|
|
"output": "/"
|
|
}
|
|
]
|
|
},
|
|
"outputs": ["{options.outputPath}"]
|
|
},
|
|
"build": {
|
|
"executor": "nx:run-commands",
|
|
"outputs": ["{workspaceRoot}/build/packages/jest"],
|
|
"options": {
|
|
"command": "node ./scripts/copy-readme.js jest"
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nrwl/linter:eslint",
|
|
"options": {
|
|
"lintFilePatterns": [
|
|
"packages/jest/**/*.ts",
|
|
"packages/jest/**/*.spec.ts",
|
|
"packages/jest/**/*.spec.tsx",
|
|
"packages/jest/**/*.spec.js",
|
|
"packages/jest/**/*.spec.jsx",
|
|
"packages/jest/**/*.d.ts",
|
|
"packages/jest/**/executors/**/schema.json",
|
|
"packages/jest/**/generators/**/schema.json",
|
|
"packages/jest/generators.json",
|
|
"packages/jest/executors.json",
|
|
"packages/jest/package.json",
|
|
"packages/jest/migrations.json"
|
|
]
|
|
},
|
|
"outputs": ["{options.outputFile}"]
|
|
}
|
|
}
|
|
}
|