/
package.json
73 lines (73 loc) · 2.35 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
{
"name": "timers-obj",
"version": "2.0.0",
"description": "Timers as objects",
"type": "module",
"exports": {
".": {
"default": "./lib/timers-obj.js",
"typings": "./lib/timers-obj.d.ts"
}
},
"main": "lib/timers-obj.js",
"typings": "lib/timers-obj.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/dex4er/js-timers-obj"
},
"keywords": [
"objects",
"timers"
],
"author": "Piotr Roszatycki",
"license": "MIT",
"bugs": {
"url": "https://github.com/dex4er/js-timers-obj/issues"
},
"homepage": "http://github.com/dex4er/js-timers-obj",
"engines": {
"node": ">=14.0.0"
},
"devDependencies": {
"@tsconfig/node14": "^1.0.1",
"@types/chai": "^4.2.22",
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.4",
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@typescript-eslint/parser": "^5.1.0",
"c8": "^7.10.0",
"chai": "^4.3.4",
"coffeescript": "^2.6.1",
"coveralls": "^3.1.1",
"eslint": "^8.51.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsdoc": "^37.9.7",
"eslint-plugin-node": "^11.1.0",
"markdownlint-cli": "^0.29.0",
"mocha": "^9.1.3",
"mocha-steps": "^1.3.0",
"prettier": "^2.8.8",
"shx": "^0.3.3",
"ts-node": "^10.4.0",
"typescript": "^4.4.4"
},
"scripts": {
"build": "npm run compile",
"compile": "tsc --pretty --project .",
"clean": "shx rm -rf lib",
"lint": "npm run lint:tsc:src && npm run lint:tsc:test && npm run lint:tsc:examples && npm run lint:eslint && npm run lint:prettier && npm run lint:markdownlint",
"lint:tsc:examples": "tsc --noEmit --pretty --project examples",
"lint:tsc:src": "tsc --noEmit --pretty --project .",
"lint:tsc:test": "tsc --noEmit --pretty --project test",
"lint:eslint": "eslint --ext .js,.ts .",
"lint:prettier": "prettier --ignore-path .gitignore --list-different '**/*.{js,json,md,ts,yml}'",
"lint:markdownlint": "markdownlint \"*.md\"",
"postpublish": "git tag v$npm_package_version -a -m \"Release v$npm_package_version\" && git push --tags",
"prepublishOnly": "npm run build",
"pretest": "npm run lint",
"test": "npm run test:spec",
"test:spec": "mocha",
"test:coverage": "c8 --no-clean --reporter=lcov npm run test:spec && c8 report --reporter=text-summary --color"
}
}