-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
56 lines (56 loc) · 1.97 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
{
"name": "@bitcoinerlab/miniscript",
"author": "Jose-Luis Landabaso <[email protected]>",
"license": "MIT",
"keywords": [
"miniscript",
"satisfier",
"bitcoin",
"policy",
"asm",
"descriptors"
],
"homepage": "https://bitcoinerlab.com/modules/miniscript",
"version": "1.4.0",
"description": "Bitcoin Miniscript, a high-level language for describing Bitcoin spending conditions. It includes a Policy and Miniscript compiler, as well as a novel Satisfier for generating expressive witness scripts.",
"main": "dist/index.js",
"types": "types/index.d.ts",
"scripts": {
"build": "rollup -c --bundleConfigAsCjs",
"build:prod": "NODE_ENV=production rollup -c --bundleConfigAsCjs",
"prepublishOnly": "make clean && make && npm run build:prod && npm test",
"test": "jest",
"example": "node ./example.js",
"docs": "typedoc --options ./node_modules/@bitcoinerlab/configs/js_typedoc.json",
"webdocs": "typedoc --options ./node_modules/@bitcoinerlab/configs/js_webtypedoc.json"
},
"COMMENT_babel": "Babel plugins are are only needed for the jest testing environment. Jest needs to use commonjs. Also, jest cannot handle ESM converted code, since it uses 'import.meta.url'. See src/bindings.js. babel-plugin-transform-import-meta fixes it.",
"babel": {
"env": {
"test": {
"plugins": [
"@babel/plugin-transform-modules-commonjs",
"babel-plugin-transform-import-meta"
]
}
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/bitcoinerlab/miniscript.git"
},
"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.19.6",
"@bitcoinerlab/configs": "github:bitcoinerlab/configs",
"babel-plugin-transform-import-meta": "^2.2.0",
"jest": "^29.6.4",
"rollup": "^3.7.0",
"rollup-plugin-commonjs": "^10.1.0"
},
"dependencies": {
"bip68": "^1.0.4"
},
"bugs": {
"url": "https://github.com/bitcoinerlab/miniscript/issues"
}
}