@fragment-dev/cli
Version:
126 lines • 4.61 kB
JSON
{
"name": "@fragment-dev/cli",
"version": "2025.12.23-1",
"description": "FRAGMENT CLI",
"author": "hello@fragment.dev",
"bin": {
"fragment": "./bin/run.js"
},
"homepage": "https://github.com/fragment-dev/workspaces",
"license": "MIT",
"type": "module",
"repository": "fragment-dev/workspaces",
"files": [
"/bin",
"/dist",
"/npm-shrinkwrap.json",
"/oclif.manifest.json"
],
"dependencies": {
"@oclif/plugin-autocomplete": "^3.0.4",
"@oclif/plugin-commands": "4.0.10",
"@oclif/plugin-help": "6.2.7",
"@oclif/plugin-not-found": "^3.0.6"
},
"devDependencies": {
"@amccarthy1/typed-env": "^1.3.0",
"@graphql-codegen/add": "^5.0.3",
"@graphql-codegen/cli": "^5.0.3",
"@graphql-codegen/typescript": "^4.1.2",
"@graphql-codegen/typescript-graphql-request": "6.2.0",
"@graphql-codegen/typescript-operations": "^4.4.0",
"@oclif/test": "3.2.11",
"@types/cross-spawn": "^6.0.2",
"@types/inquirer": "^9.0.7",
"@types/mocha": "^9.0.0",
"@types/node": "^20.11.16",
"@types/semver": "^7.3.13",
"chai": "^4",
"esbuild": "^0.20.2",
"eslint": "^8.57.0",
"eslint-config-oclif": "^4.0.0",
"eslint-config-oclif-typescript": "^1.0.3",
"eslint-plugin-unicorn": "^47.0.0",
"glob": "^10.3.12",
"mocha": "11.1.0",
"nock": "beta",
"oclif": "4.14.12",
"prettier": "^2.8.8",
"shx": "^0.3.3",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"tslib": "^2.4.1",
"typescript": "^5.4.2",
"vitest": "^3.1.0"
},
"oclif": {
"bin": "fragment",
"dirname": "fragment",
"commands": {
"strategy": "explicit",
"target": "./dist/index.js",
"identifier": "COMMANDS"
},
"topicSeparator": " ",
"topics": {
"query": {
"description": "Query for entities (Ledgers, Schemas, etc) in your Workspace."
}
},
"plugins": [
"@oclif/plugin-help",
"@oclif/plugin-not-found",
"@oclif/plugin-commands",
"@oclif/plugin-autocomplete"
]
},
"scripts": {
"fragment": "FRAGMENT_LOCAL_DEV=true bin/dev.js",
"build": "node --loader ts-node/esm build.ts",
"lint": "eslint --fix --cache",
"gen-readme": "yarn build && oclif readme && oclif manifest",
"gen-clients": "graphql-codegen --config codegen.yml",
"postpack": "shx rm -f oclif.manifest.json",
"posttest": "yarn lint",
"prepack": "yarn build && oclif manifest && oclif readme",
"test-cli": "mocha --forbid-only \"tests/**/*.test.ts\" && yarn test",
"test:auth:test": "mocha --forbid-only \"tests/cli/auth.test.test.ts\"",
"test:delete-ledger": "mocha --forbid-only \"tests/cli/deleteLedger.test.ts\"",
"test:delete-schema": "mocha --forbid-only \"tests/cli/delete-schema.test.ts\"",
"test:delete-custom-txs": "mocha --forbid-only \"tests/cli/delete-custom-txs.test.ts\"",
"test:reverse-ledger-entry": "mocha --forbid-only \"tests/cli/reverse-ledger-entry.test.ts\"",
"test:auth:login": "mocha --forbid-only \"tests/cli/auth.login.test.ts\"",
"test:auth:malformed": "mocha --forbid-only \"tests/cli/auth.malformed.test.ts\"",
"test:token": "mocha --forbid-only \"tests/cli/token.test.ts\"",
"test:schema:dev": "mocha --forbid-only \"tests/cli/schema.dev.test.ts\"",
"test:add-ledger-entry": "mocha --forbid-only \"tests/cli/addLedgerEntry.test.ts\"",
"test:migrate-ledger-entry": "mocha --forbid-only \"tests/cli/migrate-ledger-entry.test.ts\"",
"test:verify-schema": "mocha --forbid-only \"tests/cli/verify-schema.test.ts\"",
"test:schema:create": "mocha --forbid-only \"tests/cli/schema.create.test.ts\"",
"test:get-schema": "mocha --forbid-only \"tests/cli/get-schema.test.ts\"",
"test:utils:getParsedSchema": "mocha --forbid-only \"tests/utils/getParsedSchema.test.ts\"",
"test:update": "mocha --forbid-only \"tests/cli/update.test.ts\"",
"test:query": "mocha --forbid-only \"tests/cli/query.test.ts\"",
"test": "vitest run --coverage",
"test.fast": "vitest run",
"version": "oclif readme && git add README.md",
"typecheck": "tsc --skipLibCheck --noEmit",
"typecheck-special": "tsc --skipLibCheck --noEmit",
"fixup": "node --loader ts-node/esm fixup.ts",
"pkg-fragment-cli": "yarn node --loader ts-node/esm packageCLI.ts"
},
"engines": {
"node": ">=16.0.0"
},
"bugs": "https://github.com/fragment-dev/workspaces/issues",
"keywords": [
"fragment",
"ledger",
"double-entry",
"accounting",
"money",
"payments"
],
"types": "dist/index.d.ts",
"beta": false
}