0
Fork 0
mirror of https://github.com/penpot/penpot-plugins.git synced 2025-01-09 08:22:09 -05:00
penpot-plugins/apps/rpc-api/project.json
2024-03-07 08:24:05 +01:00

56 lines
1.4 KiB
JSON

{
"name": "rpc-api",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/rpc-api/src",
"projectType": "application",
"targets": {
"build": {
"executor": "@nx/esbuild:esbuild",
"outputs": ["{options.outputPath}"],
"defaultConfiguration": "production",
"options": {
"platform": "node",
"outputPath": "dist/apps/rpc-api",
"format": ["cjs"],
"bundle": false,
"main": "apps/rpc-api/src/main.ts",
"tsConfig": "apps/rpc-api/tsconfig.app.json",
"assets": ["apps/rpc-api/src/assets"],
"generatePackageJson": true,
"esbuildOptions": {
"sourcemap": true,
"outExtension": {
".js": ".js"
}
}
},
"configurations": {
"development": {},
"production": {
"esbuildOptions": {
"sourcemap": false,
"outExtension": {
".js": ".js"
}
}
}
}
},
"serve": {
"executor": "@nx/js:node",
"defaultConfiguration": "development",
"options": {
"buildTarget": "rpc-api:build"
},
"configurations": {
"development": {
"buildTarget": "rpc-api:build:development"
},
"production": {
"buildTarget": "rpc-api:build:production"
}
}
}
},
"tags": []
}