/ duper-js-wasm / package.json
package.json
1 { 2 "name": "@duper-js/wasm", 3 "version": "0.4.3", 4 "description": "WebAssembly bindings for Duper, the format that's super!", 5 "keywords": [ 6 "Duper", 7 "serialization", 8 "encoding", 9 "format", 10 "wasm" 11 ], 12 "homepage": "https://duper.dev.br", 13 "bugs": { 14 "url": "https://github.com/EpicEric/duper/issues" 15 }, 16 "repository": { 17 "type": "git", 18 "url": "git+https://github.com/EpicEric/duper.git" 19 }, 20 "license": "MIT", 21 "author": "Eric Rodrigues Pires <eric@eric.dev.br>", 22 "type": "module", 23 "main": "./dist/index.js", 24 "types": "./dist/index.d.ts", 25 "files": [ 26 "dist", 27 "README.md" 28 ], 29 "publishConfig": { 30 "registry": "https://registry.npmjs.org/", 31 "access": "public" 32 }, 33 "scripts": { 34 "bindgen": "uniffi-bindgen-react-native build web", 35 "bindgen:release": "uniffi-bindgen-react-native build web --release", 36 "optimize": "wasm-opt -Os ./src/generated/wasm-bindgen/index_bg.wasm -o ./src/generated/wasm-bindgen/index_bg.wasm", 37 "clean": "rm -rf dist", 38 "bundle": "node esbuild.mjs && tsc && cp -r ./src/generated/wasm-bindgen ./dist/wasm-bindgen", 39 "build": "npm run clean && npm run bindgen && npm run optimize && npm run bundle", 40 "build:ci": "npm run clean && npm run bindgen && npm run bundle", 41 "build:release": "npm run clean && npm run bindgen:release && npm run optimize && npm run bundle", 42 "test": "vitest run" 43 }, 44 "devDependencies": { 45 "esbuild": "^0.27.0", 46 "typescript": "^5.9.3", 47 "uniffi-bindgen-react-native": "^0.29.3-1", 48 "vite": "^7.1.12", 49 "vite-plugin-top-level-await": "^1.6.0", 50 "vite-plugin-wasm": "^3.5.0", 51 "vitest": "^4.0.6" 52 } 53 }