UNPKG

watchdog

Version:

An Timer used to Detect and Recover from Malfunctions

82 lines (81 loc) 2.33 kB
{ "name": "watchdog", "version": "0.8.17", "description": "An Timer used to Detect and Recover from Malfunctions", "main": "bundles/watchdog.umd.js", "types": "dist/watchdog.d.ts", "directories": { "test": "tests" }, "scripts": { "build": "tsc --module esnext", "clean": "shx rm -fr dist/* bundles/*", "dist": "npm run clean && npm run build && npm run rollup && npm run dist:es6to5", "dist:es6to5": "tsc --out ./bundles/watchdog.umd.js --target es5 --allowJs bundles/watchdog.es6.umd.js --lib es6,dom", "doc": "npm run dist && echo '# Watchdog v'$(jq -r .version package.json)' Documentation\n' > docs/index.md && jsdoc2md dist/watchdog.js >> docs/index.md", "demo": "ts-node examples/demo", "example": "npm run dmeo", "lint": "tslint --project tsconfig.json && npm run clean && tsc --noEmit", "pack": "npm pack", "rollup": "rollup -c", "test": "npm run lint && npm run test:unit", "test:unit": "blue-tape -r ts-node/register \"src/**/*.spec.ts\" \"tests/**/*.spec.ts\"", "test:pack": "bash -x scripts/npm-pack-testing.sh" }, "repository": { "type": "git", "url": "git+https://github.com/huan/watchdog.git" }, "keywords": [ "watchdog", "timer" ], "author": "Huan LI <zixia@zixia.net>", "license": "Apache-2.0", "bugs": { "url": "https://github.com/huan/watchdog/issues" }, "homepage": "https://github.com/huan/watchdog#readme", "devDependencies": { "@types/blue-tape": "^0.1.31", "@types/node": "^10.0.3", "@types/semver": "^5.5.0", "@types/sinon": "^5.0.1", "blue-tape": "^1.0.0", "brolog": "^1.3.3", "git-scripts": "^0.2.1", "jsdoc-to-markdown": "^4.0.1", "rollup": "^0.65.2", "rollup-plugin-json": "^3.0.0", "semver": "^5.5.0", "shx": "^0.3.0", "sinon": "^6.0.0", "sinon-test": "^2.1.1", "source-map-support": "^0.5.0", "ts-node": "^7.0.0", "tslint": "^5.7.0", "typescript": "^3.0.3" }, "peerDependencies": {}, "dependencies": { "brolog": "^1.3.3" }, "files": [ "package.json", "README.md", "CHANGELOG.md", "LICENSE", "bundles/", "src/", "dist/" ], "git": { "scripts": { "pre-push": "./scripts/pre-push.sh" } }, "publishConfig": { "access": "public", "tag": "latest" } }