-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
106 lines (106 loc) · 3.16 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
{
"name": "@dfinity/oisy-wallet-signer",
"version": "0.1.4",
"description": "A library designed to facilitate communication between a dApp and the OISY Wallet on the Internet Computer. ",
"license": "Apache-2.0",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/dfinity/oisy-wallet-signer.git"
},
"bugs": {
"url": "https://github.com/dfinity/oisy-wallet-signer"
},
"files": [
"README.md",
"LICENSE",
"**/*.js",
"**/*.js.map",
"**/*.d.ts",
"**/*.d.ts.map"
],
"keywords": [
"internet computer",
"internet-computer",
"ic",
"icp",
"dfinity",
"internet-identity",
"wallet"
],
"sideEffects": false,
"main": "index.js",
"module": "index.js",
"types": "index.d.ts",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./index.js",
"require": "./index.mjs"
},
"./relying-party": {
"types": "./relying-party.d.ts",
"import": "./relying-party.js",
"require": "./relying-party.mjs"
},
"./icp-wallet": {
"types": "./icp-wallet.d.ts",
"import": "./icp-wallet.js",
"require": "./icp-wallet.mjs"
},
"./icrc-wallet": {
"types": "./icrc-wallet.d.ts",
"import": "./icrc-wallet.js",
"require": "./icrc-wallet.mjs"
},
"./signer": {
"types": "./signer.d.ts",
"import": "./signer.js",
"require": "./signer.mjs"
}
},
"scripts": {
"format": "prettier . --write",
"format:check": "prettier --check .",
"ts-declaration": "tsc --emitDeclarationOnly --outDir dist && ./scripts/copy-idl-ts",
"build": "tsc --noEmit && node rmdir.mjs && node esbuild.mjs && npm run ts-declaration",
"lint": "eslint --max-warnings 0 \"src/**/*\"",
"test": "tsc --noEmit -p ./tsconfig.spec.json && vitest",
"e2e": "NODE_ENV=development playwright test",
"e2e:snapshots": "NODE_ENV=development playwright test --update-snapshots --reporter=list",
"e2e:ci": "playwright test --reporter=html",
"e2e:ci:snapshots": "playwright test --update-snapshots --reporter=html",
"did": "./scripts/download-did && ./scripts/compile-idl-js",
"prepublishOnly": "if [ $(basename $PWD) != 'dist' ]; then echo 'Publishing is only allowed from the dist directory.' && exit 1; fi",
"i18n": "node scripts/i18n.mjs && prettier --write ./src/types/i18n.ts"
},
"devDependencies": {
"@dfinity/eslint-config-oisy-wallet": "^0.0.6",
"@dfinity/identity": "^2.1.3",
"@dfinity/internet-identity-playwright": "^0.0.4",
"@playwright/test": "^1.49.1",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.2",
"esbuild": "^0.24.2",
"jsdom": "^26.0.0",
"prettier": "^3.4.2",
"prettier-plugin-organize-imports": "^4.1.0",
"typescript": "^5.6.3",
"vitest": "^3.0.2"
},
"engines": {
"node": ">=22"
},
"peerDependencies": {
"@dfinity/agent": "^2.1.3",
"@dfinity/candid": "^2.1.3",
"@dfinity/ledger-icp": "^2.6.7",
"@dfinity/ledger-icrc": "^2.7.2",
"@dfinity/principal": "^2.1.3",
"@dfinity/utils": "^2.9.0",
"@dfinity/zod-schemas": "^0.0.2",
"borc": "^2.1.1",
"simple-cbor": "^0.4.1",
"zod": "^3.23.8"
}
}