e607d2e22b
* add js interop testing * checkout specific commit + fix bug in if stmt * implement suggestions * add to travis * friendly error message + fix inverted if * more intuitive order
35 lines
1.4 KiB
JSON
35 lines
1.4 KiB
JSON
{
|
|
"collaborators": [
|
|
"Orion Henry <orion@inkandswitch.com>",
|
|
"Alex Good <alex@memoryandthought.me>"
|
|
],
|
|
"name": "automerge-backend-wasm",
|
|
"description": "wasm-bindgen bindings to the automerge-backend rust implementation",
|
|
"version": "0.1.0",
|
|
"license": "MIT",
|
|
"files": [
|
|
"README.md",
|
|
"pkg.js",
|
|
"LICENSE",
|
|
"package.json",
|
|
"automerge_backend_wasm_bg.wasm",
|
|
"automerge_backend_wasm.js"
|
|
],
|
|
"main": "./dev/index.js",
|
|
"scripts": {
|
|
"cjs-release": "wasm-pack build --target nodejs --release --out-name index -d build/cjs && rm build/cjs/package.json",
|
|
"mjs-release": "wasm-pack build --target bundler --release --out-name index -d build/mjs && cp package.mjs.json build/mjs/package.json",
|
|
"prep-release": "rm build/*/.gitignore build/*/README.md build/*/LICENSE build/*/*.ts",
|
|
"release": "yarn cjs-release && yarn mjs-release && yarn prep-release && cp package.pkg.json build/package.json && cp README.md LICENSE build",
|
|
"build": "rm -rf dev && wasm-pack build --target nodejs --dev --out-name index -d dev",
|
|
"profiling": "wasm-pack build --target nodejs --profiling --out-name index -d dev",
|
|
"mocha": "yarn build && mocha --bail --full-trace",
|
|
"webpack": "webpack",
|
|
"test": "cargo test && wasm-pack test --node",
|
|
"test:js": "./scripts/js_tests.sh"
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"mocha": "^7.1.1"
|
|
}
|
|
}
|