forked from flash-oss/medici
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
99 lines (99 loc) · 2.79 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
{
"name": "medici",
"version": "5.1.0",
"description": "Simple double-entry accounting for Node + Mongoose",
"main": "build/index.js",
"types": "types/index.d.ts",
"scripts": {
"ci": "npm run build && npm run test",
"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/",
"README.md",
"LICENSE"
],
"repository": {
"type": "git",
"url": "http://github.com/flash-oss/medici"
},
"keywords": [
"double-entry",
"accounting",
"account",
"finance",
"mongodb",
"mongoose"
],
"author": {
"name": "Jason Raede"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/flash-oss/medici/issues"
},
"dependencies": {
"mongoose": "5 - 6"
},
"homepage": "https://github.com/flash-oss/medici",
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/chai": "^4.3.0",
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.12",
"@types/sinon": "^10.0.6",
"@typescript-eslint/eslint-plugin": "^5.7.0",
"@typescript-eslint/parser": "^5.7.0",
"chai": "^4.3.4",
"dts-bundle-generator": "^6.2.0",
"eslint": "^8.4.1",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-promise": "^5.2.0",
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-security-node": "^1.0.14",
"eslint-plugin-sonarjs": "^0.11.0",
"luxon": "^2.3.0",
"mocha": "^9.1.3",
"moment": "^2.29.1",
"mongodb-memory-server": "^8.0.4",
"nyc": "^15.1.0",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"sinon": "^12.0.1",
"ts-mocha": "^8.0.0",
"tsd": "^0.19.0",
"typescript": "^4.5.4"
},
"tsd": {
"directory": "spec/types",
"compilerOptions": {
"esModuleInterop": false,
"module": "commonjs",
"target": "ES2017"
}
},
"config": {
"mongodbMemoryServer": {
"version": "4.2.5"
}
},
"engines": {
"node": ">=12"
}
}