the package is now served from npm; removed copy-latest related code

This commit is contained in:
2026-06-12 16:35:42 +02:00
parent 09c75c3f6b
commit d6fa61ccef
9 changed files with 196 additions and 4054 deletions

View File

@@ -1,13 +1,22 @@
{
"name": "phx-frontend-plugin-demo",
"version": "0.0.0",
"name": "@phx-erp/phx-frontend-plugin-demo",
"version": "0.1.0",
"files": [
"dist/phx-frontend-plugin-demo/browser",
"manifest.json"
],
"exports": {
".": "./dist/phx-frontend-plugin-demo/browser/main.js",
"./manifest.json": "./manifest.json"
},
"private": false,
"scripts": {
"ng": "ng",
"start": "ng serve --configuration development",
"build": "concurrently \"ng build --watch --output-hashing none --configuration production\" \"node scripts/copy-latest.mjs --watch\"",
"build": "ng build --watch --output-hashing none --configuration production",
"build:once": "ng build --output-hashing none --configuration production",
"test": "ng test",
"build:dev": "ng build --output-hashing none --watch --configuration development",
"copy-latest": "node scripts/copy-latest.mjs",
"serve": "node ./scripts/serve-dist.mjs",
"codegen": "graphql-codegen",
"client": "ng serve --port 4201 --watch --configuration development",
@@ -25,7 +34,6 @@
}
]
},
"private": true,
"dependencies": {
"@angular/animations": "20",
"@angular/common": "^20.3.0",