-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 1.95 KB
/
Copy pathpackage.json
File metadata and controls
68 lines (68 loc) · 1.95 KB
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
{
"name": "@lecturedoc2/libcrypto",
"version": "1.1.0",
"description": "Simple library which provides basic crypto functionality across web and node projects.",
"keywords": [
"Crypto",
"AES",
"GCM",
"PBKDF2"
],
"homepage": "https://github.com/LectureDoc2/ld-libcrypto",
"bugs": {
"url": "https://github.com/LectureDoc2/ld-libcrypto/issues"
},
"license": "BSD-3-Clause",
"author": "Michael Eichberg (http://www.michael-eichberg.de/)",
"type": "module",
"exports": {
".": {
"types": "./dist/libcrypto.d.ts",
"default": "./dist/libcrypto.min.js"
},
"./src/libcrypto.js": {
"types": "./dist/libcrypto.d.ts",
"default": "./src/libcrypto.js"
},
"./package.json": "./package.json"
},
"types": "./dist/libcrypto.d.ts",
"sideEffects": false,
"files": [
"dist",
"src",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=24"
},
"repository": {
"type": "git",
"url": "git+https://github.com/LectureDoc2/ld-libcrypto.git"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"format": "prettier --write .",
"format:check": "prettier --check .",
"clean": "rm -rf dist docs",
"bundle": "esbuild src/libcrypto.js --bundle --format=esm --minify --sourcemap --outfile=dist/libcrypto.min.js",
"types": "tsc --project tsconfig.json",
"docs": "jsdoc --configure jsdoc.config.json",
"build": "pnpm run clean && pnpm run format && pnpm run bundle && pnpm run types",
"build:ci": "pnpm run clean && pnpm run format:check && pnpm run bundle && pnpm run types",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"test:dist": "node test/smoke-dist.js",
"prepublishOnly": "pnpm run test && pnpm run build:ci && pnpm run test:dist"
},
"devDependencies": {
"clean-jsdoc-theme": "^5.1.1",
"esbuild": "^0.28.2",
"jest": "^30.4.2",
"jsdoc": "^4.0.5",
"prettier": "3.9.6",
"typescript": "^7.0.2"
}
}