forked from adrianbrs/nest-oidc-provider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
126 lines (126 loc) · 3.47 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "nest-oidc-provider",
"version": "1.1.1",
"description": "oidc-provider module for Nest framework (node.js)",
"author": "Adrian Cerbaro <[email protected]>",
"license": "MIT",
"private": false,
"homepage": "https://github.com/adrianbrs/nest-oidc-provider#readme",
"repository": {
"type": "git",
"url": "https://github.com/adrianbrs/nest-oidc-provider"
},
"bugs": {
"url": "https://github.com/adrianbrs/nest-oidc-provider/issues"
},
"keywords": [
"nestjs",
"oidc-provider",
"openid",
"oidc",
"oauth"
],
"scripts": {
"build": "rimraf -rf dist && tsc -p tsconfig.build.json",
"dev": "rimraf -rf dist && tsc -p tsconfig.build.json -w",
"format": "prettier --write \"{lib,tests}/**/*.ts\"",
"lint": "eslint 'lib/**/*.ts' --fix",
"precommit": "lint-staged",
"prepublish:npm": "yarn build",
"publish:npm": "yarn publish --access public",
"prepublish:next": "yarn build",
"publish:next": "yarn publish --access public --tag next",
"prerelease": "yarn build",
"release": "release-it",
"test": "yarn test:e2e && yarn test:cov",
"test:cov": "jest --coverage",
"test:dev": "jest --watch",
"test:e2e": "jest -c ./test/jest-e2e.json --runInBand",
"test:e2e:dev": "jest -c ./test/jest-e2e.json --runInBand --watch",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0"
},
"devDependencies": {
"@commitlint/cli": "^16.1.0",
"@commitlint/config-angular": "^16.0.0",
"@golevelup/ts-jest": "^0.3.2",
"@nestjs/common": "^8.2.6",
"@nestjs/core": "^8.2.6",
"@nestjs/platform-express": "^8.2.6",
"@nestjs/testing": "^8.2.6",
"@types/jest": "^27.4.0",
"@types/lodash.merge": "^4.6.6",
"@types/node": "^17.0.14",
"@types/oidc-provider": "^7.8.1",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"body-parser": "^1.19.1",
"conventional-changelog-cli": "^2.2.2",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"express": "^4.17.2",
"husky": "^7.0.4",
"jest": "^27.4.7",
"jest-mock": "^27.4.6",
"lint-staged": "^12.3.2",
"lodash.merge": "^4.6.2",
"oidc-provider": "^7.13.0",
"prettier": "^2.5.1",
"reflect-metadata": "^0.1.13",
"release-it": "^14.12.4",
"rimraf": "^3.0.2",
"supertest": "^6.2.2",
"ts-jest": "^27.1.3",
"typescript": "^4.5.5"
},
"peerDependencies": {
"@nestjs/common": ">=8.0.0",
"@nestjs/core": ">=8.0.0",
"oidc-provider": ">=7.0.0",
"reflect-metadata": "^0.1.13"
},
"engines": {
"node": ">= 12.9.0"
},
"lint-staged": {
"*.ts": [
"prettier --write"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -c .commitlintrc.json -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"testEnvironment": "node",
"verbose": true,
"testMatch": [
"<rootDir>/lib/**/*.spec.ts"
],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"coverageDirectory": "./coverage",
"collectCoverageFrom": [
"lib/**/*.ts",
"!lib/common/oidc.decorators.ts",
"!lib/**/index.ts",
"!lib/**/*.constants.ts",
"!lib/**/*.module.ts",
"!lib/**/*.interface.ts",
"!**/node_modules/**"
],
"globals": {
"ts-jest": {
"tsconfig": "<rootDir>/tsconfig.json"
}
}
}
}