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