forked from dfinity/internet-identity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 3.07 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
{
"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",
"watch:showcase": "astro check --root ./src/showcase --watch",
"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",
"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",
"build:showcase": "tsc --noEmit && astro check --root ./src/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 --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": "eslint --max-warnings 0 --cache --cache-location node_modules/.cache/eslint 'src/frontend/**/*.ts*' 'src/showcase/**/*.ts'",
"format": "prettier --write src/showcase src/frontend tsconfig.json .eslintrc.json vite.config.ts vite.plugins.ts vitest.config.ts demos",
"format-check": "prettier --check src/showcase src/frontend tsconfig.json .eslintrc.json vite.config.ts vite.plugins.ts vitest.config.ts demos"
},
"devDependencies": {
"@types/html-minifier-terser": "^7.0.0",
"@types/selenium-standalone": "^7.0.1",
"@types/ua-parser-js": "^0.7.36",
"@typescript-eslint/eslint-plugin": "6.3.0",
"@typescript-eslint/parser": "6.3.0",
"@wdio/globals": "^8.6.9",
"astro": "^2.4.1",
"eslint": "8.47.0",
"extract-zip": "^2.0.1",
"fake-indexeddb": "^4.0.2",
"html-minifier-terser": "^7.2.0",
"prettier": "2.8.0",
"prettier-plugin-organize-imports": "^3.2.2",
"ts-loader": "9.4.1",
"ts-node": "^10.8.1",
"typescript": "5.1.6",
"vite": "^4.2.1",
"vite-plugin-compression": "^0.5.1",
"vitest": "^0.31.0",
"webdriverio": "^8.6.9"
},
"dependencies": {
"@dfinity/agent": "^0.19.2",
"@dfinity/candid": "^0.19.2",
"@dfinity/identity": "^0.19.2",
"@dfinity/principal": "^0.19.2",
"@dfinity/utils": "^0.0.20",
"bip39": "^3.0.4",
"buffer": "^6.0.3",
"idb-keyval": "^6.2.1",
"lit-html": "^2.7.2",
"process": "^0.11.10",
"qr-creator": "^1.0.0",
"stream-browserify": "^3.0.0",
"ua-parser-js": "^1.0.35",
"zod": "^3.22.2"
},
"engines": {
"npm": ">=9.0.0 <10.0.0",
"node": ">=18.0.0 <19.0.0"
}
}