UNPKG

react-timesago

Version:

React-TimesAgo is a component that takes a date as a prop and returns a time-span with live updating date.

57 lines (56 loc) 1.62 kB
{ "name": "react-timesago", "version": "0.0.1", "dependencies": { "moment": "^2.24.0", "react-scripts": "^3.0.0" }, "scripts": { "start": "webpack-dev-server --mode development", "test": "react-scripts test --env=jsdom", "eject": "react-scripts eject", "transpile": "babel src -d dist --copy-files", "prepublishOnly": "npm run transpile", "build": "webpack --mode production", "deploy": "gh-pages -d examples/dist", "publish-demo": "npm run build && npm run deploy" }, "description": "React-TimesAgo is a component that takes a date as a prop and returns a time-span with live updating date.", "main": "dist/index.js", "peerDependencies": { "react": "^16.3.0", "react-dom": "^16.3.0" }, "devDependencies": { "babel-cli": "^6.26.0", "babel-core": "^6.26.3", "babel-loader": "^7.1.4", "babel-preset-env": "^1.7.0", "babel-preset-react": "^6.24.1", "css-loader": "^2.1.1", "gh-pages": "^1.2.0", "html-webpack-plugin": "^3.2.0", "react": "^16.4.1", "react-dom": "^16.4.1", "style-loader": "^0.21.0", "webpack": "^4.15.0", "webpack-cli": "^3.0.8", "webpack-dev-server": "^3.1.4" }, "repository": { "type": "git", "url": "git+https://github.com/miteshtagadiya/React-TimesAgo.git" }, "keywords": [ "react-timesago", "timeago", "timesago", "react-timeago" ], "author": "Mitesh Tagadiya", "license": "MIT", "bugs": { "url": "https://github.com/miteshtagadiya/React-TimesAgo/issues" }, "homepage": "https://github.com/miteshtagadiyaReact-TimesAgo#readme" }