62 lines
1.7 KiB
JSON
62 lines
1.7 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/web: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"],
|
|
"generateExportsField": true,
|
|
"assets": [
|
|
{
|
|
"glob": "packages/remark-embed/README.md",
|
|
"input": ".",
|
|
"output": "."
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"publish:dry": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"commands": ["npm publish --dry-run"],
|
|
"parallel": false,
|
|
"cwd": "packages/remark-embed/dist"
|
|
}
|
|
},
|
|
"publish": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"commands": ["npm publish"],
|
|
"parallel": false,
|
|
"cwd": "packages/remark-embed/dist"
|
|
}
|
|
}
|
|
},
|
|
"tags": []
|
|
}
|