-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
87 lines (87 loc) · 2.13 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
{
"name": "ambary",
"version": "1.2.1",
"description": "Plain object in memory database",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "rimraf dist && tsc -p tsconfig.build.json",
"build:lib": "npm run lint && npm run test:cov && npm run build",
"pack:lib": "npm run build:lib && npm pack",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"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"
},
"keywords": [
"plain",
"object",
"db",
"database"
],
"author": "Valerii Radchenko",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/ValeriyRadchenko/ambary"
},
"bugs": {
"url": "https://github.com/ValeriyRadchenko/ambary/issues"
},
"engines": {
"node": ">= 12.14"
},
"files": [
"/dist"
],
"readmeFilename": "README.md",
"devDependencies": {
"@types/jest": "^25.2.1",
"@types/node": "^13.13.4",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"@typescript-eslint/parser": "^2.30.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.20.2",
"jest": "^25.5.3",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"ts-jest": "^25.4.0",
"ts-loader": "^7.0.2",
"ts-node": "^8.9.1",
"tsconfig-paths": "^3.9.0",
"typescript": "^3.8.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"collectCoverageFrom": [
"**/*.ts",
"!**/node_modules/**",
"!**/mocks/**",
"!**/*.mock.ts",
"!**/dist/**",
"!**/index.ts"
],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80
}
},
"testEnvironment": "node"
}
}