build wasm on local npm install (#371)

* make package installable from git

* disable macos tests

because it doesn't find emcc for some reason
This commit is contained in:
Boris Verkhovskiy
2022-03-30 06:35:13 -07:00
committed by GitHub
parent 5872b7bde1
commit 9c01335485
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ jobs:
matrix:
# Tests fail to run on Windows, see
# https://github.com/curlconverter/curlconverter/pull/310
os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest]
node-version: [12, 14, 16]
fail-fast: false

View File

@@ -41,7 +41,7 @@
"test": "tape test.js",
"lint": "standard",
"lint:fix": "standard --fix",
"prepublishOnly": "tree-sitter build-wasm --docker node_modules/@curlconverter/tree-sitter-bash",
"prepare": "tree-sitter build-wasm --docker node_modules/@curlconverter/tree-sitter-bash",
"gen-test": "./tools/gen-test.js",
"compare-requests": "./tools/compare-requests.js",
"compare-request": "./tools/compare-requests.js"