Skip to content

Commit

Permalink
Update package exports
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeryther committed Nov 5, 2023
1 parent d0bcfcd commit 0cfe725
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "rimraf ./lib && tsc --project tsconfig.build.json --module commonjs --outDir dist",
"build": "rimraf ./dist && tsc --project tsconfig.build.json --module commonjs --outDir dist",
"lint": "eslint --cache \"src/**/*.{js,jsx,ts,tsx}\"",
"lint:fix": "eslint --cache --fix \"src/**/*.{js,jsx,ts,tsx}\"",
"size": "limit-size",
Expand All @@ -14,6 +14,14 @@
"files": [
"dist"
],
"exports": {
"./client": "./dist/client/index.js",
"./fastcache": "./dist/modules/fastcache/index.js",
"./mcskinhistory": "./dist/modules/mcskinhistory/index.js",
"./vat": "./dist/modules/vat/index.js",
"./web-reputation": "./dist/modules/web-reputation/index.js",
"./whois": "./dist/modules/whois/index.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Gigadrive/network-sdk-js.git"
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"extends": "./tsconfig.json",
"exclude": [
"src/**/*.spec.ts",
"src/**/*.test.ts"
"src/**/*.test.ts",
"src/tests",
]
}

0 comments on commit 0cfe725

Please sign in to comment.