cloudflare/speedtest
Publicmirrored fromhttps://github.com/cloudflare/speedtestAvailable
package.json
71lines · modecode
| 1 | { |
| 2 | "name": "@cloudflare/speedtest", |
| 3 | "version": "0.0.1", |
| 4 | "description": "Component to perform network speed tests against Cloudflare's edge network", |
| 5 | "type": "module", |
| 6 | "exports": "./dist/speedtest.js", |
| 7 | "main": "dist/speedtest.js", |
| 8 | "module": "dist/speedtest.js", |
| 9 | "types": "dist/speedtest.d.ts", |
| 10 | "sideEffects": false, |
| 11 | "repository": { |
| 12 | "type": "git", |
| 13 | "url": "git+https://github.com/cloudflare/speedtest.git" |
| 14 | }, |
| 15 | "homepage": "https://github.com/cloudflare/speedtest", |
| 16 | "keywords": [ |
| 17 | "cloudflare", |
| 18 | "speed", |
| 19 | "network quality", |
| 20 | "bandwidth", |
| 21 | "latency", |
| 22 | "packet loss" |
| 23 | ], |
| 24 | "author": { |
| 25 | "name": "Vasco Asturiano", |
| 26 | "email": "vasco@cloudflare.com" |
| 27 | }, |
| 28 | "license": "MIT", |
| 29 | "bugs": { |
| 30 | "url": "https://github.com/cloudflare/speedtest/issues" |
| 31 | }, |
| 32 | "scripts": { |
| 33 | "build": "rimraf dist && rollup -c", |
| 34 | "dev": "rollup -w -c", |
| 35 | "lint": "eslint \"src/**/*.js\"", |
| 36 | "format": "prettier --write \"src/**/*.js\"", |
| 37 | "prepare": "husky install .husky && npm run build" |
| 38 | }, |
| 39 | "lint-staged": { |
| 40 | "*.js": "eslint" |
| 41 | }, |
| 42 | "files": [ |
| 43 | "dist/**/*" |
| 44 | ], |
| 45 | "dependencies": { |
| 46 | "d3-scale": "^4.0.2", |
| 47 | "isomorphic-fetch": "^3.0.0", |
| 48 | "lodash.memoize": "^4.1.2" |
| 49 | }, |
| 50 | "devDependencies": { |
| 51 | "@babel/core": "^7.20.12", |
| 52 | "@babel/preset-env": "^7.20.2", |
| 53 | "@rollup/plugin-babel": "^6.0.3", |
| 54 | "@rollup/plugin-node-resolve": "^15.0.1", |
| 55 | "eslint": "^8.33.0", |
| 56 | "eslint-plugin-compat": "^4.0.2", |
| 57 | "eslint-plugin-import": "^2.27.5", |
| 58 | "eslint-plugin-json": "^3.1.0", |
| 59 | "eslint-plugin-prettier": "^4.2.1", |
| 60 | "husky": "^8.0.3", |
| 61 | "lint-staged": "^13.1.0", |
| 62 | "prettier": "^2.8.3", |
| 63 | "rimraf": "^4.1.2", |
| 64 | "rollup": "^3.12.1", |
| 65 | "rollup-plugin-dts": "^5.1.1", |
| 66 | "typescript": "^4.9.5" |
| 67 | }, |
| 68 | "engines": { |
| 69 | "node": ">=18.2.0" |
| 70 | } |
| 71 | } |
| 72 | |