mirror of
https://github.com/penpot/penpot-plugins.git
synced 2025-01-06 14:50:21 -05:00
79 lines
2.2 KiB
JSON
79 lines
2.2 KiB
JSON
{
|
|
"name": "lorem-ipsum-plugin",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"projectType": "application",
|
|
"prefix": "app",
|
|
"sourceRoot": "apps/lorem-ipsum-plugin/src",
|
|
"tags": ["type:plugin"],
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@angular-devkit/build-angular:application",
|
|
"outputs": ["{options.outputPath}"],
|
|
"options": {
|
|
"outputPath": "dist/apps/lorem-ipsum-plugin",
|
|
"index": "apps/lorem-ipsum-plugin/src/index.html",
|
|
"browser": "apps/lorem-ipsum-plugin/src/main.ts",
|
|
"polyfills": ["zone.js"],
|
|
"tsConfig": "apps/lorem-ipsum-plugin/tsconfig.app.json",
|
|
"assets": [
|
|
"apps/lorem-ipsum-plugin/src/favicon.ico",
|
|
"apps/lorem-ipsum-plugin/src/assets"
|
|
],
|
|
"styles": [
|
|
"libs/plugins-styles/src/lib/styles.css",
|
|
"apps/lorem-ipsum-plugin/src/styles.css"
|
|
],
|
|
"scripts": [],
|
|
"optimization": {
|
|
"scripts": true,
|
|
"styles": true,
|
|
"fonts": false
|
|
}
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "500kb",
|
|
"maximumError": "1mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "2kb",
|
|
"maximumError": "4kb"
|
|
}
|
|
],
|
|
"outputHashing": "all"
|
|
},
|
|
"development": {
|
|
"optimization": false,
|
|
"extractLicenses": false,
|
|
"sourceMap": true
|
|
}
|
|
},
|
|
"defaultConfiguration": "production",
|
|
"dependsOn": ["buildPlugin"]
|
|
},
|
|
"serve": {
|
|
"executor": "@angular-devkit/build-angular:dev-server",
|
|
"configurations": {
|
|
"production": {
|
|
"buildTarget": "lorem-ipsum-plugin:build:production"
|
|
},
|
|
"development": {
|
|
"buildTarget": "lorem-ipsum-plugin:build:development",
|
|
"host": "0.0.0.0",
|
|
"port": 4304
|
|
}
|
|
},
|
|
"defaultConfiguration": "development"
|
|
},
|
|
"extract-i18n": {
|
|
"executor": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"buildTarget": "lorem-ipsum-plugin:build"
|
|
}
|
|
}
|
|
}
|
|
}
|