UNPKG

fast-md5-web

Version:

A TypeScript project with tsup bundler for Rust WASM MD5 calculation

60 lines (59 loc) 1.7 kB
{ "name": "fast-md5-web", "version": "1.0.20", "description": "A TypeScript project with tsup bundler for Rust WASM MD5 calculation", "type": "module", "module": "dist/index.js", "types": "dist/index.d.ts", "repository": { "type": "git", "url": "https://github.com/XueHua-s/rust-wasm-calculate-file-md5" }, "scripts": { "build:wasm": "cd wasm && wasm-pack build --target web && echo # Temporarily disabled to allow npm publish > pkg/.gitignore && echo # * >> pkg/.gitignore", "build": "pnpm run build:wasm && tsup", "dev": "tsup --watch", "clean": "rimraf dist", "type-check": "tsc --noEmit", "lint": "eslint src --ext .ts,.tsx", "lint:fix": "eslint src --ext .ts,.tsx --fix", "format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,md}\"", "format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,md}\"" }, "keywords": [ "typescript", "tsup", "wasm", "md5", "rust" ], "author": "Snow <lijiaxin@xhblog.top>", "license": "MIT", "devDependencies": { "@eslint/js": "^9.32.0", "@types/node": "^20.0.0", "@typescript-eslint/eslint-plugin": "^8.39.0", "@typescript-eslint/parser": "^8.39.0", "eslint": "^9.32.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-prettier": "^5.5.4", "prettier": "^3.6.2", "rimraf": "^5.0.0", "tsup": "^8.0.0", "typescript": "^5.0.0" }, "files": [ "dist", "wasm/pkg/**/*", "package.json" ], "exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts" } }, "dependencies": { "uuid": "^11.1.0" } }