Files
toolbox-sdk/packages/contract/package.json

49 lines
1.6 KiB
JSON

{
"name": "@add-ideas/toolbox-contract",
"version": "0.2.0",
"description": "Runtime-validated manifests, catalogs, discovery, and URL helpers for toolbox applications.",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://git.add-ideas.de/zemion/toolbox-sdk.git",
"directory": "packages/contract"
},
"homepage": "https://git.add-ideas.de/zemion/toolbox-sdk",
"keywords": [
"toolbox",
"manifest",
"catalog",
"typescript"
],
"type": "module",
"sideEffects": false,
"engines": {
"node": ">=20"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./schemas/toolbox-app.v1.schema.json": "./dist/schemas/toolbox-app.v1.schema.json",
"./schemas/toolbox-catalog.v1.schema.json": "./dist/schemas/toolbox-catalog.v1.schema.json",
"./package.json": "./package.json"
},
"types": "./dist/index.d.ts",
"scripts": {
"build": "tsc -p tsconfig.build.json && node -e \"const fs=require('node:fs');fs.mkdirSync('dist/schemas',{recursive:true});for(const name of ['toolbox-app.v1.schema.json','toolbox-catalog.v1.schema.json'])fs.copyFileSync('../../schemas/'+name,'dist/schemas/'+name);fs.copyFileSync('../../LICENSE','LICENSE')\"",
"clean": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"",
"prepack": "npm run build",
"typecheck": "tsc -p tsconfig.json --noEmit"
},
"publishConfig": {
"access": "public",
"registry": "https://git.add-ideas.de/api/packages/zemion/npm/"
}
}