time-left-ago
Version:
Provide time left and time ago
92 lines (91 loc) • 2.71 kB
JSON
{
"name": "time-left-ago",
"description": "Provide time left and time ago",
"url": "",
"keywords": [
"second",
"time",
"format",
"util"
],
"author": {
"name": "Tali Israeli",
"email": "tali180888@gmail.com"
},
"nyc": {
"statements": 95,
"branches": 95,
"lines": 95,
"include": [
"src/**/*.js"
],
"exclude": [
"src/**/*.test.js"
],
"cache": false
},
"main": "lib/index.js",
"scripts": {
"build": "run-s build:clean build:ts",
"build:clean": "rimraf lib",
"build:ts": "tsc",
"build:test": "tsc -p tsconfig.test.json",
"build:travis": "run-s lint coverage:travis build:test",
"coverage": "run-s build:test coverage:test coverage:report:html",
"coverage:check": "nyc check-coverage",
"coverage:open": "open-cli coverage/index.html",
"coverage:report": "run-s coverage:report:*",
"precoverage:report:html": "rimraf coverage",
"coverage:report:html": "nyc report --reporter=html",
"coverage:test": "nyc mocha \"lib/src/**/*.test.js\"",
"coverage:travis": "run-s coverage:test coverage:travis:report coverage:check",
"coverage:travis:report": "if-node-version ^6 run-s coverage:report",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"prepublish": "in-publish && run-s lint coverage coverage:check build || not-in-publish",
"mocha": "mocha \"lib/src/**/*.test.js\"",
"test": "run-s build:test mocha",
"test:watch": "watch 'mocha \"lib/src/**/*.test.js\" --reporter min' src --ignoreDotFiles"
},
"dependencies": {
"moment": "^2.17.1",
"pluralize": "^5.0.0"
},
"devDependencies": {
"@types/chai": "^4.2.14",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.22",
"@types/pluralize": "^0.0.29",
"@typescript-eslint/eslint-plugin": "^4.14.2",
"@typescript-eslint/parser": "^4.14.2",
"chai": "^3.5.0",
"chai-as-promised": "^6.0.0",
"coveralls": "^2.12.0",
"eslint": "^7.19.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-prettier": "^3.3.1",
"if-node-version": "^1.1.1",
"in-publish": "^2.0.0",
"lnfs-cli": "^1.0.1",
"mkdirp": "^0.5.1",
"mocha": "^3.2.0",
"mocha-clean": "^1.0.0",
"mocha-lcov-reporter": "^1.0.0",
"npm-check": "^5.4.0",
"npm-run-all": "^4.0.2",
"nyc": "^10.1.2",
"open-cli": "^1.0.5",
"prettier": "^2.2.1",
"rimraf": "^2.6.1",
"testdouble": "^2.0.3",
"testdouble-chai": "^0.5.0",
"typescript": "^4.1.3",
"watch": "^1.0.2"
},
"repository": {
"type": "git",
"url": "https://github.com/TaliIsraeli88/time-left-ago.git"
},
"version": "2.0.2",
"license": "MIT"
}