109 lines
3.4 KiB
JSON
109 lines
3.4 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
"react-timeago@6.2.1",
|
|
"/Users/nuwan/Code/jam-cloud/jam-ui"
|
|
]
|
|
],
|
|
"_from": "react-timeago@6.2.1",
|
|
"_id": "react-timeago@6.2.1",
|
|
"_inBundle": false,
|
|
"_integrity": "sha512-b9EObWO8wy4qwfOzj+g/RQZRrPvtMv1Pz12FCdAWKWCXbDGt0rZLyiyTGEr0Lh1O8w5xa48CtRpl3LI+CtGCyw==",
|
|
"_location": "/react-timeago",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"type": "version",
|
|
"registry": true,
|
|
"raw": "react-timeago@6.2.1",
|
|
"name": "react-timeago",
|
|
"escapedName": "react-timeago",
|
|
"rawSpec": "6.2.1",
|
|
"saveSpec": null,
|
|
"fetchSpec": "6.2.1"
|
|
},
|
|
"_requiredBy": [
|
|
"/"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/react-timeago/-/react-timeago-6.2.1.tgz",
|
|
"_spec": "6.2.1",
|
|
"_where": "/Users/nuwan/Code/jam-cloud/jam-ui",
|
|
"author": {
|
|
"name": "Naman Goel"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/nmn/react-timeago/issues"
|
|
},
|
|
"dependencies": {},
|
|
"description": "A simple Time-Ago component for ReactJs",
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.13.16",
|
|
"@babel/core": "^7.14.2",
|
|
"@babel/eslint-parser": "^7.14.2",
|
|
"@babel/plugin-syntax-flow": "^7.12.13",
|
|
"@babel/plugin-syntax-jsx": "^7.12.13",
|
|
"@babel/plugin-transform-flow-strip-types": "^7.13.0",
|
|
"@babel/plugin-transform-react-jsx": "^7.13.12",
|
|
"@babel/preset-env": "^7.14.2",
|
|
"@babel/preset-flow": "^7.13.13",
|
|
"@babel/preset-react": "^7.13.13",
|
|
"@babel/preset-stage-1": "^7.8.3",
|
|
"@rollup/plugin-babel": "^5.3.0",
|
|
"@rollup/plugin-commonjs": "^19.0.0",
|
|
"@rollup/plugin-node-resolve": "^13.0.0",
|
|
"@rollup/plugin-replace": "^2.4.2",
|
|
"@testing-library/jest-dom": "^5.11.4",
|
|
"@testing-library/react": "^11.0.4",
|
|
"babel-jest": "^26.3.0",
|
|
"eslint": "^7.26.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-flowtype": "^5.7.2",
|
|
"eslint-plugin-import": "^2.23.2",
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
"flow-bin": "^0.151.0",
|
|
"jest": "^26.4.2",
|
|
"prettier": "^2.3.0",
|
|
"react": "^17.0.2",
|
|
"react-addons-test-utils": "^15.6.2",
|
|
"react-dom": "^17.0.2",
|
|
"rollup": "^2.48.0"
|
|
},
|
|
"homepage": "https://github.com/nmn/react-timeago",
|
|
"keywords": [
|
|
"React",
|
|
"ReactJS",
|
|
"Time",
|
|
"Ago",
|
|
"TimeAgo",
|
|
"ender"
|
|
],
|
|
"license": "MIT",
|
|
"main": "lib/index.js",
|
|
"module": "es6/index.js",
|
|
"name": "react-timeago",
|
|
"peerDependencies": {
|
|
"react": "^16.0.0 || ^17.0.0"
|
|
},
|
|
"prettier": {
|
|
"printWidth": 80,
|
|
"parser": "flow",
|
|
"semi": false,
|
|
"trailingComma": "all",
|
|
"singleQuote": true
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/naman34/react-timeago.git"
|
|
},
|
|
"scripts": {
|
|
"babel": "babel src/ --out-dir lib/ --presets=@babel/env,@babel/react,@babel/flow",
|
|
"babel-es6": "babel src/ --out-dir es6/ --presets=@babel/react,@babel/flow",
|
|
"build": "npm run babel && npm run babel-es6 && npm run cpflow && npm run cpflow-es6 && npm run example",
|
|
"cpflow": "find ./src -name '*.js' -not -path '*/__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\\/src\\//\\/lib\\//g'`.flow; done",
|
|
"cpflow-es6": "find ./src -name '*.js' -not -path '*/__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\\/src\\//\\/es6\\//g'`.flow; done",
|
|
"example": "rollup -c ./rollup.config.js",
|
|
"prepublish": "npm run build",
|
|
"test": "jest --coverage"
|
|
},
|
|
"version": "6.2.1"
|
|
}
|