-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
73 lines (73 loc) · 2.05 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": "promise-retryable",
"version": "1.1.0",
"description": "Retries a function which returns a promise, with configurable backoff and attempts",
"main": "./lib/index.js",
"module": "./es/index.js",
"author": "Nitish",
"license": "MIT",
"homepage": "https://github.com/nitishkr88/promise-retryable#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/nitishkr88/promise-retryable.git"
},
"bugs": {
"url": "https://github.com/nitishkr88/promise-retryable/issues"
},
"scripts": {
"build": "npm run build:lib && npm run build:es && npm run build:umd && npm run build:umd:min",
"build:lib": "babel src --out-dir lib --ignore __tests__",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es --ignore __tests__",
"build:umd": "cross-env webpack --mode development src/index.js -o dist/promise-retryable.js",
"build:umd:min": "cross-env webpack --mode production src/index.js -o dist/promise-retryable.min.js",
"clean": "rimraf dist lib es",
"format": "prettier-eslint \"+(src)/**/*.+(js)\" --ignore \"**/bundle.js\" --write",
"lint": "eslint src",
"precommit": "lint-staged",
"prepublishOnly": "npm run lint && npm run clean && npm run build",
"test": "echo \"Error: no test specified\" && exit 0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.5",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-env": "^1.7.0",
"cross-env": "^5.2.0",
"prettier": "^1.14.2",
"prettier-eslint-cli": "^4.7.1",
"webpack": "^4.17.1",
"webpack-cli": "^3.1.0"
},
"dependencies": {
"invariant": "^2.2.4"
},
"keywords": [
"promise",
"retry",
"fetch",
"api",
"retryable"
],
"files": [
"README.md",
"es",
"lib",
"dist"
],
"lint-staged": {
"*.{js,json,md,css}": [
"prettier --write",
"git add"
]
},
"npmName": "promise-retryable",
"npmFileMap": [
{
"basePath": "/dist/",
"files": [
"*.js"
]
}
]
}