nx/packages/js/project.json

59 lines
1.4 KiB
JSON

{
"name": "js",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/js/src",
"projectType": "library",
"targets": {
"lint": {},
"test": {},
"build-base": {
"executor": "@nrwl/js:tsc",
"options": {
"main": "packages/js/src/index.ts",
"assets": [
{
"input": "packages/js",
"glob": "**/files/**",
"output": "/"
},
{
"input": "packages/js",
"glob": "**/files/**/.gitkeep",
"output": "/"
},
{
"input": "packages/js",
"glob": "**/*.json",
"ignore": ["**/tsconfig*.json", "project.json", ".eslintrc.json"],
"output": "/"
},
{
"input": "packages/js",
"glob": "**/*.js",
"ignore": ["**/jest.config.js"],
"output": "/"
},
{
"input": "packages/js",
"glob": "**/*.d.ts",
"output": "/"
},
{
"input": "",
"glob": "LICENSE",
"output": "/"
}
]
}
},
"build": {
"executor": "nx:run-commands",
"outputs": ["{workspaceRoot}/build/packages/js"],
"options": {
"command": "node ./scripts/copy-readme.js js"
}
}
},
"tags": []
}