-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
76 lines (76 loc) · 1.92 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
{
"name": "orm-redis",
"version": "0.1.10",
"description": "ORM Like Redis mapper for Typescript",
"main": "./compiled/index.js",
"types": "./compiled/index.d.ts",
"scripts": {
"clean": "node ./helpers/clean.js",
"ts": "tsc -p tsconfig-build.json",
"ts:watch": "tsc -w -p tsconfig-build.json",
"test": "cross-env REDIS_HOST=localhost REDIS_PORT=6379 jest",
"lint": "tslint 'src/**/*'",
"build": "run-s clean ts lint",
"test:coverage": "cross-env REDIS_HOST=localhost REDIS_PORT=6379 jest --coverage --no-cache",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "https://github.com/asvetliakov/orm-redis"
},
"author": "Alexey Svetliakov <[email protected]>",
"license": "ISC",
"devDependencies": {
"@types/jest": "^20.0.4",
"cross-env": "^5.0.1",
"del": "^3.0.0",
"jest": "^20.0.4",
"jest-environment-node-debug": "^2.0.0",
"npm-run-all": "^4.0.2",
"reflect-metadata": "^0.1.10",
"ts-jest": "^20.0.7",
"tslint": "^5.5.0",
"typescript": "^2.4.1"
},
"dependencies": {
"@types/redis": "*",
"redis": "^2.7.1",
"sb-promisify": "^2.0.2"
},
"jest": {
"globals": {
"ts-jest": {
"tsConfigFile": "tsconfig.json"
}
},
"testEnvironment": "node",
"resetMocks": true,
"transform": {
"\\.(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|.*_[Ff]?[Ss]pec)\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"js",
"jsx",
"ts",
"tsx"
],
"collectCoverageFrom": [
"src/**/*.ts",
"!src/**/*.d.ts",
"!src/index.ts",
"!src/testutils/**/*"
],
"setupTestFrameworkScriptFile": "<rootDir>/helpers/test-helper.js",
"coverageReporters": [
"json",
"lcov",
"text",
"cobertura"
],
"roots": [
"<rootDir>/src"
],
"mapCoverage": true
}
}