-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
111 lines (111 loc) · 2.54 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
{
"name": "embassy",
"version": "2.0.4",
"description": "Simple JSON Web Tokens (JWT) with embedded scopes for services",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": ">=12"
},
"scripts": {
"prepublish": "npm run build",
"build": "tsc",
"docs": "typedoc --excludePrivate src/index.ts",
"format": "eslint '*/**/*.{js,ts}' --fix; prettier -l --write **/*.{md,json}",
"lint": "eslint '*/**/*.{js,ts}'; prettier -l **/*.{md,json}",
"clean": "rm -rf node_modules coverage dist",
"test": "npm run lint && jest --coverage",
"test:watch": "jest --watch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/TomFrost/embassy.git"
},
"keywords": [
"JWT",
"jwts",
"bearer",
"token",
"tokens",
"authentication",
"authorization",
"oauth",
"oauth2",
"openid",
"connect",
"scope",
"scopes"
],
"author": "Tom Shawver <[email protected]>",
"license": "ISC",
"bugs": {
"url": "https://github.com/TomFrost/embassy/issues"
},
"homepage": "https://github.com/TomFrost/embassy#readme",
"dependencies": {
"base64-js": "^1.5.1",
"jsonwebtoken": "^8.5.1"
},
"devDependencies": {
"@types/jest": "^26.0.20",
"@types/jsonwebtoken": "^8.5.0",
"@types/node": "^14.14.20",
"@typescript-eslint/eslint-plugin": "^4.12.0",
"@typescript-eslint/parser": "^4.13.0",
"delay": "^3.1.0",
"eslint": "^7.17.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-tsdoc": "^0.2.10",
"husky": "^4.3.7",
"jest": "^26.6.3",
"lint-staged": "^10.5.3",
"prettier": "^2.2.1",
"ts-jest": "^26.4.4",
"typedoc": "^0.21.5",
"typedoc-plugin-markdown": "^3.4.0",
"typescript": "^4.1.3"
},
"eslintIgnore": [
"node_modules",
"coverage",
".vscode",
"dist"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix"
],
"*.{md,json}": [
"prettier -l --write"
]
},
"jest": {
"preset": "ts-jest",
"testMatch": [
"**/__tests__/**/*.spec.{js,ts}?(x)"
],
"testEnvironment": "node",
"verbose": true,
"testPathIgnorePatterns": [],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"collectCoverageFrom": [
"src/**/*.ts"
],
"coveragePathIgnorePatterns": [
"/node_modules/"
]
}
}