UNPKG

@e-invoice-eu/cli

Version:

Generate e-invoices (E-Rechnung in German) conforming to EN16931 (Factur-X/ZUGFeRD, UBL, CII, XRechnung aka X-Rechnung) from LibreOffice Calc/Excel data or JSON.

137 lines (136 loc) 3.94 kB
{ "name": "@e-invoice-eu/cli", "version": "2.2.0", "description": "Generate e-invoices (E-Rechnung in German) conforming to EN16931 (Factur-X/ZUGFeRD, UBL, CII, XRechnung aka X-Rechnung) from LibreOffice Calc/Excel data or JSON. ", "keywords": [ "factur-x", "zugferd", "e-invoice", "ubl", "cii", "en16931", "xrechnung", "pdfa", "e-rechnung", "e-invoice-eu" ], "publishConfig": { "access": "public" }, "main": "dist/index.js", "typings": "dist/index.d.ts", "repository": { "type": "git", "url": "git+https://github.com/gflohr/e-invoice-eu.git" }, "bugs": { "url": "https://github.com/gflohr/e-invoice-eu/issues" }, "homepage": "https://github.com/gflohr/e-invoice-eu", "files": [ "dist" ], "bin": { "e-invoice-eu": "dist/index.js" }, "scripts": { "build": "rimraf ./dist && tsc --project tsconfig.build.json && chmod +x dist/index.js", "prebuild": "node ./write-package.mjs >src/package.ts", "prepublishOnly": "bun run build", "check:clean": "../../check-clean", "format": "prettier --write 'src/**/*.ts' *.mjs *.json", "prestart": "node ./write-package.mjs >src/package.ts", "start": "bun src/index.ts", "watch": "tsc --watch", "prewatch": "node ./write-package.mjs >src/package.ts", "clean": "rimraf ./dist", "lint": "eslint './src/**/*.ts'", "lint:fix": "eslint --fix './src/**/*.ts'", "lint:fix-dry-run": "eslint --fix './src/**/*.ts'", "lint:staged": "lint-staged", "pretest": "node ./write-package.mjs >src/package.ts", "pretest:watch": "node ./write-package.mjs >src/package.ts", "pretest:cov": "node ./write-package.mjs >src/package.ts", "test": "jest", "test:watch": "jest --watch", "test:cov": "jest --coverage", "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", "typedoc": "echo nothing to do", "esgettext": "npm-run-all esgettext:potfiles esgettext:extract esgettext:update-po esgettext:update-mo esgettext:install", "esgettext:potfiles": "esgettext potfiles --directory=po --git --exclude=\"dist/**/*\" --exclude=\"node_modules/**/*\" \"././**/*.mjs\" \"./src/**/*.ts\" >po/POTFILES", "esgettext:extract": "esgettext extract --directory po --files-from=po/POTFILES", "esgettext:update-po": "esgettext msgmerge-all", "esgettext:update-mo": "esgettext msgfmt-all", "esgettext:install": "esgettext install", "esgettext:addlang": "esgettext msginit" }, "author": { "name": "Guido Flohr", "url": "https://www.guido-flohr.net/" }, "license": "WTFPL", "jest": { "moduleFileExtensions": [ "js", "json", "ts" ], "moduleNameMapper": { "^@e-invoice-eu/core$": "<rootDir>/../../../packages/core/src", "^chalk$": "<rootDir>/../src/stubs/chalk.ts", "^yargs$": "<rootDir>/../src/stubs/yargs.ts" }, "rootDir": "src", "testRegex": "\\.spec\\.ts$", "transform": { "^.+\\.ts$": [ "ts-jest", { "tsconfig": { "isolatedModules": true } } ] }, "coverageDirectory": "../coverage", "testEnvironment": "node" }, "lint-staged": { "*.{ts,json,md}": [ "prettier --write" ], "src/**/*.ts": [ "eslint" ] }, "devDependencies": { "@esgettext/tools": "^1.3.6", "@types/jest": "^30.0.0", "@types/mime-types": "^3.0.1", "@types/node": "^25.0.9", "@types/yargs": "^17.0.35", "eslint": "^9.39.2", "eslint-plugin-import": "^2.32.0", "jest": "^30.2.0", "lint-staged": "^16.2.7", "npm-run-all": "^4.1.5", "prettier": "^3.8.0", "rimraf": "^6.1.2", "ts-jest": "^29.4.6", "tsx": "^4.21.0", "typescript": "^5.9.3", "typescript-eslint": "^8.53.0" }, "dependencies": { "@e-invoice-eu/core": "^2.2.0", "@esgettext/runtime": "^1.3.6", "@valibot/i18n": "^1.0.0", "ajv": "^8.17.1", "chalk": "^5.6.2", "js-yaml": "^4.1.1", "mime-types": "^3.0.2", "valibot": "^1.2.0", "yargs": "^18.0.0" }, "gitHead": "4998abe26896483a29e281ad73f73e14ef198eb6" }