hirestime
Version:
thin wrapper around process.hrtime
63 lines (62 loc) • 1.55 kB
JSON
{
"name": "hirestime",
"version": "7.0.4",
"type": "module",
"description": "thin wrapper around process.hrtime",
"exports": {
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"default": "./dist/index.esm.js"
},
"main": "./dist/index.cjs",
"module": "./dist/index.esm.js",
"umd:main": "./dist/index.umd.js",
"types": "./dist/index.d.ts",
"scripts": {
"prepublish": "npm run build",
"build": "microbundle --no-sourcemap",
"test": "ts-mocha --require test/windowMock.js --paths test/**/*.ts",
"test:watch": "ts-mocha --require test/windowMock.js --paths test/**/*.ts -w --watch-extensions ts"
},
"repository": {
"type": "git",
"url": "git://github.com/seriousManual/hirestime.git"
},
"keywords": [
"hrtime",
"hirestimer",
"milliseconds",
"seconds",
"nanoseconds",
"high resolution timer",
"profiling",
"profiler",
"timing",
"measurement"
],
"author": "Manuel Ernst <seriousstuff@gmx.de>",
"license": "MIT",
"bugs": {
"url": "https://github.com/seriousManual/hirestime/issues"
},
"devDependencies": {
"@types/chai": "^4.2.12",
"@types/expect": "^24.3.0",
"@types/mocha": "^9.1.1",
"@types/node": "^17.0.35",
"@types/sinon": "^10.0.11",
"chai": "^4.2.0",
"microbundle": "^0.15.1",
"mocha": "^10.0.0",
"sinon": "^14.0.0",
"ts-mocha": "^10.0.0",
"ts-node": "^10.7.0",
"tsconfig-paths": "^4.0.0"
},
"files": [
"dist"
],
"engines": {
"node": ">=6.0"
}
}