tai64
Version:
TypeScript implementation of TAI64 timestamps for Node.js and the browser
91 lines (90 loc) • 2.04 kB
JSON
{
"name": "tai64",
"version": "1.0.0",
"description": "TypeScript implementation of TAI64 timestamps for Node.js and the browser",
"keywords": [
"tai",
"tai64",
"date",
"time",
"timestamp",
"typescript"
],
"author": "hl2",
"license": "MIT",
"homepage": "https://github.com/hl2/tai64#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/hl2/tai64.git"
},
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib"
],
"scripts": {
"clean": "rimraf lib .nyc_output coverage",
"lint:src": "tslint -p tsconfig.json",
"lint:test": "tslint -p test/tsconfig.json",
"format": "prettier --write '{src,test}/**/*.{ts,json}' '*.{md,json}'",
"build": "tsc",
"test": "nyc mocha 'test/**/*.test.ts'",
"test:ci": "nyc --reporter=lcov mocha 'test/**/*.test.ts' && cat coverage/lcov.info | coveralls",
"prebuild": "run-s clean lint:src",
"pretest": "run-s clean lint:test",
"pretest:ci": "run-s clean lint:test",
"prepack": "run-s build",
"preversion": "run-s build test"
},
"dependencies": {
"@types/long": "4.0.0",
"@types/node": "10.12.18",
"long": "4.0.0"
},
"devDependencies": {
"@types/chai": "4.1.7",
"@types/mocha": "5.2.5",
"chai": "4.2.0",
"coveralls": "3.0.2",
"husky": "1.2.1",
"lint-staged": "8.1.0",
"mocha": "5.2.0",
"npm-run-all": "4.1.5",
"nyc": "13.1.0",
"prettier": "1.15.3",
"rimraf": "2.6.2",
"ts-node": "7.0.1",
"tslint": "5.12.0",
"tslint-config-prettier": "1.17.0",
"typescript": "3.2.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"nyc": {
"all": true,
"extension": [
".ts"
],
"include": [
"src"
],
"exclude": [
"**/*.d.ts"
],
"require": [
"ts-node/register"
]
},
"prettier": {
"trailingComma": "es5"
},
"lint-staged": {
"*.{ts,json,md}": [
"prettier --write",
"git add"
]
}
}