-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.6 KB
/
package.json
File metadata and controls
85 lines (85 loc) · 2.6 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "@structured-id/opaque",
"version": "1.0.4",
"type": "module",
"description": "OPAQUE (RFC 9807) client library with cryptographic password policy validation.",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"files": [
"dist",
"wasm",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsup && cp wasm/*.wasm wasm/*.js wasm/*.d.ts dist/ 2>/dev/null || true",
"build:wasm": "cd ../sid && wasm-pack build crates/sid-wasm --target web --no-default-features && cp crates/sid-wasm/pkg/sid_wasm_bg.wasm crates/sid-wasm/pkg/sid_wasm.js crates/sid-wasm/pkg/sid_wasm.d.ts ../opaque/wasm/",
"dev": "tsup --watch",
"test": "vitest run",
"test:watch": "vitest",
"test:cov": "vitest run --coverage",
"bench": "vitest bench",
"lint": "eslint src/ tests/",
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"",
"typecheck": "tsc --noEmit",
"server": "tsx tests/server/index.ts",
"docker:up": "docker compose -f docker-compose.local.yml up -d server",
"docker:test": "docker compose -f docker-compose.local.yml run --rm -e OPAQUE_SERVER_URL=http://server:8080 test",
"docker:down": "docker compose -f docker-compose.local.yml down",
"prepublishOnly": "yarn build"
},
"keywords": [
"opaque",
"rfc9807",
"pake",
"password",
"password-policy",
"authentication",
"cryptography"
],
"author": "StructuredID <oss@structured.id>",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/structured-id/opaque.git"
},
"bugs": {
"url": "https://github.com/structured-id/opaque/issues"
},
"homepage": "https://github.com/structured-id/opaque#readme",
"engines": {
"node": ">=20"
},
"devDependencies": {
"@commitlint/config-conventional": "^20.5.0",
"@eslint/js": "^10.0.1",
"@types/node": "^25.5.2",
"@typescript-eslint/eslint-plugin": "^8.58.0",
"@typescript-eslint/parser": "^8.58.0",
"@vitest/coverage-v8": "^4.1.2",
"conventional-changelog-conventionalcommits": "^9.3.1",
"eslint": "^10.1.0",
"prettier": "^3.8.1",
"tsup": "^8.5.1",
"tsx": "^4.21.0",
"typescript": "^6.0.2",
"vitest": "^4.1.2"
},
"packageManager": "yarn@4.12.0",
"publishConfig": {
"access": "public"
},
"dependencies": {
"@noble/curves": "^2.0.1",
"@noble/hashes": "^2.0.1"
}
}