Skip to content

Commit

Permalink
Re-structure folder for package publish (traderjoe-xyz#561)
Browse files Browse the repository at this point in the history
  • Loading branch information
JO-OLADEJI authored Aug 29, 2022
1 parent d06f9f2 commit e176096
Show file tree
Hide file tree
Showing 10 changed files with 44 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
node_modules/
dist/
.DS_Store
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
logos/
5 changes: 0 additions & 5 deletions index.ts

This file was deleted.

15 changes: 15 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "joe-tokenlists",
"version": "1.0.0",
"main": "dist/index.js",
"repository": "https://github.com/traderjoe-xyz/joe-tokenlists.git",
"author": "traderjoexyz",
"scripts": {
"start": "npx tsc --watch",
"build": "npx tsc --build"
},
"license": "MIT",
"devDependencies": {
"typescript": "^4.8.2"
}
}
5 changes: 5 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import tokenlist from "./joe.tokenlist-v2.json";
import schema from "./schema.tokenlist-v2.json";

export * from "./types";
export { schema, tokenlist };
File renamed without changes.
File renamed without changes.
File renamed without changes.
13 changes: 13 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"compilerOptions": {
"target": "es2016",
"module": "commonjs",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true,
"resolveJsonModule": true,
"rootDir": "./src",
"outDir": "dist"
}
}
8 changes: 8 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1


typescript@^4.8.2:
version "4.8.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.8.2.tgz#e3b33d5ccfb5914e4eeab6699cf208adee3fd790"
integrity sha512-C0I1UsrrDHo2fYI5oaCGbSejwX4ch+9Y5jTQELvovfmFkK3HHSZJB8MSJcWLmCUBzQBchCrZ9rMRV6GuNrvGtw==

0 comments on commit e176096

Please sign in to comment.