Skip to content

Commit af8f076

Browse files
committed
chore: improve build and test workflow to run against compiled output
1 parent eff378d commit af8f076

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
"descriptors"
1212
],
1313
"homepage": "https://bitcoinerlab.com/modules/miniscript",
14-
"version": "1.4.1",
14+
"version": "1.4.2",
1515
"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.",
1616
"main": "dist/index.js",
1717
"types": "types/index.d.ts",
1818
"scripts": {
1919
"build": "rollup -c --bundleConfigAsCjs",
2020
"build:prod": "NODE_ENV=production rollup -c --bundleConfigAsCjs",
21-
"prepublishOnly": "make clean && make && npm run build:prod && npm test",
22-
"test": "jest",
21+
"prepublishOnly": "npm test",
22+
"test": "make clean && make && npm run build:prod && jest",
2323
"example": "node ./example.js",
2424
"docs": "typedoc --options ./node_modules/@bitcoinerlab/configs/js_typedoc.json",
2525
"webdocs": "typedoc --options ./node_modules/@bitcoinerlab/configs/js_webtypedoc.json"

test/miniscript.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { primitives, timeLocks, other } from './fixtures.js';
2-
import { compileMiniscript } from '../src/miniscript.js';
2+
import { compileMiniscript } from '../dist/index.js';
33

44
const createGroupTest = (description, fixtures) =>
55
describe(description, () => {

test/satisfier.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { primitives, timeLocks, other, knowns } from './fixtures.js';
2-
import { satisfier } from '../src/satisfier/index.js';
2+
import { satisfier } from '../dist/index.js';
33

44
const createGroupTest = (description, fixtures) =>
55
describe(description, () => {

0 commit comments

Comments
 (0)