Skip to content

Commit aafe140

Browse files
committed
feat: publish typings and main entry
1 parent 34f6136 commit aafe140

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
22
"name": "nest-events",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"private": false,
55
"license": "MIT",
66
"repository": {
77
"url": "https://github.com/onhate/nest-events.git"
88
},
9+
"main": "dist/index.js",
10+
"types": "dist/index.d.ts",
911
"keywords": [
1012
"nestjs",
1113
"nest.js",
@@ -19,6 +21,7 @@
1921
],
2022
"scripts": {
2123
"build": "tsc --project tsconfig-build.json",
24+
"prebuild": "npx rimraf dist",
2225
"prepublish": "npm run build",
2326
"lint": "eslint \"{src}/**/*.ts\" --fix",
2427
"test": "jest",

0 commit comments

Comments
 (0)