olayway 51d0a7692e [remark-callouts][xs]: don't include README in /dist
- it is included automatically by npm, in the parent folder
2023-06-07 15:04:46 +02:00

43 lines
1.3 KiB
JSON

{
"name": "remark-callouts",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/remark-callouts/src",
"projectType": "library",
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["packages/remark-callouts/**/*.ts"]
}
},
"test": {
"executor": "nx:run-commands",
"options": {
"command": "TS_NODE_PROJECT='packages/remark-callouts/tsconfig.spec.json' mocha --config packages/remark-callouts/.mocharc.yaml packages/remark-callouts/test/**"
}
},
"build": {
"executor": "@nrwl/rollup:rollup",
"outputs": ["{options.outputPath}"],
"options": {
"entryFile": "packages/remark-callouts/src/index.ts",
"outputPath": "packages/remark-callouts/dist",
"compiler": "babel",
"tsConfig": "packages/remark-callouts/tsconfig.lib.json",
"project": "packages/remark-callouts/package.json",
"format": ["esm", "cjs"],
"extractCss": true,
"assets": [
{
"glob": "packages/remark-callouts/styles.css",
"input": ".",
"output": "."
}
]
}
}
},
"tags": []
}