forked from ckb-js/lumos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
68 lines (68 loc) · 1.98 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
{
"name": "@ckb-lumos/ckb-indexer",
"version": "0.20.0-alpha.1",
"description": "CKB Indexer",
"author": "Xuejie Xiao <[email protected]>",
"homepage": "https://github.com/ckb-js/lumos#readme",
"license": "MIT",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"engines": {
"node": ">=12.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ckb-js/lumos.git"
},
"files": [
"lib",
"src"
],
"dependencies": {
"@ckb-lumos/base": "0.20.0-alpha.1",
"@ckb-lumos/bi": "0.20.0-alpha.1",
"@ckb-lumos/rpc": "0.20.0-alpha.1",
"@ckb-lumos/toolkit": "0.20.0-alpha.1",
"cross-fetch": "^3.1.5",
"events": "^3.3.0"
},
"devDependencies": {
"@ckb-lumos/testkit": "0.20.0-alpha.1",
"@types/lodash.uniqby": "^4.7.7",
"@types/request": "^2.48.8",
"@types/sinon": "^10.0.6",
"find-process": "^1.4.7",
"lodash.uniqby": "^4.7.0",
"request": "^2.88.2",
"sinon": "^12.0.1",
"ts-node": "^10.4.0"
},
"scripts": {
"fmt": "prettier --write \"{src,tests,examples}/**/*.ts\" package.json",
"lint": "eslint -c ../../.eslintrc.js \"{src,tests,examples}/**/*.ts\"",
"posttest:e2e": "ts-node tests/close-mock-server-and-ckb-indexer.ts",
"pretest:e2e": "(nohup ts-node tests/start_mock_rpc.ts &) ; (sleep 5) ; (nohup ts-node tests/start_ckb_indexer.ts &) ; (sleep 10)",
"test:e2e": "ava **/*.e2e.test.ts --timeout=2m",
"test": "ava **/*.unit.test.ts --timeout=2m",
"build": "npm run build:types && npm run build:js",
"build:types": "tsc --declaration --emitDeclarationOnly",
"build:js": "babel --root-mode upward src --out-dir lib --extensions .ts -s",
"clean": "rm -rf lib",
"prepublishOnly": "yarn run clean && yarn run build",
"release": "npm publish"
},
"bugs": {
"url": "https://github.com/ckb-js/lumos/issues"
},
"ava": {
"extensions": [
"ts"
],
"require": [
"ts-node/register"
]
},
"publishConfig": {
"access": "public"
}
}