-
Notifications
You must be signed in to change notification settings - Fork 141
/
package.json
91 lines (91 loc) · 4.01 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "@dfinity/internet-identity",
"version": "0.1.0",
"type": "module",
"description": "",
"keywords": [],
"private": true,
"license": "SEE LICENSE IN LICENSE.md",
"scripts": {
"dev": "II_FETCH_ROOT_KEY=1 II_DUMMY_CAPTCHA=1 vite",
"host": "II_FETCH_ROOT_KEY=1 II_DUMMY_CAPTCHA=1 vite --host",
"showcase": "astro dev --root ./src/showcase",
"build": "tsc --noEmit && vite build",
"check": "tsc --project ./tsconfig.all.json --noEmit",
"check:showcase": "astro check --root ./src/showcase --tsconfig ./tsconfig.all.json",
"watch": "npm run check -- --watch",
"opts": "NODE_OPTIONS='--loader ts-node/esm --experimental-specifier-resolution=node' \"$@\"",
"generate": "npm run generate:types && npm run generate:js && npm run generate:types-issuer && npm run generate:js-issuer",
"generate:types": "didc bind ./src/internet_identity/internet_identity.did -t ts > src/frontend/generated/internet_identity_types.d.ts",
"generate:js": "didc bind ./src/internet_identity/internet_identity.did -t js > src/frontend/generated/internet_identity_idl.js",
"generate:types-issuer": "didc bind ./demos/vc_issuer/vc_demo_issuer.did -t ts > src/vc-api/src/generated/vc_issuer_types.ts",
"generate:js-issuer": "didc bind ./demos/vc_issuer/vc_demo_issuer.did -t js > src/frontend/generated/vc_issuer_idl.js",
"build:showcase": "npm run check:showcase && astro build --root ./src/showcase",
"preview:showcase": "astro preview --root ./src/showcase",
"screenshots": "npm run opts -- ./src/frontend/screenshots.ts",
"test": "vitest --config ./vitest.config.ts",
"test:e2e": "VITEST_MAX_THREADS=1 vitest --mode e2e --config ./vitest.config.ts",
"test:e2e-desktop": "SCREEN=desktop npm run test:e2e",
"test:e2e-mobile": "SCREEN=mobile npm run test:e2e",
"lint": "npm run lint:eslint && npm run lint:lit",
"lint:eslint": "eslint --max-warnings 0 --cache --cache-location node_modules/.cache/eslint 'src/frontend/**/*.ts*' 'src/showcase/**/*.ts'",
"lint:lit": "lit-analyzer -- --rules.no-incompatible-type-binding off --rules.no-invalid-directive-binding off --rules.no-noncallable-event-binding off ./src/showcase ./src/frontend",
"format": "prettier --write src/showcase src/frontend src/vc-api src/sig-verifier-js src/vite-plugins tsconfig.json tsconfig.all.json .eslintrc.json vite.config.ts vitest.config.ts demos",
"format-check": "prettier --check src/showcase src/frontend src/vc-api src/sig-verifier-js src/vite-plugins tsconfig.json tsconfig.all.json .eslintrc.json vite.config.ts vitest.config.ts demos"
},
"devDependencies": {
"@astrojs/check": "^0.5.3",
"@dfinity/internet-identity-vite-plugins": "*",
"@types/dompurify": "^3.0.5",
"@types/node": "*",
"@types/ua-parser-js": "^0.7.36",
"@typescript-eslint/eslint-plugin": "6.7.5",
"@typescript-eslint/parser": "6.7.5",
"@vitejs/plugin-basic-ssl": "^1.1.0",
"@wdio/globals": "^8.39.0",
"astro": "4.16.18",
"eslint": "8.51.0",
"fake-indexeddb": "^4.0.2",
"lit-analyzer": "^2.0.2",
"prettier": "2.8.0",
"prettier-plugin-organize-imports": "^3.2.2",
"ts-node": "^10.8.1",
"typescript": "5.2.2",
"vite": "^5.4.6",
"vitest": "^1.6.0",
"webdriverio": "^8.39.0"
},
"dependencies": {
"@dfinity/agent": "^2.1.2",
"@dfinity/auth-client": "^2.1.2",
"@dfinity/candid": "^2.1.2",
"@dfinity/identity": "^2.1.2",
"@dfinity/internet-identity-vc-api": "*",
"@dfinity/principal": "^2.1.2",
"@dfinity/utils": "^2.5.1",
"bip39": "^3.0.4",
"buffer": "^6.0.3",
"dompurify": "^3.1.3",
"idb-keyval": "^6.2.1",
"lit-html": "^3.2.1",
"marked": "^11.0.0",
"qr-creator": "^1.0.0",
"stream-browserify": "^3.0.0",
"ua-parser-js": "^1.0.35",
"zod": "^3.22.3"
},
"overrides": {
"ws": "8.17.1"
},
"engines": {
"npm": ">=10.0.0 <11.0.0",
"node": ">=20.0.0 <21.0.0"
},
"workspaces": [
"src/vc-api",
"demos/test-app",
"demos/vc_issuer",
"src/vite-plugins",
"src/sig-verifier-js"
]
}