onlineornot 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/onlineornot.js +1 -1
  2. package/package.json +11 -10
@@ -49,7 +49,7 @@ Consider using a Node.js version manager such as https://volta.sh/ or https://gi
49
49
  }
50
50
 
51
51
  async function main() {
52
- console.log("Starting onlineornot...");
52
+ onlineornotProcess = runOnlineornot();
53
53
  }
54
54
 
55
55
  process.on("SIGINT", () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "onlineornot",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Command-line interface for OnlineOrNot",
5
5
  "keywords": [
6
6
  "uptime monitoring"
@@ -28,28 +28,29 @@
28
28
  "check:format": "prettier . --check --ignore-unknown",
29
29
  "check:lint": "eslint \"src/**/*.[tj]s?(x)\" --cache --cache-strategy content --max-warnings=0",
30
30
  "clean": "rimraf dist",
31
+ "prepublishOnly": "SOURCEMAPS=false npm run build",
31
32
  "prettify": "prettier . --write --ignore-unknown",
32
- "start": "cross-env NODE_OPTIONS=--enable-source-maps ./bin/onlineornot.js"
33
+ "start": "npm run bundle && cross-env NODE_OPTIONS=--enable-source-maps ./bin/onlineornot.js"
33
34
  },
34
35
  "dependencies": {
35
- "@changesets/changelog-github": "^0.4.8",
36
- "@changesets/cli": "^2.26.0",
37
36
  "chalk": "^5.2.0",
38
37
  "cli-table3": "^0.6.3",
39
- "cross-env": "^7.0.3",
40
- "esbuild": "^0.17.7",
41
- "esbuild-register": "^3.4.2",
42
- "rimraf": "^4.1.2",
43
38
  "supports-color": "^9.3.1",
44
- "typescript": "^4.9.5",
45
39
  "update-check": "^1.5.4",
46
40
  "yargs": "^17.6.2"
47
41
  },
48
42
  "devDependencies": {
43
+ "@changesets/changelog-github": "^0.4.8",
44
+ "@changesets/cli": "^2.26.0",
49
45
  "@types/node": "^18.13.0",
50
46
  "@types/yargs": "^17.0.22",
47
+ "cross-env": "^7.0.3",
48
+ "esbuild": "^0.17.7",
49
+ "esbuild-register": "^3.4.2",
51
50
  "prettier": "^2.8.4",
52
- "prettier-plugin-packagejson": "^2.4.2"
51
+ "prettier-plugin-packagejson": "^2.4.2",
52
+ "rimraf": "^4.1.2",
53
+ "typescript": "^4.9.5"
53
54
  },
54
55
  "engines": {
55
56
  "node": ">=16.13.0"