Skip to content

Commit 6601225

Browse files
committed
Better package.json
1 parent 8c68885 commit 6601225

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

package.json

+14-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,20 @@
22
"name": "@solvedac-community/api",
33
"version": "3.2021.09+b2",
44
"description": "자동 생성되는 TypeScript solved.ac API 클라이언트",
5-
"main": "index.js",
5+
"type": "module",
6+
"main": "./dist/index.js",
7+
"exports": {
8+
"./apis": "./dist/apis/index.js",
9+
"./models": "./dist/apis/models.js",
10+
"./*": "./dist/*.js"
11+
},
12+
"typesVersions": {
13+
"*": {
14+
"*": [
15+
"./dist/*"
16+
]
17+
}
18+
},
619
"scripts": {
720
"generate": "openapi-generator-cli batch --clean typescript-fetch.yaml",
821
"build": "rimraf dist && tsc"

0 commit comments

Comments
 (0)