forked from ckb-js/lumos
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
75 lines (75 loc) · 1.83 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
{
"name": "@ckb-lumos/codec",
"version": "0.20.0-alpha.3",
"description": "Make your own molecule binding in JavaScript(TypeScript)",
"author": "",
"homepage": "https://github.com/ckb-js/lumos#readme",
"license": "MIT",
"main": "./lib/index.js",
"module": "./lib.esm/index.js",
"types": "./lib/index.d.ts",
"exports": {
".": {
"import": "./lib.esm/index.js",
"default": "./lib/index.js"
},
"./bytes": {
"import": "./lib.esm/bytes.js",
"default": "./lib/bytes.js",
"types": "./lib/bytes.d.ts"
},
"./number": {
"import": "./lib.esm/number/index.js",
"default": "./lib/number/index.js",
"types": "./lib/number/index.d.ts"
},
"./molecule": {
"import": "./lib.esm/molecule/index.js",
"default": "./lib/molecule/index.js",
"types": "./lib/molecule/index.d.ts"
}
},
"engines": {
"node": ">=12.0.0"
},
"files": [
"lib",
"lib.esm",
"src"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ckb-js/lumos.git"
},
"scripts": {
"fmt": "prettier --write \"{src,tests,examples}/**/*.ts\" package.json",
"lint": "eslint -c ../../.eslintrc.js \"{src,tests,examples}/**/*.ts\"",
"test": "ava **/*.test.ts --timeout=2m",
"build": "npm run build:all",
"build:all": "lumos-build --types --cjs --esm",
"clean": "rm -rf lib lib.esm",
"prepublishOnly": "pnpm run clean && pnpm run build",
"release": "pnpm publish"
},
"dependencies": {
"@ckb-lumos/bi": "0.20.0-alpha.3"
},
"publishConfig": {
"access": "public"
},
"bugs": {
"url": "https://github.com/ckb-js/lumos/issues"
},
"ava": {
"extensions": [
"ts"
],
"require": [
"ts-node/register"
]
},
"devDependencies": {
"escape-string-regexp": "^4.0.0",
"js-yaml": "^4.1.0"
}
}