-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
72 lines (72 loc) · 1.83 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"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": "[email protected]",
"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"
}
}