UNPKG

@puq/meta

Version:

A TypeScript utility for managing resource metadata using the reflect-metadata library. This module provides a way to define and retrieve metadata for resource entities, such as entity classes, names, paths, and public access flags, typically used in fram

92 lines 2.45 kB
{ "name": "@puq/meta", "license": "MIT", "version": "workspace:^", "publishConfig": { "access": "public", "tag": "latest" }, "description": "A TypeScript utility for managing resource metadata using the reflect-metadata library. This module provides a way to define and retrieve metadata for resource entities, such as entity classes, names, paths, and public access flags, typically used in frameworks like REST APIs or ORMs.", "author": { "email": "robert.brightline@gmail.com", "name": "Robert Brightline", "url": "https://rbrightline.github.io" }, "keywords": [ "puq", "meta" ], "repository": { "directory": "libs/meta", "url": "https://github.com/rbrightline/puq/tree/main", "type": "github" }, "homepage": "https://rbrightline.github.io/puq/meta", "bugs": { "email": "robert.brightline@gmail.com", "url": "https://rbrightline.github.io" }, "categories": [ "Other" ], "contributors": [ { "email": "robert.brightline@gmail.com", "name": "Robert Brightline", "url": "https://rbrightline.github.io" } ], "funding": [ "https://cash.app/$puqlib" ], "icon": "https://raw.githubusercontent.com/rbrightline/puq/refs/heads/main/libs/meta/favicon.png", "type": "module", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { "./package.json": "./package.json", ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "default": "./dist/index.js" } }, "files": [ "dist", "!**/*.tsbuildinfo" ], "nx": { "sourceRoot": "libs/meta/src", "targets": { "build": { "executor": "@nx/js:swc", "outputs": [ "{options.outputPath}" ], "options": { "outputPath": "libs/meta/dist", "main": "libs/meta/src/index.ts", "tsConfig": "libs/meta/tsconfig.lib.json", "skipTypeCheck": false, "stripLeadingPaths": true }, "dependsOn": [ "lint" ] }, "doc": { "command": "cd libs/meta && npx compodoc -d ../../public/meta -p tsconfig.lib.json -n meta" } } }, "peerDependencies": { "@puq/type": "workspace:^", "@puq/is": "workspace:^", "@puq/names": "workspace:^", "reflect-metadata": "^0.2.2" }, "dependencies": { "@swc/helpers": "^0.5.15" } }