-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
69 lines (69 loc) · 1.87 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
{
"name": "jwebt",
"version": "0.0.4",
"description": "Web Crypto API wrapper for working with JSON Web Tokens (JWT) in browsers and workers",
"main": "lib-cjs/index.js",
"module": "lib-esm/index.js",
"types": "lib-esm/index.d.ts",
"unpkg": "lib-umd/jwebt.min.js",
"jsdelivr": "lib-umd/jwebt.min.js",
"sideEffects": false,
"files": [
"lib-cjs",
"lib-esm",
"lib-umd"
],
"scripts": {
"build": "npm run build:cjs && npm run build:esm && npm run build:umd",
"prebuild:cjs": "rimraf lib-cjs",
"build:cjs": "tsc --declaration",
"prebuild:esm": "rimraf lib-esm",
"build:esm": "tsc --module es6 --outDir lib-esm --declaration",
"prebuild:umd": "rimraf lib-umd",
"build:umd": "webpack",
"format": "xo --fix",
"prepare": "npm run build",
"prepublishOnly": "npm run test",
"test": "npm run test:lint && npm run test:tsc && npm run test:unit",
"test:lint": "xo",
"test:tsc": "tsc --noEmit",
"test:unit": "jest",
"preversion": "npm run test",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ajwild/jwebt.git"
},
"keywords": [
"jwt",
"jsonwebtoken",
"webcrypto",
"crypto",
"subtle",
"web",
"browser",
"worker"
],
"author": "Alex Wild",
"license": "MIT",
"bugs": {
"url": "https://github.com/ajwild/jwebt/issues"
},
"homepage": "https://github.com/ajwild/jwebt#readme",
"devDependencies": {
"@types/jest": "^25.2.3",
"eslint-plugin-functional": "^3.0.1",
"eslint-plugin-jest": "^23.13.2",
"jest": "^26.0.1",
"rimraf": "^3.0.2",
"terser-webpack-plugin": "^3.0.2",
"ts-jest": "^26.1.0",
"ts-loader": "^7.0.5",
"typescript": "^3.9.3",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11",
"xo": "^0.30.0"
}
}