@automerge/automerge-wasm
Advanced tools
Comparing version 0.2.10 to 0.2.11
@@ -11,3 +11,3 @@ { | ||
"repository": "github:automerge/automerge", | ||
"version": "0.2.10", | ||
"version": "0.2.11", | ||
"license": "MIT", | ||
@@ -19,3 +19,3 @@ "files": [ | ||
"index.d.ts", | ||
"nodejs/automerge_wasm.js", | ||
"nodejs/automerge_wasm.cjs", | ||
"nodejs/automerge_wasm_bg.wasm", | ||
@@ -34,3 +34,3 @@ "deno/automerge_wasm.js", | ||
"module": "./bundler/automerge_wasm.js", | ||
"main": "./nodejs/automerge_wasm.js", | ||
"main": "./nodejs/automerge_wasm.cjs", | ||
"scripts": { | ||
@@ -42,3 +42,3 @@ "lint": "eslint test/*.ts index.d.ts", | ||
"release": "cross-env PROFILE=release TARGET_DIR=release yarn buildall", | ||
"buildall": "cross-env TARGET=nodejs yarn target && cross-env TARGET=bundler yarn target && cross-env TARGET=deno yarn target && TARGET=web yarn target && node -e \"require('fs').cpSync('./src/export-web-wasm.js', './web/index.js')\"", | ||
"buildall": "cross-env TARGET=nodejs yarn target && cross-env TARGET=bundler yarn target && cross-env TARGET=deno yarn target && TARGET=web yarn target && node -e \"require('fs').cpSync('./src/export-web-wasm.js', './web/index.js')\" && node ./fixup-node-cjs.mjs", | ||
"target": "rimraf ./$TARGET && yarn compile && yarn bindgen && yarn opt", | ||
@@ -48,3 +48,3 @@ "compile": "cargo build --target wasm32-unknown-unknown --profile $PROFILE", | ||
"opt": "echo wasm-opt -O4 $TARGET/automerge_wasm_bg.wasm -o $TARGET/automerge_wasm_bg.wasm", | ||
"test": "ts-mocha -p tsconfig.json --type-check --bail --full-trace test/*.ts" | ||
"test": "mocha --loader=ts-node/esm test/**/*.mts" | ||
}, | ||
@@ -64,2 +64,3 @@ "devDependencies": { | ||
"ts-mocha": "^10.0.0", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.9.4", | ||
@@ -69,6 +70,8 @@ "uuid": "^9.0.0" | ||
"exports": { | ||
"types": "index.d.ts", | ||
"workerd": "./web/index.js", | ||
"browser": "./bundler/automerge_wasm.js", | ||
"require": "./nodejs/automerge_wasm.js" | ||
"require": "./nodejs/automerge_wasm.cjs", | ||
"import": "./nodejs/automerge_wasm.cjs" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6471004
15