UNPKG

@e-invoice-eu/core

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.

134 lines (133 loc) 4.13 kB
{ "name": "@e-invoice-eu/core", "version": "2.1.6", "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" ], "main": "dist/e-invoice-eu.cjs.js", "module": "dist/e-invoice-eu.esm.js", "typings": "dist/index.d.ts", "publishConfig": { "access": "public" }, "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/packages/runtime", "scripts": { "build": "rimraf dist && rollup -c", "prepublishOnly": "npm run build", "check:clean": "../../check-clean", "format": "prettier --write *.json 'src/**/*.ts'", "watch": "tsc --watch", "lint": "eslint './src/**/*.ts'", "lint:fix": "eslint --fix './src/**/*.ts'", "lint:fix-dry-run": "eslint --fix-dry-run './src/**/*.ts'", "lint:staged": "lint-staged", "typedoc": "typedoc src/index.ts && node patch-image.mjs", "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", "esgettext": "npm-run-all esgettext:potfiles esgettext:extract esgettext:update-po esgettext:update-mo esgettext:install", "esgettext:potfiles": "esgettext potfiles --directory=po --git --exclude=\"node_modules/**/*\" --exclude=\"test/*/**\" --exclude=\"**/*.spec.*\" \"././**/*.mjs\" \"./test/**/*.ts\" \"./src/**/*.ts\" \"./contrib/**/*.mjs\" >po/POTFILES", "esgettext:extract": "esgettext extract --force-po --from-code=utf-8 --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": "Guido Flohr <guido.flohr@cantanea.com> (http://www.guido.flohr.net/)", "license": "WTFPL", "files": [ "dist" ], "jest": { "moduleFileExtensions": [ "js", "json", "ts" ], "rootDir": "src", "testRegex": ".*\\.spec\\.ts$", "transform": { "^.+\\.(t|j)s$": "ts-jest" }, "collectCoverageFrom": [ "**/*.(t|j)s", "!src/**/index.ts" ], "coverageDirectory": "../coverage", "testEnvironment": "node" }, "lint-staged": { "*.{js,ts,json,scss,css,md}": [ "prettier --write" ], "src/**/*.ts": [ "eslint" ] }, "devDependencies": { "@esgettext/tools": "^1.3.6", "@rollup/plugin-commonjs": "^28.0.3", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-replace": "^6.0.2", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.2", "@types/eslint__eslintrc": "^3.3.0", "@types/eslint__js": "^9.14.0", "@types/jest": "^29.5.14", "@types/jsonpath-plus": "^5.0.5", "@types/node": "^22.14.0", "@typescript-eslint/eslint-plugin": "^8.29.0", "@typescript-eslint/parser": "^8.29.0", "ajv-cli": "^5.0.0", "eslint": "^9.24.0", "eslint-config-prettier": "^10.1.1", "eslint-plugin-import": "^2.31.0", "eslint-plugin-prettier": "^5.2.6", "fast-xml-parser": "^5.2.0", "jest": "^29.7.0", "js-yaml": "^4.1.0", "json-schema-to-typescript": "^15.0.4", "lint-staged": "^15.5.0", "npm-run-all": "^4.1.5", "rimraf": "^6.0.1", "rollup": "^4.39.0", "rollup-plugin-polyfill-node": "^0.13.0", "ts-jest": "^29.3.1", "ts-loader": "^9.5.2", "ts-node": "^10.9.2", "tsconfig-paths": "^4.2.0", "tsx": "^4.19.3", "typedoc-material-theme": "^1.3.0", "typescript": "^5.8.3", "typescript-eslint": "^8.29.0" }, "dependencies": { "@cantoo/pdf-lib": "^2.3.2", "@e965/xlsx": "^0.20.3", "@esgettext/runtime": "^1.3.6", "ajv": "^8.17.1", "jsonpath-plus": "^10.3.0", "tmp-promise": "^3.0.3", "xmlbuilder2": "^3.1.1" }, "gitHead": "895dce3de919cbc079565beb3493655114b28a65" }