UNPKG

go-get-folder-size

Version:

Get the size of a folder by recursively iterating through all its sub(files && folders). Use go, so high-speed

73 lines (72 loc) 1.88 kB
{ "name": "go-get-folder-size", "version": "0.5.5", "description": "Get the size of a folder by recursively iterating through all its sub(files && folders). Use go, so high-speed", "main": "./npm/index.cjs", "module": "./npm/index.mjs", "types": "./npm/index.d.ts", "bin": { "go-get-folder-size": "bin/cli.js" }, "files": [ "bin", "npm", "dist", "scripts/post.mjs" ], "repository": { "type": "git", "url": "git+https://github.com/markthree/go-get-folder-size.git" }, "exports": { ".": { "require": "./npm/index.cjs", "import": "./npm/index.mjs", "types": "./npm/index.d.ts" }, "./*": "./*" }, "scripts": { "play-go": "go run", "build-types": "tsc", "build-go": "go build", "bench": "node bench.mjs", "build-ts": "vite build", "sync": "node scripts/sync.js", "prepublishOnly": "pnpm build", "release": "bumpp --push --tag --all && npm publish", "build-go-bin": "goreleaser release --snapshot --clean", "build": "rimraf -rf npm dist && run-p build-go-wasm build-go-bin && run-p build-ts build-types", "build-go-wasm": "cross-env GOOS=js GOARCH=wasm go build -o ./wasm/main.wasm ./wasm/main.go", "postinstall": "node scripts/post.mjs" }, "keywords": [ "go", "size", "folder", "fastest", "webAssembly" ], "author": { "name": "markthree", "email": "1801982702@qq.com", "url": "https://github.com/markthree" }, "license": "MIT", "devDependencies": { "@types/node": "^18.18.3", "bumpp": "^9.2.0", "cross-env": "^7.0.3", "execa": "^8.0.1", "mri": "^1.2.0", "npm-run-all": "^4.1.5", "pretty-bytes": "^6.1.1", "rimraf": "^5.0.5", "specifier-backward": "^0.0.4", "typescript": "^5.2.2", "vite": "^4.4.10" }, "dependencies": { "std-env": "^3.7.0" } }