UNPKG

@nteract/timeago

Version:

A simple Time-Ago component for React

47 lines (46 loc) 1.31 kB
{ "name": "@nteract/timeago", "version": "3.6.5", "description": "A simple Time-Ago component for React", "main": "lib/index.js", "nteractDesktop": "src/index.js", "scripts": { "prepare": "npm run build", "prepublishOnly": "npm run build && npm run build:flow", "build": "npm run build:clean && npm run build:lib", "build:clean": "rimraf lib", "build:flow": "flow-copy-source -v -i '**/__tests__/**' src lib", "build:lib": "babel -d lib src --ignore '**/__tests__/**' --config-file ../../babel.config.js", "build:lib:watch": "npm run build:lib -- --watch", "build:watch": "npm run build:clean && npm run build:lib:watch && npm run build:flow" }, "repository": { "type": "git", "url": "https://github.com/nteract/nteract.git" }, "keywords": [ "React", "ReactJS", "Time", "Ago", "TimeAgo", "ender" ], "publishConfig": { "access": "public" }, "author": "Naman Goel", "license": "MIT", "bugs": { "url": "https://github.com/nteract/nteract/issues" }, "homepage": "https://github.com/nteract/nteract", "peerDependencies": { "react": "^16.3.2" }, "dependencies": { "@babel/runtime-corejs2": "^7.0.0", "babel-runtime": "^6.26.0" }, "gitHead": "3f9fa9a396cc966327b9d084239d9e024e78664b" }