mirror of
https://github.com/penpot/penpot-plugins.git
synced 2025-01-02 04:40:11 -05:00
81 lines
1.8 KiB
JSON
81 lines
1.8 KiB
JSON
{
|
|
"pluginsConfig": {
|
|
"@nx/js": {
|
|
"analyzeSourceFiles": true
|
|
}
|
|
},
|
|
"release": {
|
|
"projects": [
|
|
"libs/plugins-styles",
|
|
"libs/plugin-types",
|
|
"libs/plugins-runtime"
|
|
]
|
|
},
|
|
"extends": "nx/presets/npm.json",
|
|
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
|
"targetDefaults": {
|
|
"nx-release-publish": {
|
|
"options": {
|
|
"packageRoot": "dist/{projectName}"
|
|
}
|
|
},
|
|
"@nx/vite:build": {
|
|
"cache": true,
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["default", "^default"]
|
|
},
|
|
"@nx/esbuild:esbuild": {
|
|
"cache": true,
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["default", "^default"]
|
|
},
|
|
"@nx/js:tsc": {
|
|
"cache": true,
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["default", "^default"]
|
|
},
|
|
"@angular-devkit/build-angular:application": {
|
|
"cache": true,
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["default", "^default"]
|
|
}
|
|
},
|
|
"plugins": [
|
|
{
|
|
"plugin": "./tools/plugins/plugin-tasks.ts"
|
|
},
|
|
{
|
|
"plugin": "@nx/vite/plugin",
|
|
"options": {
|
|
"buildTargetName": "build",
|
|
"previewTargetName": "preview",
|
|
"testTargetName": "test",
|
|
"serveTargetName": "serve",
|
|
"serveStaticTargetName": "serve-static"
|
|
}
|
|
},
|
|
{
|
|
"plugin": "@nx/eslint/plugin",
|
|
"options": {
|
|
"targetName": "lint"
|
|
}
|
|
}
|
|
],
|
|
"generators": {
|
|
"@nx/web:application": {
|
|
"style": "css",
|
|
"linter": "eslint",
|
|
"unitTestRunner": "vitest",
|
|
"e2eTestRunner": "none",
|
|
"projectNameAndRootFormat": "as-provided",
|
|
"bundler": "vite"
|
|
},
|
|
"@nx/angular:application": {
|
|
"e2eTestRunner": "none",
|
|
"linter": "eslint",
|
|
"style": "css",
|
|
"unitTestRunner": "none",
|
|
"projectNameAndRootFormat": "as-provided"
|
|
}
|
|
}
|
|
}
|