-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
127 lines (127 loc) · 3.17 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
127
{
"name": "jsontokens",
"version": "4.0.1",
"description": "node.js library for encoding, decoding, and verifying JSON Web Tokens (JWTs)",
"main": "lib/index.js",
"unpkg": "dist/jsontokens.js",
"jsdelivr": "dist/jsontokens.js",
"browser": {
"crypto": false
},
"prettier": "@stacks/prettier-config",
"scripts": {
"webpack": "rimraf lib dist && webpack --mode=production",
"build": "rimraf lib && tsc -b tsconfig.build.json",
"prettier": "prettier --write ./src/**/*.ts",
"lint": "eslint --ext .ts ./src",
"test": "jest ./src/test/",
"codecovUpload": "codecov",
"prepublishOnly": "npm run lint && npm run test && npm run webpack && npm run build",
"prepare": "husky install .github/husky"
},
"repository": {
"type": "git",
"url": "git+https://github.com/stacks-network/jsontokens-js.git"
},
"keywords": [
"jwt",
"json",
"web",
"token",
"encode",
"decode",
"verify",
"ecdsa",
"secp256k1",
"ec",
"elliptic",
"curve",
"signature",
"sign"
],
"author": "Blockstack PBC",
"license": "MIT",
"bugs": {
"url": "https://github.com/stacks-network/jsontokens-js/issues"
},
"homepage": "https://github.com/stacks-network/jsontokens-js#readme",
"dependencies": {
"@noble/hashes": "^1.1.2",
"@noble/secp256k1": "^1.6.3",
"base64-js": "^1.5.1"
},
"devDependencies": {
"@babel/core": "^7.17.10",
"@babel/preset-env": "^7.17.10",
"@commitlint/cli": "^16.2.4",
"@commitlint/config-conventional": "^16.2.4",
"@peculiar/webcrypto": "^1.0.21",
"@stacks/eslint-config": "^1.2.0",
"@stacks/prettier-config": "^0.0.10",
"@types/jest": "^27.5.0",
"@types/node": "^12.12.7",
"@typescript-eslint/eslint-plugin": "^5.22.0",
"@typescript-eslint/parser": "^5.22.0",
"babel-loader": "^8.2.5",
"codecov": "^3.8.3",
"cross-env": "^6.0.3",
"eslint": "^8.15.0",
"eslint-import-resolver-typescript": "^2.7.1",
"eslint-plugin-jest": "^26.1.5",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^8.0.1",
"jest": "^28.1.0",
"prettier": "^2.6.2",
"rimraf": "^3.0.0",
"source-map-support": "^0.5.16",
"ts-jest": "^28.0.2",
"ts-loader": "^9.3.0",
"ts-node": "^10.7.0",
"typescript": "^4.6.4",
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2"
},
"files": [
"dist",
"lib"
],
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"release": {
"branches": "master",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/exec",
{
"prepareCmd": "npm ci"
}
],
[
"@semantic-release/npm",
{
"npmPublish": true
}
],
[
"@semantic-release/changelog",
{
"changelogTitle": "# Changelog\nAll notable changes to the project will be documented in this file."
}
],
[
"@semantic-release/git",
{
"message": "chore: release ${nextRelease.version}",
"assets": [
"*.{json,md}"
]
}
]
]
}
}