fast-md5-web
Version:
A TypeScript project with tsup bundler for Rust WASM MD5 calculation
76 lines • 2.05 kB
JSON
{
"name": "fast-md5-web",
"version": "1.1.2",
"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"
},
"keywords": [
"typescript",
"tsup",
"wasm",
"md5",
"rust"
],
"author": "Snow <lijiaxin@xhblog.top>",
"license": "MIT",
"engines": {
"node": ">=18.0.0",
"pnpm": ">=8.0.0"
},
"devDependencies": {
"@commitlint/cli": "19.8.1",
"@commitlint/config-conventional": "19.8.1",
"@eslint/js": "9.32.0",
"@types/node": "20.0.0",
"@types/uuid": "^10.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",
"husky": "9.1.7",
"oxlint": "1.14.0",
"prettier": "3.6.2",
"rimraf": "5.0.0",
"tsup": "8.0.0",
"typescript": "5.9.2"
},
"files": [
"dist",
"wasm/pkg/**/*",
"package.json"
],
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"bash -c 'tsc -p tsconfig.json --noEmit'",
"eslint --fix",
"prettier --write"
]
},
"dependencies": {
"uuid": "11.1.0"
},
"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}\"",
"commitlint": "commitlint --edit --verbose"
}
}