de5332af05
We add a script for running the js tests in `scripts/ci/js_tests`. This script can also be run locally. We move the `automerge-js` package to below the `automerge-wasm` crate as it is specifically testing the wasm interface. We also add an action to the github actions workflow for CI to run the js tests.
18 lines
354 B
JSON
18 lines
354 B
JSON
{
|
|
"name": "automerge-js",
|
|
"version": "0.1.0",
|
|
"main": "src/index.js",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"test": "mocha --bail --full-trace"
|
|
},
|
|
"devDependencies": {
|
|
"mocha": "^9.1.1"
|
|
},
|
|
"dependencies": {
|
|
"automerge-wasm": "file:../automerge-wasm/dev",
|
|
"fast-sha256": "^1.3.0",
|
|
"pako": "^2.0.4",
|
|
"uuid": "^8.3"
|
|
}
|
|
}
|