Skip to content

Commit

Permalink
fix(@nftx/types): not pushing dist folder to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
jackmellis committed Dec 21, 2022
1 parent 7d6f9b3 commit bb3f562
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": " ",
"homepage": "https://github.com/NFTX-project/nftxjs#readme",
"license": "MIT",
"main": "main.js",
"main": "dist/cjs/index.js",
"types": "dist/ts/index.d.ts",
"typedoc": {
"entryPoint": "src/index.ts"
Expand All @@ -18,7 +18,7 @@
},
"scripts": {
"lint": "eslint --fix -c ../../.eslintrc.js --ext ts,tsx src && tsc --noEmit",
"build": "rm -rf dist && tsc -d --outDir dist/ts --emitDeclarationOnly",
"build": "rm -rf dist && tsc -d --outDir dist/ts --emitDeclarationOnly && mkdir dist/cjs && echo \"module.exports = {}\" > dist/cjs/index.js",
"prepublishOnly": "yarn build"
},
"bugs": {
Expand Down

0 comments on commit bb3f562

Please sign in to comment.