-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
77 lines (77 loc) · 1.91 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
{
"name": "matcrypt",
"version": "1.3.0",
"description": "WebCrypto wrapper that makes AES, RSA and hashing easy.",
"type": "module",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/esm/index.d.ts",
"exports": {
".": {
"require": "./lib/cjs/index.js",
"import": "./lib/esm/index.js",
"types": "./lib/esm/index.d.ts"
}
},
"keywords": [
"front-end",
"webcrypto",
"typescript",
"library",
"cryptography",
"aes",
"rsa",
"hashing",
"frontend",
"crypto"
],
"scripts": {
"prepare": "npm run build",
"build": "npm run build:cjs && npm run build:esm",
"build:esm": "tsc --module esnext --outDir lib/esm && echo '{\"type\": \"module\"}' > lib/esm/package.json",
"build:cjs": "tsc --module commonjs --outDir lib/cjs && echo '{\"type\": \"commonjs\"}' > lib/cjs/package.json",
"test": "vitest",
"lint": "eslint src"
},
"author": "Mat Sz <contact@matsz.dev>",
"repository": {
"type": "git",
"url": "https://github.com/mat-sz/matcrypt.git"
},
"bugs": {
"url": "https://github.com/mat-sz/matcrypt/issues"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write"
],
"__tests__/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write"
]
},
"homepage": "https://github.com/mat-sz/matcrypt",
"license": "BSD-3-Clause-Clear",
"dependencies": {
"base64-js": "^1.5.1"
},
"devDependencies": {
"@types/node": "^20.11.5",
"@typescript-eslint/eslint-plugin": "^5.36.2",
"@typescript-eslint/parser": "^5.36.2",
"eslint": "^8.23.0",
"eslint-plugin-node": "^11.1.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"typescript": "^5.3.3",
"vitest": "^1.2.1"
},
"engines": {
"node": ">=11.0.0"
}
}