htpdate/package.json

64 lines
2.4 KiB
JSON

{
"name": "htpdate",
"version": "1.0.3",
"description": "a tool to synchronize system time from web servers",
"keywords": [
"htp",
"htpdate",
"ntp",
"ntp-client"
],
"author": {
"name": "Bob Wen",
"email": "bobwen@tutanota.com",
"url": "https://github.com/bobwen-dev"
},
"license": "AGPL-3.0-or-later",
"homepage": "https://github.com/bobwen-dev/htpdate",
"bugs": {
"url": "https://github.com/bobwen-dev/htpdate/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bobwen-dev/htpdate.git"
},
"scripts": {
"compile": "coffee -bc --no-header ./",
"clean": "rm *.js",
"b": "nexe -i index.js -r node_modules/**/package.json",
"b-win-x86": "npm run b -- -t windows-x86-18.12.1 -o dists/htpdate-windows-x86.exe",
"b-win-x64": "npm run b -- -t windows-x64-18.12.1 -o dists/htpdate-windows-x64.exe",
"b-linux-x64": "npm run b -- -t linux-x64-18.12.1 -o dists/htpdate-linux-x64",
"b-linux-arm64": "npm run b -- -t linux-arm64-18.12.1 -o dists/htpdate-linux-arm64",
"b-linux-armv7l": "npm run b -- -t linux-arm-18.12.1 -o dists/htpdate-linux-armv7l",
"b-mac-x64": "npm run b -- -t mac-x64-18.12.1 -o dists/htpdate-mac-x64",
"c-win-x86": "cd dists && copy htpdate-windows-x86.exe htpdate.exe && 7z a htpdate-windows-x86.7z htpdate.exe && del -rf htpdate.exe",
"c-win-x64": "cd dists && copy htpdate-windows-x64.exe htpdate.exe && 7z a htpdate-windows-x64.7z htpdate.exe && del -rf htpdate.exe",
"c-linux-x64": "cd dists && cp htpdate-linux-x64 htpdate && 7z a htpdate-linux-x64.7z htpdate && rm -rf htpdate",
"c-linux-arm64": "cd dists && cp htpdate-linux-arm64 htpdate && 7z a htpdate-linux-arm64.7z htpdate && rm -rf htpdate",
"c-linux-armv7l": "cd dists && cp htpdate-linux-armv7l htpdate && 7z a htpdate-linux-armv7l.7z htpdate && rm -rf htpdate",
"c-mac-x64": "cd dists && cp htpdate-mac-x64 htpdate && 7z a htpdate-mac-x64.7z htpdate && rm -rf htpdate",
"test": "coffee index.coffee www.pool.ntp.org"
},
"main": "index.js",
"bin": {
"htpdate": "index.coffee"
},
"engines": {
"node": ">=18.12.0"
},
"dependencies": {
"agentkeepalive": "^4.5.0",
"dayjs": "^1.11.9",
"got": "^13.0.0",
"hpagent": "^1.2.0",
"minimist": "^1.2.8",
"minimist-options": "^4.1.0",
"natural-orderby": "^3.0.2"
},
"devDependencies": {
"coffeescript": "^2.7.0",
"nexe": "^4.0.0-beta.16"
}
}