zz_

package.json

thoward37@gmail.com/push-test3-1791933214491 / package.json @ cc6cf25e Download
Ladder Summary
  • file The file is the **package manifest** for the npm package **“is‑up”** (v5.0.0); it supplies metadata (name, version, description, author, keywords, repository, licensing, engine requirements), scripts, the list of files to publish, and declares a runtime dependency on **`got`**. It defines the package’s entry point via `"exports": "./index.js"`, meaning the module’s public API is whatever is exported from **`index.js`**—in this package the primary export is the function **`isUp`** (the default export) that checks whether a given website/URL is reachable.
 {
  "name": "is-up",
  "version": "1.2.0",
  "description": "Check whether a website is up or down",
  "license": "MIT",
  "repository": "sindresorhus/is-up",
  "author": {
  "name": "Sindre Sorhus",
  "email": "sindresorhus@gmail.com",
  "url": "sindresorhus.com"
  },
  "bin": "cli.js",
  "preferGlobal": true,
  "engines": {
  "node": ">=0.10.0"
  },
  "scripts": {
- "test": "node test.js"
+ "test": "xo && ava"
  },
  "files": [
  "index.js",
  "cli.js"
  ],
  "keywords": [
  "cli-app",
  "cli",
  "bin",
  "up",
  "down",
  "website",
  "webpage",
  "ip"
  ],
  "dependencies": {
  "got": "^5.0.0",
  "log-symbols": "^1.0.0",
  "meow": "^3.3.0"
  },
  "devDependencies": {
- "ava": "^0.2.0"
+ "ava": "^0.2.0",
+ "xo": "*"
+ },
+ "xo": {
+ "ignores": [
+ "test.js"
+ ]
  }
 }