Skip to content

Commit b047449

Browse files
committed
feat: add exports to package.json
1 parent d9d282a commit b047449

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

packages/angular-html-parser/package.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,20 @@
22
"name": "angular-html-parser",
33
"version": "7.0.0",
44
"description": "A HTML parser extracted from Angular with some modifications",
5-
"main": "./lib/angular-html-parser/src/index.js",
6-
"types": "./lib/angular-html-parser/src/index.d.ts",
75
"repository": "https://github.com/prettier/angular-html-parser",
86
"homepage": "https://github.com/prettier/angular-html-parser/blob/master/packages/angular-html-parser#readme",
97
"author": {
108
"name": "Ika",
119
"email": "[email protected]",
1210
"url": "https://github.com/ikatyang"
1311
},
12+
"exports": {
13+
".":{
14+
"types": "./lib/angular-html-parser/src/index.d.ts",
15+
"default":"./lib/angular-html-parser/src/index.js"
16+
},
17+
"./*": "./*"
18+
},
1419
"license": "MIT",
1520
"scripts": {
1621
"prepublish": "yarn run build",

0 commit comments

Comments
 (0)