-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
69 lines (69 loc) · 2.2 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
{
"name": "@dialectlabs/web3",
"description": "A smart messaging protocol for dapp notifications and wallet-to-wallet messaging on the Solana Blockchain.",
"version": "0.3.2",
"repository": {
"type": "git",
"url": "https://github.com/dialectlabs/protocol"
},
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/types/index.d.ts",
"exports": {
"import": "./lib/esm/index.js",
"require": "./lib/cjs/index.js"
},
"scripts": {
"publish": "npm run build && npm publish && rm -rf lib",
"build": "npm run clean && npm run build:cjs || npm run build:esm",
"build:cjs": "tsc --project tsconfig.cjs.json",
"build:cjs:watch": "tsc --watch --project tsconfig.cjs.json",
"build:esm": "tsc --project tsconfig.esm.json",
"build:esm:watch": "tsc --project tsconfig.esm.json --watch",
"clean": "rm -rf lib",
"lint": "eslint --ext .js --ext .ts {examples,src,tests}/**/*.ts && prettier --check {examples,src,tests}/**/*.ts",
"lint:fix": "eslint --ext .js --ext .ts {examples,src,tests}/**/*.ts --fix && prettier --write {examples,src,tests}/**/*.ts",
"pretty": "prettier --write {examples,src,tests}/**/*.ts",
"local-publish": "rm -rf node_modules && rm -rf .anchor"
},
"keywords": [],
"author": "c. b. osborn",
"license": "Apache-2.0",
"dependencies": {
"@project-serum/anchor": "0.23.0",
"@solana/spl-token": "^0.1.8",
"@solana/web3.js": "^1.22.0",
"bytebuffer": "^5.0.1",
"copy-to-clipboard": "^3.3.1",
"ed2curve": "0.3.0",
"js-sha256": "^0.9.0",
"tweetnacl": "1.0.3"
},
"devDependencies": {
"@types/bs58": "^4.0.1",
"@types/bytebuffer": "^5.0.42",
"@types/chai": "^4.2.22",
"@types/chai-as-promised": "^7.1.4",
"@types/ed2curve": "^0.2.2",
"@types/mocha": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^4.29.0",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"eslint": "7.32.0",
"mocha": "^9.1.1",
"prettier": "2.5.1",
"ts-mocha": "^9.0.2",
"ts-node": "^10.2.0",
"typescript": "^4.3.5"
},
"engines": {
"node": ">=14.18",
"npm": ">=8"
},
"engineStrict": true,
"browser": {
"fs": false,
"path": false,
"os": false
}
}