-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
120 lines (120 loc) · 5.61 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "@dfinity/oisy-wallet",
"version": "0.9.3",
"private": true,
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/dfinity/oisy-wallet.git"
},
"bugs": {
"url": "https://github.com/dfinity/oisy-wallet"
},
"scripts": {
"build:compress": "./scripts/build.compress.sh",
"build:csp": "node scripts/build.csp.mjs",
"build:metadata": "node scripts/build.metadata.mjs",
"build:style": "node scripts/build.style.mjs",
"build:ic-domains": "node scripts/build.ic-domains.mjs",
"build:ii-alternative-origins": "node scripts/build.ii-alternative-origins.mjs",
"build:copy-workers": "node ./scripts/build.copy-workers.mjs",
"build:post-process": "npm run build:style && npm run build:metadata && npm run build:ic-domains && npm run build:ii-alternative-origins && npm run build:csp && npm run build:copy-workers && npm run build:compress",
"build:tokens-sns": "node scripts/build.tokens.sns.mjs && npm run format",
"build:tokens-ckerc20": "node scripts/build.tokens.ckerc20.mjs && npm run format",
"dev": "vite dev",
"build": "tsc --noEmit && vite build && npm run build:post-process",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"test": "tsc --project tsconfig.spec.json --noEmit && vitest",
"test:coverage": "tsc --project tsconfig.spec.json --noEmit && vitest run --coverage",
"cargo:test": "./scripts/test.backend.sh",
"clippy": "./scripts/lint.rust.sh",
"lint": "prettier --check './**/*.{ts,js,mjs,json,scss,css,svelte,html,md}' && eslint .",
"format-imports": "eslint --fix --rule 'import/no-duplicates: [error, { prefer-inline: true }]' ./src/**/*.svelte",
"format": "prettier --write './**/*.{ts,js,mjs,json,scss,css,svelte,html,md}' && npm run format-imports",
"format:backend": "./scripts/format.sh",
"generate": "scripts/generate.sh",
"deploy": "scripts/deploy.sh",
"tags": "node_modules/.bin/semver $(git tag)",
"i18n": "node scripts/i18n.mjs && prettier --write ./src/frontend/src/lib/types/i18n.d.ts",
"playwright:install": "playwright install --with-deps",
"e2e": "npm run playwright:install && playwright test",
"e2e:dev": "npm run playwright:install && NODE_ENV=development playwright test",
"e2e:ci": "npm run playwright:install && playwright test --reporter=html",
"e2e:snapshots": "npm run playwright:install && npx playwright test --update-snapshots --reporter=list",
"e2e:snapshots:dev": "npm run playwright:install && NODE_ENV=development npx playwright test --update-snapshots --reporter=list",
"e2e:report": "npx playwright show-report",
"erc20:check": "vite-node scripts/check.tokens.erc20.ts",
"update:agent:ic-js": "npm rm @dfinity/agent @dfinity/auth-client @dfinity/candid @dfinity/ckbtc @dfinity/cketh @dfinity/ic-management @dfinity/ledger-icp @dfinity/ledger-icrc @dfinity/principal @dfinity/utils @dfinity/identity-secp256k1 && npm i @dfinity/principal @dfinity/agent @dfinity/auth-client @dfinity/candid @dfinity/ckbtc @dfinity/cketh @dfinity/ic-management @dfinity/ledger-icp @dfinity/ledger-icrc @dfinity/utils && npm i @dfinity/identity-secp256k1 -D",
"update:agent:ic-js:next": "npm rm @dfinity/agent @dfinity/auth-client @dfinity/candid @dfinity/ckbtc @dfinity/cketh @dfinity/ic-management @dfinity/ledger-icp @dfinity/ledger-icrc @dfinity/principal @dfinity/utils @dfinity/identity-secp256k1 && npm i @dfinity/principal @dfinity/agent @dfinity/auth-client @dfinity/candid @dfinity/ckbtc@next @dfinity/cketh@next @dfinity/ic-management@next @dfinity/ledger-icp@next @dfinity/ledger-icrc@next @dfinity/utils@next && npm i @dfinity/identity-secp256k1 -D"
},
"dependencies": {
"@dfinity/agent": "^2.1.2",
"@dfinity/auth-client": "^2.1.2",
"@dfinity/candid": "^2.1.2",
"@dfinity/ckbtc": "^3.1.0",
"@dfinity/cketh": "^3.3.1",
"@dfinity/gix-components": "^4.8.0-next-2024-11-04",
"@dfinity/ic-management": "^5.2.1",
"@dfinity/ledger-icp": "^2.6.0",
"@dfinity/ledger-icrc": "^2.6.0",
"@dfinity/oisy-wallet-signer": "^0.0.1",
"@dfinity/principal": "^2.1.2",
"@dfinity/utils": "^2.5.1",
"@dfinity/verifiable-credentials": "^0.0.4",
"@junobuild/analytics": "^0.0.28",
"@metamask/detect-provider": "^2.0.0",
"@walletconnect/web3wallet": "^1.14.0",
"alchemy-sdk": "^3.4.1",
"buffer": "^6.0.3",
"ethers": "^5.7.0",
"idb-keyval": "^6.2.1",
"zod": "^3.23.8"
},
"devDependencies": {
"@dfinity/eslint-config-oisy-wallet": "^0.0.6",
"@dfinity/identity-secp256k1": "^2.1.2",
"@dfinity/internet-identity-playwright": "^0.0.4",
"@playwright/test": "^1.48.2",
"@rollup/plugin-inject": "^5.0.5",
"@sveltejs/adapter-static": "^3.0.6",
"@sveltejs/kit": "^2.8.0",
"@sveltejs/vite-plugin-svelte": "^3.1.2",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/svelte": "^5.2.4",
"@types/dom-view-transitions": "^1.0.5",
"@types/node": "^20.14.9",
"@vitest/coverage-v8": "^2.1.4",
"autoprefixer": "^10.4.20",
"dotenv": "^16.4.5",
"fake-indexeddb": "^6.0.0",
"jimp": "^1.6.0",
"jsdom": "^25.0.1",
"jsqr": "^1.4.0",
"pem-file": "^1.0.1",
"postcss": "^8.4.48",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^4.1.0",
"prettier-plugin-svelte": "^3.2.8",
"prettier-plugin-tailwindcss": "^0.6.8",
"sass": "^1.81.0",
"svelte": "^4.2.19",
"svelte-check": "^4.0.9",
"tailwindcss": "^3.4.15",
"tslib": "^2.8.1",
"typescript": "^5.4.5",
"vite": "^5.4.10",
"vite-node": "^2.1.4",
"vitest": "^2.1.4",
"vitest-mock-extended": "^2.0.2"
},
"type": "module",
"overrides": {
"ws": "^7.5.10",
"elliptic": "^6.5.7"
},
"engines": {
"node": "^22"
}
}