-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 1.66 KB
/
package.json
File metadata and controls
57 lines (57 loc) · 1.66 KB
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
{
"name": "@bitcoinerlab/miniscript-policies",
"author": "Jose-Luis Landabaso <landabaso@gmail.com>",
"license": "MIT",
"keywords": [
"miniscript",
"policy",
"compiler",
"bitcoin",
"asm",
"descriptors"
],
"homepage": "https://bitcoinerlab.com/modules/miniscript",
"version": "1.1.0",
"description": "Bitcoin Miniscript policy compiler",
"main": "dist/index.js",
"types": "types/index.d.ts",
"files": [
"dist",
"types"
],
"scripts": {
"build": "rollup -c --bundleConfigAsCjs",
"build:prod": "NODE_ENV=production rollup -c --bundleConfigAsCjs",
"prepublishOnly": "npm test",
"test": "make clean && make && npm run build:prod && jest"
},
"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-policies.git"
},
"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.19.6",
"@bitcoinerlab/configs": "^2.0.0",
"@rollup/plugin-commonjs": "^29.0.0",
"babel-plugin-transform-import-meta": "^2.2.0",
"rollup": "^3.29.5"
},
"dependencies": {
"@bitcoinerlab/miniscript": "^2.0.0",
"bip68": "^1.0.4"
},
"bugs": {
"url": "https://github.com/bitcoinerlab/miniscript-policies/issues"
}
}