Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 5 KB
/
Copy pathpackage.json
File metadata and controls
125 lines (125 loc) · 5 KB
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
121
122
123
124
125
{
"name": "@metamask/profile-sync-controller",
"version": "34.0.0",
"description": "The profile sync helps developers synchronize data across multiple clients and devices in a privacy-preserving way. All data saved in the user storage database is encrypted client-side to preserve privacy. The user storage provides a modular design, giving developers the flexibility to construct and manage their storage spaces in a way that best suits their needs",
"keywords": [
"Ethereum",
"MetaMask"
],
"homepage": "https://github.com/MetaMask/core/tree/main/packages/profile-sync-controller#readme",
"bugs": {
"url": "https://github.com/MetaMask/core/issues"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/core.git"
},
"files": [
"dist/",
"auth/",
"user-storage/",
"sdk/"
],
"type": "module",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./sdk": {
"types": "./dist/sdk/index.d.ts",
"default": "./dist/sdk/index.js"
},
"./auth": {
"types": "./dist/controllers/authentication/index.d.ts",
"default": "./dist/controllers/authentication/index.js"
},
"./auth/mocks": {
"types": "./dist/controllers/authentication/mocks/index.d.ts",
"default": "./dist/controllers/authentication/mocks/index.js"
},
"./user-storage": {
"types": "./dist/controllers/user-storage/index.d.ts",
"default": "./dist/controllers/user-storage/index.js"
},
"./user-storage/mocks": {
"types": "./dist/controllers/user-storage/mocks/index.d.ts",
"default": "./dist/controllers/user-storage/mocks/index.js"
},
"./package.json": "./package.json"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"build": "tsc --project tsconfig.build.json",
"build:all": "tsc --build tsconfig.build.json --verbose",
"build:clean": "yarn build:only-clean && yarn build",
"build:docs": "typedoc",
"build:only-clean": "rimraf './dist' './tsconfig.build.tsbuildinfo'",
"changelog:update": "../../scripts/update-changelog.sh @metamask/profile-sync-controller",
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/profile-sync-controller",
"lint:tsconfigs": "node --import ../../scripts/resolver/register.ts --experimental-transform-types ../../scripts/lint-tsconfigs/lint-tsconfigs.ts",
"lint:tsconfigs:fix": "node --import ../../scripts/resolver/register.ts --experimental-transform-types ../../scripts/lint-tsconfigs/lint-tsconfigs.ts --fix",
"messenger-action-types:check": "node --import ../../scripts/resolver/register.ts --experimental-transform-types ../../packages/messenger-cli/src/cli.ts --formatter oxfmt --esm --check",
"messenger-action-types:generate": "node --import ../../scripts/resolver/register.ts --experimental-transform-types ../../packages/messenger-cli/src/cli.ts --formatter oxfmt --esm --generate",
"since-latest-release": "../../scripts/since-latest-release.sh",
"test": "NODE_OPTIONS=--experimental-vm-modules jest --reporters=jest-silent-reporter",
"test:clean": "NODE_OPTIONS=--experimental-vm-modules jest --clearCache",
"test:verbose": "NODE_OPTIONS=--experimental-vm-modules jest --verbose",
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
},
"dependencies": {
"@metamask/address-book-controller": "^8.0.0",
"@metamask/base-controller": "^10.0.0",
"@metamask/controller-utils": "^13.0.0",
"@metamask/cryptography": "^1.1.0",
"@metamask/key-tree": "^10.1.1",
"@metamask/keyring-controller": "^28.1.0",
"@metamask/messenger": "^3.0.0",
"@metamask/seedless-onboarding-controller": "^11.0.1",
"@metamask/superstruct": "^3.4.1",
"@metamask/utils": "^12.0.0",
"@noble/curves": "^1.9.2",
"@noble/hashes": "^1.8.0",
"@signinwithethereum/siwe": "^4.2.1",
"immer": "^11.1.18",
"loglevel": "^1.8.1"
},
"devDependencies": {
"@lavamoat/allow-scripts": "^5.1.0",
"@lavamoat/preinstall-always-fail": "^3.0.0",
"@metamask/auto-changelog": "^6.2.1",
"@metamask/eth-hd-keyring": "^15.0.0",
"@metamask/keyring-api": "^24.0.0",
"@metamask/keyring-internal-api": "^12.0.0",
"@metamask/providers": "^22.1.0",
"@metamask/rpc-errors": "^7.0.2",
"@types/jest": "^30.0.0",
"@typescript/native": "npm:typescript@^7.0.2",
"deepmerge": "^4.3.1",
"ethers": "^6.17.0",
"jest": "^30.5.2",
"jest-environment-jsdom": "^30.5.2",
"nock": "^13.5.6",
"rimraf": "^6.1.3",
"ts-jest": "^29.4.14",
"typedoc": "^0.25.13",
"typedoc-plugin-missing-exports": "^2.0.0",
"typescript": "npm:@typescript/typescript6@^6.0.2",
"webextension-polyfill": "^0.12.0"
},
"peerDependencies": {
"@metamask/providers": "^22.0.0",
"webextension-polyfill": "^0.10.0 || ^0.11.0 || ^0.12.0"
},
"engines": {
"node": "^22.14.0 || ^24"
},
"lavamoat": {
"allowScripts": {}
}
}