-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
43 lines (43 loc) · 1.59 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
{
"name": "then-retry",
"version": "0.0.0",
"description": "Retry a function that returns a promise",
"main": "./lib/commonjs/index.cjs",
"types": "./lib/es/index.d.ts",
"type": "module",
"scripts": {
"build": "yarn build:commonjs && yarn build:esm",
"build:commonjs": "tsc && mv lib/commonjs/index.js lib/commonjs/index.cjs && (echo \";module.exports = exports.default;Object.assign(module.exports, exports);\" >> lib/commonjs/index.cjs)",
"build:esm": "tsc -p tsconfig.es.json && mv lib/es/index.js lib/es/index.mjs",
"lint": "tslint './src/**/*.{ts,tsx}' -t verbose -p .",
"prettier:write": "prettier --ignore-path .gitignore --write './**/*.{md,json,yaml,js,jsx,ts,tsx}'",
"prettier:check": "prettier --ignore-path .gitignore --list-different './**/*.{md,json,yaml,js,jsx,ts,tsx}'",
"test": "node test/test.cjs && node test/test.mjs"
},
"files": [
"lib/commonjs/index.cjs",
"lib/es/index.mjs",
"lib/es/index.d.ts"
],
"exports": {
".": {
"types": "./lib/es/index.d.ts",
"import": "./lib/es/index.mjs",
"default": "./lib/commonjs/index.cjs"
}
},
"repository": {
"type": "git",
"url": "https://github.com/then/retry.git"
},
"author": "ForbesLindesay",
"license": "MIT",
"devDependencies": {
"@forbeslindesay/tsconfig": "^2.0.0",
"@types/node": "^13.13.4",
"prettier": "^2.0.5",
"tslint": "^6.1.2",
"typescript": "^3.8.3"
},
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}