summaryrefslogtreecommitdiff
path: root/package.json
blob: 33964d0eae8f35d315a18507c5594103e55cab22 (plain)
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
{
  "name": "digiid-ts",
  "version": "2.0.1-beta.1",
  "description": "A modern TypeScript implementation of the DigiID authentication protocol.",
  "main": "dist/digiid-ts.umd.js",
  "module": "dist/digiid-ts.es.js",
  "types": "dist/index.d.ts",
  "type": "module",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.ts",
        "default": "./dist/digiid-ts.es.js"
      },
      "require": {
        "types": "./dist/index.d.ts",
        "default": "./dist/digiid-ts.umd.js"
      }
    }
  },
  "files": [
    "dist"
  ],
  "scripts": {
    "build": "vite build",
    "dev": "vite",
    "test": "vitest run",
    "test:watch": "vitest",
    "coverage": "vitest run --coverage",
    "lint": "eslint . --ext .ts",
    "lint:fix": "eslint . --ext .ts --fix",
    "format": "prettier --check .",
    "format:fix": "prettier --write .",
    "prepublishOnly": "npm run test && npm run build"
  },
  "keywords": [
    "digiid",
    "digibyte",
    "authentication",
    "crypto",
    "typescript"
  ],
  "author": "Pawel Zelawski",
  "license": "MIT",
  "homepage": "https://pzelawski.com/",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/pawelzelawski/digiid-ts.git"
  },
  "bugs": {
    "url": "https://github.com/pawelzelawski/digiid-ts/issues"
  },
  "engines": {
    "node": ">=16.0.0"
  },
  "publishConfig": {
    "access": "public"
  },
  "devDependencies": {
    "@types/node": "^25.0.10",
    "@typescript-eslint/eslint-plugin": "^8.53.1",
    "@typescript-eslint/parser": "^8.53.1",
    "@vitest/coverage-v8": "^3.2.4",
    "eslint": "^9.24.0",
    "eslint-config-prettier": "^10.1.8",
    "prettier": "^3.8.1",
    "ts-node": "^10.9.2",
    "typescript": "^5.9.3",
    "vite": "^6.4.1",
    "vite-plugin-dts": "^4.5.4",
    "vitest": "^3.2.4"
  },
  "dependencies": {
    "@noble/curves": "^2.0.1",
    "@noble/hashes": "^1.8.0"
  },
  "overrides": {
    "glob": "^10.5.0",
    "brace-expansion": "^2.0.2"
  }
}