Skip to content

Commit 2c24e3d

Browse files
committed
chore: set cjs path for electron
1 parent 85fff58 commit 2c24e3d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
name: electron main
8888
addons:
8989
firefox: latest
90-
script: npm run test -- -- -- -t electron-main
90+
script: npm run test -- -- -- -t electron-main -f dist/cjs/node-test/*js
9191

9292
- stage: release
9393
# only run on changes to master

packages/ipfs-unixfs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"prepare:proto-types": "pbts -o src/unixfs.d.ts src/unixfs.js",
1515
"prepare:types": "aegir build --no-bundle",
1616
"test": "aegir test",
17-
"build": "aegir build",
17+
"build": "aegir build --esm-tests",
1818
"clean": "rimraf ./dist",
1919
"lint": "aegir ts -p check && aegir lint",
2020
"coverage": "nyc -s aegir test -t node && nyc report --reporter=html",

0 commit comments

Comments
 (0)