-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathpackage.json
82 lines (82 loc) · 2.75 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
{
"name": "@colony/sdk",
"description": "🚀 The development kit to build on top of Colony",
"version": "3.1.1",
"type": "module",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
"default": "./dist/cjs/index.js"
},
"./graph": {
"import": "./dist/esm/graph/index.js",
"require": "./dist/cjs/graph/index.js",
"types": "./dist/types/graph/index.d.ts",
"default": "./dist/cjs/graph/index.js"
}
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"files": [
"dist",
"LICENSE",
"README.md"
],
"engines": {
"node": "^16 || ^18 || ^20",
"pnpm": "^8"
},
"license": "GPL-3.0-only",
"scripts": {
"examples:node": "tsx examples/node/index.ts",
"examples:browser": "esbuild --bundle examples/browser/src/*.ts --servedir=examples/browser/web",
"build-contracts": "contractor colony -t 11 -o ./src/contracts",
"build": "npm run clean && npm run compile-cjs && npm run compile-esm && npm run compile-prod && npm run compile-types && npm run create-pkg-json",
"build-docs": "typedoc",
"build-examples": "esbuild --bundle examples/browser/src/*.ts --outdir=examples/browser/web --minify",
"clean": "rimraf ./dist",
"compile-cjs": "tsc -p tsconfig.build.json --module commonjs --target es2015 --outDir dist/cjs",
"compile-esm": "tsc -p tsconfig.build.json --module esnext --target es2022 --outDir dist/esm",
"compile-prod": " tsup --config tsup.config.ts",
"compile-types": "tsc -p tsconfig.build.json --target esnext --declaration --emitDeclarationOnly --outDir dist/types",
"create-pkg-json": "../../scripts/create-pkg-json.sh",
"lint": "eslint --ext .ts src examples",
"prepare": "npm run build-contracts",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@colony/core": "^3.0.0",
"@colony/events": "^4.0.0",
"@colony/tokens": "^1.0.0",
"@ethersproject/abstract-provider": "^5.7.0",
"abitype": "^1.0.6"
},
"devDependencies": {
"@colony/contractor": "^2.4.0",
"@ethersproject/abi": "^5.7.0",
"@ethersproject/abstract-signer": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@picocss/pico": "^1.5.7",
"@types/inquirer": "^8.2.1",
"@types/node": "^18.15.11",
"@types/ws": "^8.5.3",
"@types/yargs": "^17.0.10",
"cross-fetch": "^4.0.0",
"esbuild": "^0.14.27",
"ethers": "^5.7.1",
"fast-glob": "^3.2.11",
"inquirer": "^8.2.4",
"prettier": "^2.6.1",
"tsx": "^4.19.1",
"typedoc": "^0.24.8",
"typedoc-plugin-markdown": "^3.15.3",
"wonka": "^4.0.15",
"yargs": "^17.5.1"
},
"peerDependencies": {
"ethers": "^5.1.3"
}
}