mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-24 05:22:12 +03:00
76 lines
2.6 KiB
JSON
76 lines
2.6 KiB
JSON
{
|
|
"sourceRoot": "apps/ligo-virgo/src",
|
|
"projectType": "application",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nrwl/web:webpack",
|
|
"outputs": ["{options.outputPath}"],
|
|
"defaultConfiguration": "production",
|
|
"options": {
|
|
"compiler": "babel",
|
|
"outputPath": "dist/apps/ligo-virgo",
|
|
"index": "apps/ligo-virgo/src/index.html",
|
|
"baseHref": "/",
|
|
"main": "apps/ligo-virgo/src/index.tsx",
|
|
"polyfills": "apps/ligo-virgo/src/polyfills.ts",
|
|
"tsConfig": "apps/ligo-virgo/tsconfig.app.json",
|
|
"assets": ["apps/ligo-virgo/src/assets"],
|
|
"styles": [],
|
|
"scripts": [],
|
|
"webpackConfig": "apps/ligo-virgo/webpack.config.js"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "apps/ligo-virgo/src/environments/environment.ts",
|
|
"with": "apps/ligo-virgo/src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"namedChunks": true,
|
|
"extractLicenses": false,
|
|
"vendorChunk": false,
|
|
"generateIndexHtml": false
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"executor": "@nrwl/web:dev-server",
|
|
"options": {
|
|
"buildTarget": "ligo-virgo:build:development",
|
|
"hmr": true,
|
|
"proxyConfig": "apps/ligo-virgo/proxy.conf.json",
|
|
"open": true
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"buildTarget": "ligo-virgo:build:production",
|
|
"hmr": false
|
|
}
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nrwl/linter:eslint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": ["apps/ligo-virgo/**/*.{ts,tsx,js,jsx}"]
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nrwl/jest:jest",
|
|
"outputs": ["coverage/apps/ligo-virgo"],
|
|
"options": {
|
|
"jestConfig": "apps/ligo-virgo/jest.config.js",
|
|
"passWithNoTests": true
|
|
}
|
|
},
|
|
"check": {
|
|
"executor": "./tools/executors/tsCheck:tsCheck"
|
|
}
|
|
},
|
|
"tags": ["app:ligo-virgo"]
|
|
}
|