-
Notifications
You must be signed in to change notification settings - Fork 81
/
package.json
102 lines (102 loc) · 2.99 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "medici",
"version": "7.0.3",
"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"
}
}