2021-01-25 05:20:52 +01:00
|
|
|
{
|
|
|
|
"name": "htpdate",
|
2021-11-03 11:07:10 +01:00
|
|
|
"version": "1.0.2",
|
2021-01-25 09:14:14 +01:00
|
|
|
"description": "a tool to synchronize system time from web servers",
|
2021-01-25 05:20:52 +01:00
|
|
|
"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": "npx coffee -bc --no-header ./",
|
|
|
|
"clean": "rm *.js",
|
|
|
|
"b": "npx nexe -i index.js -r node_modules/**/package.json",
|
2021-11-03 11:07:10 +01:00
|
|
|
"b-win-x86": "npm run b -- -t windows-x86-14.15.3 -o dists/htpdate-windows-x86.exe",
|
|
|
|
"b-win-x64": "npm run b -- -t windows-x64-14.17.0 -o dists/htpdate-windows-x64.exe",
|
2021-01-25 05:20:52 +01:00
|
|
|
"b-linux-x64": "npm run b -- -t linux-x64-14.15.3 -o dists/htpdate-linux-x64",
|
|
|
|
"b-linux-arm64": "npm run b -- -t linux-arm64-14.15.4 -o dists/htpdate-linux-arm64",
|
|
|
|
"b-mac-x64": "npm run b -- -t mac-x64-14.15.3 -o dists/htpdate-mac-x64",
|
|
|
|
"b-all": "npm run b-win-x86 && npm run b-win-x64 && npm run b-linux-x64 && npm run b-linux-arm64 && npm run b-mac-x64",
|
2021-11-03 11:07:10 +01:00
|
|
|
"c-win-x86": "cd dists && cp htpdate-windows-x86.exe htpdate.exe && 7z a htpdate-windows-x86.7z htpdate.exe && rm -rf htpdate.exe",
|
|
|
|
"c-win-x64": "cd dists && cp htpdate-windows-x64.exe htpdate.exe && 7z a htpdate-windows-x64.7z htpdate.exe && rm -rf htpdate.exe",
|
|
|
|
"c-linux-x64": "cd dists && cp htpdate-linux-x64 htpdate && 7z a htpdate-linux-x86.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-mac-x64": "cd dists && cp htpdate-mac-x64 htpdate && 7z a htpdate-mac-x64.7z htpdate && rm -rf htpdate",
|
2021-01-25 06:22:37 +01:00
|
|
|
"compress": "npm run c-win-x86 && npm run c-win-x64 && npm run c-linux-x64 && npm run c-linux-arm64 && npm run c-mac-x64",
|
2021-01-25 05:20:52 +01:00
|
|
|
"build": "npm run compile && npm run b-all && npm run clean",
|
|
|
|
"test": "npx coffee index.coffee www.pool.ntp.org"
|
|
|
|
},
|
|
|
|
"main": "index.js",
|
|
|
|
"engines": {
|
|
|
|
"node": ">=10.19.0"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-11-03 11:07:10 +01:00
|
|
|
"agentkeepalive": "^4.1.4",
|
2021-01-25 05:20:52 +01:00
|
|
|
"dayjs": "^1.10.3",
|
|
|
|
"got": "^11.8.0",
|
2021-11-03 11:07:10 +01:00
|
|
|
"hpagent": "^0.1.2",
|
2021-01-25 05:20:52 +01:00
|
|
|
"minimist": "^1.2.5",
|
|
|
|
"minimist-options": "^4.1.0",
|
|
|
|
"natural-orderby": "^2.0.3"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"coffeescript": "^2.5.1",
|
|
|
|
"nexe": "^4.0.0-beta.16"
|
|
|
|
}
|
|
|
|
}
|