Skip to content

Commit 5e4f78b

Browse files
authored
Merge pull request #1 from SMBCheeky/dev
Trim down the package size and files included
2 parents cb1dd3f + 10643f7 commit 5e4f78b

1 file changed

Lines changed: 35 additions & 2 deletions

File tree

package.json

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
22
"name": "@smbcheeky/error-object",
3-
"version": "1.0.0",
3+
"description": "Create errors that can be both thrown and returned. Make error handling easier for both JavaScript and TypeScript.",
4+
"version": "1.0.1",
45
"main": "dist/index.js",
56
"module": "dist/index.mjs",
67
"types": "dist/index.d.ts",
78
"scripts": {
89
"build": "tsup src/index.ts --format cjs,esm --dts",
10+
"pack": "yarn build && npm pack",
911
"release": "yarn build && npm publish --access public",
1012
"lint": "tsc --noEmit"
1113
},
@@ -14,5 +16,36 @@
1416
"typescript": "^4.9.4"
1517
},
1618
"license": "MIT",
17-
"private": false
19+
"private": false,
20+
"homepage": "https://www.npmjs.com/package/@smbcheeky/error-object",
21+
"author": {
22+
"name": "Stefan B.",
23+
"email": "stefan@smbcheeky.com",
24+
"url": "https://www.npmjs.com/~stefan-at-smb"
25+
},
26+
"repository": {
27+
"type": "git",
28+
"url": "git+https://github.com/SMBCheeky/error-object.git"
29+
},
30+
"bugs": {
31+
"url": "https://github.com/SMBCheeky/error-object/issues"
32+
},
33+
"keywords": [
34+
"exceptions",
35+
"errors",
36+
"handling",
37+
"try",
38+
"throw",
39+
"catch",
40+
"caught",
41+
"instanceof",
42+
"debug"
43+
],
44+
"files": [
45+
"dist/",
46+
"src/",
47+
"README.md",
48+
"LICENSE",
49+
"package.json"
50+
]
1851
}

0 commit comments

Comments
 (0)