init Cf page project (#85)

init cf page project
This commit is contained in:
zizifn
2023-01-02 02:18:20 +08:00
committed by GitHub
parent 2e794541d0
commit d291067219
28 changed files with 1102 additions and 115 deletions

52
apps/cf-page/project.json Normal file
View File

@@ -0,0 +1,52 @@
{
"name": "cf-page",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/cf-page/src",
"projectType": "application",
"targets": {
"build": {
"executor": "@nrwl/vite:build",
"outputs": ["{options.outputPath}"],
"defaultConfiguration": "production",
"options": {
"outputPath": "dist/apps/cf-page"
},
"configurations": {
"development": {},
"production": {}
}
},
"serve": {
"executor": "@nrwl/vite:dev-server",
"defaultConfiguration": "development",
"options": {
"buildTarget": "cf-page:build"
},
"configurations": {
"development": {
"buildTarget": "cf-page:build:development",
"hmr": true
},
"production": {
"buildTarget": "cf-page:build:production",
"hmr": false
}
}
},
"test": {
"executor": "@nrwl/vite:test",
"outputs": ["{projectRoot}/coverage"],
"options": {
"passWithNoTests": true
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["apps/cf-page/**/*.{ts,tsx,js,jsx}"]
}
}
},
"tags": []
}