37 lines
1.2 KiB
JSON
37 lines
1.2 KiB
JSON
{
|
|
"name": "@open-matrix/cli",
|
|
"version": "0.1.3",
|
|
"description": "Matrix package-author CLI.",
|
|
"type": "module",
|
|
"bin": {
|
|
"matrix": "./dist/index.js"
|
|
},
|
|
"files": [
|
|
"dist/",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && esbuild src/index.ts --bundle --platform=node --target=node22 --format=esm --outfile=dist/index.js --external:node:* --external:commander --external:nats --log-level=warning",
|
|
"type-check": "tsc -p tsconfig.json --noEmit",
|
|
"test": "node -e \"const{globSync}=require('glob');const{execFileSync}=require('child_process');const files=globSync('tests/unit/*.spec.ts');if(!files.length){console.error('No test files found');process.exit(1)}execFileSync(process.execPath,['--import','tsx','--test',...files],{stdio:'inherit'})\""
|
|
},
|
|
"dependencies": {
|
|
"@open-matrix/contracts": "workspace:*",
|
|
"@open-matrix/core": "workspace:*",
|
|
"@open-matrix/federation": "workspace:*",
|
|
"commander": "^11.0.0",
|
|
"nats": "^2.29.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.0.10",
|
|
"esbuild": "^0.27.3",
|
|
"glob": "^13.0.6",
|
|
"tsx": "^4.15.6",
|
|
"typescript": "^5.7.0"
|
|
},
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=22"
|
|
}
|
|
}
|