mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-30 15:44:29 +03:00
53 lines
1.6 KiB
JSON
53 lines
1.6 KiB
JSON
|
{
|
||
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
||
|
"sourceRoot": "apps/keck/src",
|
||
|
"projectType": "application",
|
||
|
"targets": {
|
||
|
"build": {
|
||
|
"executor": "@nrwl/node:webpack",
|
||
|
"outputs": ["{options.outputPath}"],
|
||
|
"options": {
|
||
|
"outputPath": "dist/apps/keck",
|
||
|
"main": "apps/keck/src/index.ts",
|
||
|
"tsConfig": "apps/keck/tsconfig.app.json",
|
||
|
"assets": []
|
||
|
},
|
||
|
"configurations": {
|
||
|
"production": {
|
||
|
"optimization": true,
|
||
|
"extractLicenses": true,
|
||
|
"inspect": false,
|
||
|
"fileReplacements": [
|
||
|
{
|
||
|
"replace": "apps/keck/src/environments/environment.ts",
|
||
|
"with": "apps/keck/src/environments/environment.prod.ts"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"serve": {
|
||
|
"executor": "@nrwl/node:node",
|
||
|
"options": {
|
||
|
"buildTarget": "keck:build"
|
||
|
}
|
||
|
},
|
||
|
"lint": {
|
||
|
"executor": "@nrwl/linter:eslint",
|
||
|
"outputs": ["{options.outputFile}"],
|
||
|
"options": {
|
||
|
"lintFilePatterns": ["apps/keck/**/*.ts"]
|
||
|
}
|
||
|
},
|
||
|
"test": {
|
||
|
"executor": "@nrwl/jest:jest",
|
||
|
"outputs": ["coverage/apps/keck"],
|
||
|
"options": {
|
||
|
"jestConfig": "apps/keck/jest.config.ts",
|
||
|
"passWithNoTests": true
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"tags": []
|
||
|
}
|