-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
87 lines (87 loc) · 2.53 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"name": "watchdog",
"version": "0.9.2",
"description": "An Timer used to Detect and Recover from Malfunctions",
"type": "module",
"exports": {
".": {
"import": "./dist/esm/src/mod.js",
"require": "./dist/cjs/src/mod.js"
}
},
"typings": "./dist/esm/src/mod.d.ts",
"engines": {
"node": ">=16",
"npm": ">=7"
},
"scripts": {
"build": "tsc && tsc -p tsconfig.cjs.json",
"clean": "shx rm -fr dist/* bundles/*",
"dist": "npm-run-all clean build dist:commonjs",
"dist:commonjs": "jq -n \"{ type: \\\"commonjs\\\" }\" > dist/cjs/package.json",
"lint": "npm-run-all lint:es lint:ts lint:md",
"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:md": "markdownlint README.md",
"lint:es": "eslint --ignore-pattern tests/fixtures/ '{bin,examples,scripts,src,tests}/**/*.ts'",
"lint:ts": "tsc --isolatedModules --noEmit",
"rollup": "rollup -c",
"test": "npm run lint && npm run test:unit",
"test:unit": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" tap \"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": {
"@chatie/eslint-config": "^0.14.1",
"@chatie/git-scripts": "^0.6.1",
"@chatie/semver": "^0.4.7",
"@chatie/tsconfig": "^0.20.2",
"brolog": "^1.3.3",
"cross-env": "^7.0.3",
"jsdoc-to-markdown": "^7.0.0",
"npm-run-all": "^4.1.5",
"pkg-jq": "^0.2.4",
"rollup": "^2.0.0",
"rollup-plugin-json": "^4.0.0",
"shx": "^0.3.0",
"source-map-support": "^0.5.0",
"tstest": "^0.7.3"
},
"peerDependencies": {},
"dependencies": {
"brolog": "^1.3.3"
},
"files": [
"bin/",
"bundles/",
"dist/",
"src/"
],
"tap": {
"check-coverage": false
},
"publishConfig": {
"access": "public",
"tag": "next"
},
"git": {
"scripts": {
"pre-push": "npx git-scripts-pre-push"
}
}
}