-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
96 lines (96 loc) · 2.29 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
88
89
90
91
92
93
94
95
96
{
"name": "exponential-backoff-generator",
"version": "2.0.1",
"description": "Exponential backoff generator. Robust retry function.",
"keywords": [
"backoff",
"exponential_backoff",
"generator",
"retry"
],
"homepage": "https://github.com/azu/exponential-backoff-generator",
"bugs": {
"url": "https://github.com/azu/exponential-backoff-generator/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/azu/exponential-backoff-generator.git"
},
"license": "MIT",
"author": "azu",
"main": "./mjs/index.mjs",
"module": "./esm/index.js",
"types": "./dts/index.d.ts",
"directories": {
"lib": "lib",
"test": "test"
},
"files": [
"bin/",
"dts/**/*.d.ts",
"esm/**/*.{js,map}",
"lib/",
"lib/**/*.{js,map}",
"mjs/**/*.{mjs,map}",
"src/",
"src/**/*.{ts,tsx,json}"
],
"scripts": {
"build": "packemon build --addEngines --addFiles --addExports --declaration",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
"pack": "NODE_ENV=production packemon pack --addEngines --addFiles --addExports --declaration",
"prepare": "git config --local core.hooksPath .githooks",
"prepublish": "npm run --if-present build",
"test": "mocha \"test/**/*.ts\"",
"watch": "tsc -p . --watch"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css}": [
"prettier --write"
]
},
"prettier": {
"printWidth": 120,
"singleQuote": false,
"tabWidth": 4,
"trailingComma": "none"
},
"devDependencies": {
"@types/mocha": "^10.0.0",
"@types/node": "^18.11.9",
"cross-env": "^7.0.3",
"lint-staged": "^13.0.3",
"mocha": "^10.1.0",
"packemon": "^2.4.1",
"prettier": "^2.7.1",
"ts-node": "^10.9.1",
"ts-node-test-register": "^10.0.0",
"typescript": "^4.8.4"
},
"engines": {
"node": ">=14.15.0",
"npm": ">=6.14.0"
},
"packemon": {
"format": "esm",
"platform": [
"browser",
"node"
]
},
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dts/index.d.ts",
"browser": {
"module": "./esm/index.js",
"import": "./esm/index.js",
"default": "./lib/index.js"
},
"node": {
"import": "./mjs/index.mjs"
},
"default": "./lib/index.js"
}
}
}