Skip to content

Commit

Permalink
add typescript options for package publish to package.json and tsconf…
Browse files Browse the repository at this point in the history
…ig.json
  • Loading branch information
JO-OLADEJI committed Aug 30, 2022
1 parent 16ad869 commit 927fd6d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
logos/
node_modules/
logos/
.DS_Store
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,16 @@
"version": "2.0.0",
"description": "Tokenlist typings, schema and lists used on Trader Joe.",
"main": "dist/index.js",
"types": "index.d.ts",
"files": [
"dist"
],
"repository": "https://github.com/traderjoe-xyz/joe-tokenlists.git",
"author": "traderjoexyz",
"scripts": {
"start": "npx tsc --watch",
"build": "npx tsc --build"
"build": "npx tsc --build",
"prepublishOnly": "npx tsc --build"
},
"license": "MIT",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"target": "es2016",
"module": "commonjs",
"esModuleInterop": true,
"declaration": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true,
Expand Down

0 comments on commit 927fd6d

Please sign in to comment.