UNPKG

connection-state

Version:
58 lines (57 loc) 1.39 kB
{ "name": "connection-state", "version": "0.1.0", "description": "Detect online and offline network state.", "main": "./dist/index.js", "module": "./dist/index.es.js", "types": "./dist/index.d.ts", "scripts": { "start": "vite", "build": "rollup --configPlugin typescript -c", "dev": "npm start", "prepare": "npm run build", "build-demo": "vite build" }, "repository": { "type": "git", "url": "https://github.com/FilipChalupa/connection-state.git" }, "keywords": [ "network", "state", "connection", "online", "offline", "typescript" ], "author": { "name": "Filip Chalupa", "email": "chalupa.filip@gmail.com", "url": "https://www.npmjs.com/~onset" }, "license": "ISC", "devDependencies": { "@babel/core": "^7.20.2", "@rollup/plugin-commonjs": "^23.0.2", "@rollup/plugin-node-resolve": "^15.0.1", "@rollup/plugin-typescript": "^9.0.2", "@types/rollup-plugin-peer-deps-external": "^2.2.1", "@typescript-eslint/eslint-plugin": "^5.59.5", "@typescript-eslint/parser": "^5.59.5", "babel-loader": "^9.1.0", "eslint": "^8.40.0", "prettier": "^2.7.1", "rollup": "^3.2.5", "rollup-plugin-delete": "^2.0.0", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-typescript2": "^0.34.1", "typescript": "^5.0.4", "vite": "^4.3.5" }, "files": [ "/dist/" ], "dependencies": { "custom-listenable": "^0.2.1" } }