-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
110 lines (110 loc) · 3.41 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
103
104
105
106
107
108
109
110
{
"name": "@avallone-io/rls",
"version": "2.0.4",
"description": "Row level security package for TypeORM and NestJS",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "docker-compose -f test/docker-compose.yml run --rm rls-test && npm run postgres:down",
"test:mocha": "mocha -r ts-node/register -r tsconfig-paths/register --file ./test/util/test-setup.ts --bail --exit --recursive --timeout 2000 ./test/**/*{.spec.ts,.*.spec.ts}",
"lint": "eslint \"{src,apps,lib,test}/**/*.ts\"",
"postgres:up": "docker-compose -f test/docker-compose.yml up -d postgres",
"postgres:down": "docker-compose -f test/docker-compose.yml down",
"prepublish": "tsc --project tsconfig.build.json",
"build": "tsc --project tsconfig.build.json",
"coverage": "npm run postgres:up && npm run coverage:test && npm run postgres:down",
"coverage:test": "nyc npm run test:mocha",
"coverage:open": "ts-node ./openCoverageReport.ts",
"coverage:html": "npm run coverage && npm run coverage:open"
},
"repository": {
"type": "git",
"url": "[email protected]:Avallone-io/rls.git"
},
"author": "Raul Stelescu",
"license": "ISC",
"bugs": {
"url": "https://github.com/Avallone-io/rls/issues"
},
"homepage": "https://github.com/Avallone-io/rls#readme",
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@nestjs/common": "^10.0.0",
"@nestjs/core": "^10.0.0",
"@nestjs/platform-express": "^10.0.0",
"@nestjs/testing": "^10.0.0",
"@nestjs/typeorm": "^10.0.0",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@types/chai": "^4.3.3",
"@types/chai-as-promised": "^7.1.5",
"@types/express": "^4.17.13",
"@types/mocha": "^9.1.1",
"@types/node-fetch": "^2.5.12",
"@types/sinon-chai": "^3.2.8",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^5.33.1",
"@typescript-eslint/parser": "^5.33.1",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"eslint": "^8.22.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"express": "^4.18.1",
"husky": "^6.0.0",
"mocha": "^10.0.0",
"node-fetch": "^2.6.5",
"nyc": "^15.1.0",
"opn": "^6.0.0",
"pg": "^8.7.3",
"pg-query-stream": "^4.5.3",
"prettier": "^2.7.1",
"rxjs": "^7.5.6",
"semantic-release": "^19.0.3",
"semantic-release-slack-bot": "^3.5.3",
"sinon": "^14.0.0",
"sinon-chai": "^3.7.0",
"source-map-support": "^0.5.21",
"supertest": "^6.2.4",
"ts-node": "^10.9.1",
"typeorm": "~0.3.0",
"typescript": "^4.7.4"
},
"peerDependencies": {
"typeorm": "~0.3.0"
},
"optionalDependencies": {
"@nestjs/common": "^8.4.0 || ^9.0.0 || ^10.0.0",
"@nestjs/core": "^8.4.0 || ^9.0.0 || ^10.0.0",
"@nestjs/typeorm": "^8.1.0 || ^9.0.0 || ^10.0.0",
"express": "^4.18.1"
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"extension": [
".ts"
],
"exclude": [
"lib/interfaces/**/*",
"lib/**/*.constants.ts"
],
"include": [
"lib/*",
"lib/**/*"
],
"reporter": [
"html"
],
"all": true
},
"mocha": {
"require": [
"ts-node/register",
"source-map-support/register"
],
"recursive": true
}
}