-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
46 lines (46 loc) · 1.22 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
{
"name": "flatry",
"version": "1.0.15",
"description": "Flatry converting promise or function to flat array response. Inspired by golang style error handling without try/catch.",
"keywords": [
"flat",
"flatten",
"promise",
"async",
"await",
"golang",
"error handling",
"destructuring",
"try",
"catch"
],
"main": "cjs/index.js",
"module": "esm/index.js",
"scripts": {
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "tsc index.ts --declaration --outDir esm --lib es2015",
"build:cjs": "tsc index.ts --declaration --module commonjs --lib es2015 --outDir cjs",
"postbuild": "npm run test",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ymatuhin/flatry.git"
},
"author": "ymatuhin",
"license": "MIT",
"bugs": {
"url": "https://github.com/ymatuhin/flatry/issues"
},
"homepage": "https://github.com/ymatuhin/flatry#readme",
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.18.6",
"@types/jest": "^29.4.0",
"@types/node": "^18.11.18",
"babel-jest": "^29.4.1",
"jest": "^29.4.1",
"typescript": "^4.9.5"
}
}