38 lines
1.1 KiB
JSON
38 lines
1.1 KiB
JSON
{
|
|
"name": "remark-embed",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "packages/remark-embed/src",
|
|
"projectType": "library",
|
|
"targets": {
|
|
"lint": {
|
|
"executor": "@nrwl/linter:eslint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": ["packages/remark-embed/**/*.ts"]
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nrwl/jest:jest",
|
|
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
|
"options": {
|
|
"jestConfig": "packages/remark-embed/jest.config.ts",
|
|
"passWithNoTests": true
|
|
}
|
|
},
|
|
"build": {
|
|
"executor": "@nrwl/rollup:rollup",
|
|
"outputs": ["{options.outputPath}"],
|
|
"options": {
|
|
"entryFile": "packages/remark-embed/src/index.ts",
|
|
"outputPath": "packages/remark-embed/dist",
|
|
"compiler": "babel",
|
|
"tsConfig": "packages/remark-embed/tsconfig.lib.json",
|
|
"project": "packages/remark-embed/package.json",
|
|
"format": ["esm", "cjs"],
|
|
"external": ["unist-util-visit"]
|
|
}
|
|
}
|
|
},
|
|
"tags": []
|
|
}
|