convertible-js
Version:
Convert 12-hour time string to 24-hour time and vice versa with flexible formatting.
46 lines (45 loc) • 1.29 kB
JSON
{
"name": "convertible-js",
"version": "1.0.2",
"description": "Convert 12-hour time string to 24-hour time and vice versa with flexible formatting.",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"files": [
"lib/**/*"
],
"scripts": {
"test": "jest --config jestconfig.json",
"build": "tsc",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
"lint": "tslint -p tsconfig.json",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push origin master --tags"
},
"keywords": [
"time",
"convert",
"clock",
"utility",
"12-hour",
"24-hour"
],
"author": "Ana Liza Pandac <analizapandac@gmail.com>",
"license": "MIT",
"repository": "https://github.com/analizapandac/convertible-js",
"bugs": {
"url": "https://github.com/analizapandac/convertible-js/issues"
},
"homepage": "https://github.com/analizapandac/convertible-js#readme",
"devDependencies": {
"@types/jest": "^24.0.18",
"jest": "^24.9.0",
"prettier": "^1.18.2",
"ts-jest": "^24.0.2",
"tslint": "^5.19.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.6.2"
}
}