UNPKG

medici

Version:

Double-entry accounting ledger for Node + Mongoose

103 lines (102 loc) 3.06 kB
{ "name": "medici", "version": "7.1.0", "description": "Double-entry accounting ledger for Node + Mongoose", "main": "build/index.js", "types": "types/index.d.ts", "scripts": { "ci": "npm run build && npm run test", "ci-mongoose8": "npm i mongoose@8 && npm run test:code", "ci-mongoose7": "npm i mongoose@7 && npm run test:code", "ci-mongoose6": "npm i mongoose@6 && npm run test:code", "ci-mongoose5": "npm i mongoose@5 && npm run test:code", "bench:balance": "ts-node ./bench/bench-balance.ts", "bench:ledger": "ts-node ./bench/bench-ledger.ts", "build": "npm run clean && npm run build:node && npm run build:types", "build:node": "tsc -p .", "build:types": "dts-bundle-generator -o ./types/index.d.ts ./src/index.ts --project ./tsconfig.types.json --no-check", "clean": "rimraf ./build && rimraf ./types", "prettier": "prettier '**/*.ts' --check", "prettier:fix": "prettier '**/*.ts' --write", "lint": "eslint ./spec ./src", "lint:fix": "eslint --fix ./spec ./src", "test": "npm run test:code && npm run test:types", "test:code": "ts-mocha --recursive './spec/*.ts' --preserve-symlinks", "test:types": "tsd", "test:coverage": "npm run clean && USE_MEMORY_REPL_SET=true nyc --reporter html ts-mocha --recursive './spec/**/*.spec.ts'", "prepublishOnly": "npm run build" }, "files": [ "build/", "types/" ], "repository": { "type": "git", "url": "https://github.com/flash-oss/medici" }, "keywords": [ "double-entry", "accounting", "account", "finance", "mongodb", "mongoose", "ledger" ], "author": { "name": "Jason Raede" }, "license": "MIT", "bugs": { "url": "https://github.com/flash-oss/medici/issues" }, "dependencies": { "mongoose": "5 - 8" }, "homepage": "https://github.com/flash-oss/medici", "devDependencies": { "@istanbuljs/nyc-config-typescript": "^1.0.2", "@types/chai": "^4.3.5", "@types/luxon": "^3.3.5", "@types/mocha": "^10.0.1", "@types/node": "^18.16.17", "@types/sinon": "^10.0.15", "@typescript-eslint/eslint-plugin": "^5.59.9", "@typescript-eslint/parser": "^5.59.9", "chai": "^4.3.4", "dts-bundle-generator": "^8.0.1", "eslint": "^8.42.0", "eslint-plugin-import": "^2.25.3", "eslint-plugin-promise": "^6.0.0", "eslint-plugin-security": "^1.4.0", "eslint-plugin-security-node": "^1.0.14", "eslint-plugin-sonarjs": "^0.19.0", "luxon": "^3.0.1", "mocha": "^10.2.0", "moment": "^2.29.1", "mongodb-memory-server": "^8.13.0", "nyc": "^15.1.0", "prettier": "^2.8.8", "rimraf": "^5.0.1", "sinon": "^15.1.0", "ts-mocha": "^10.0.0", "tsd": "^0.28.1", "typescript": "^5.1.3" }, "tsd": { "directory": "spec/types", "compilerOptions": { "esModuleInterop": false, "module": "commonjs", "target": "ES2017" } }, "config": { "mongodbMemoryServer": { "version": "4.2.5" } }, "engines": { "node": ">=16" } }