-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
105 lines (105 loc) · 2.68 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
97
98
99
100
101
102
103
104
105
{
"name": "@viveknayyar/re-promise",
"version": "0.0.3",
"description": "Retry failed api calls with a backoff time",
"keywords": [
"retry-promise",
"promise-retry",
"api-promise",
"re-promise"
],
"main": "dist/index.js",
"module": "dist/index.es.js",
"esmodule": "dist/foo.modern.js",
"unpkg": "dist/index.umd.js",
"files": [
"dist",
"README.md"
],
"scripts": {
"test": "cross-env NODE_ENV=test jest",
"test:watch": "cross-env NODE_ENV=test jest --watch",
"test:coverage": "cross-env NODE_ENV=test jest --coverage && cat ./coverage/lcov.info | coveralls",
"lint": "eslint src/",
"lint:fix": "eslint --fix src/",
"build": "microbundle build",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate",
"commit": "./node_modules/.bin/git-cz",
"prepare": "npm run build",
"precommit": "lint-staged",
"prepublish": "npm run test && npm run build"
},
"lint-staged": {
"src/**/*.js": [
"prettier --config .prettierrc --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run test"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/vivek12345/re-promise.git"
},
"author": "Vivek Nayyar <vivek.of.nayyar@gmail.com> (https://viveknayyar.in)",
"license": "MIT",
"bugs": {
"url": "https://github.com/vivek12345/re-promise/issues"
},
"homepage": "https://github.com/vivek12345/re-promise#readme",
"jest": {
"collectCoverageFrom": [
"src/**/*.{js}"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.{js}",
"<rootDir>/src/**/?(*.)test.js"
],
"testEnvironment": "jsdom",
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx|mjs)$": "<rootDir>/node_modules/babel-jest"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$"
],
"moduleFileExtensions": [
"web.js",
"js",
"json",
"web.jsx",
"jsx",
"node",
"mjs"
]
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.10.2",
"all-contributors-cli": "^6.15.0",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^9.0.0",
"babel-jest": "^26.0.1",
"coveralls": "^3.0.2",
"cross-env": "^5.2.0",
"cz-conventional-changelog": "^3.2.0",
"eslint": "^5.4.0",
"husky": "^4.2.5",
"jest": "^26.0.1",
"jest-cli": "^26.0.1",
"lint-staged": "^10.2.9",
"microbundle": "^0.12.0",
"prettier": "^1.14.2",
"raf": "^3.4.0"
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
}
}