Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 2.15 KB
/
Copy pathpackage.json
File metadata and controls
71 lines (71 loc) · 2.15 KB
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
{
"name": "macleanup",
"version": "5.3.1",
"description": "Safe-by-default macOS cleanup CLI — 28 sections, a real dry-run, zero install via npx.",
"bin": "bin/macleanup.js",
"files": [
"bin/",
"macleanup.sh",
"lib/",
"README.md",
"LICENSE.md",
"CHANGELOG.md",
"SECURITY.md"
],
"scripts": {
"start": "node bin/macleanup.js",
"list": "node bin/macleanup.js --list",
"version:print": "node bin/macleanup.js --version",
"dry-run": "node bin/macleanup.js --dry-run --all",
"lint:bash": "bash -n macleanup.sh && for f in lib/*.sh; do bash -n \"$f\" || exit 1; done && node -c bin/macleanup.js",
"version:check": "node -e \"const fs=require('fs');const v=require('./package.json').version;const src=[fs.readFileSync('macleanup.sh','utf8'),...fs.readdirSync('lib').filter(f=>f.endsWith('.sh')).map(f=>fs.readFileSync('lib/'+f,'utf8'))].join('');if(!src.includes('MACLEANUP_VERSION:-'+v+'}')){console.error('version mismatch: package.json '+v+' is not the SCRIPT_VERSION fallback in macleanup.sh or lib/');process.exit(1)}console.log('version parity OK: '+v)\"",
"prepublishOnly": "npm run --silent lint:bash && test -x macleanup.sh && test -x bin/macleanup.js && npm run --silent version:check"
},
"preferGlobal": true,
"engines": {
"node": ">=14"
},
"os": [
"darwin"
],
"cpu": [
"x64",
"arm64"
],
"keywords": [
"macos",
"cleanup",
"maintenance",
"disk-space",
"cache",
"cli",
"developer-tools",
"node-modules",
"xcode",
"homebrew",
"dry-run",
"sysadmin"
],
"author": {
"name": "Ahsan Mahmood",
"email": "aoneahsan@gmail.com",
"url": "https://aoneahsan.com"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/aoneahsan/macleanup.git"
},
"bugs": {
"url": "https://github.com/aoneahsan/macleanup/issues",
"email": "aoneahsan@gmail.com"
},
"homepage": "https://macleanup.aoneahsan.com",
"publishConfig": {
"access": "public"
},
"funding": {
"type": "individual",
"url": "https://aoneahsan.com/payment?project-id=macleanup&project-identifier=macleanup"
}
}