Skip to content

Commit

Permalink
updates repo to match silmarils
Browse files Browse the repository at this point in the history
  • Loading branch information
danprince committed Mar 19, 2022
1 parent 8d71512 commit 2e8273c
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 7 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Telerin
<p align="center"><img src="logo.png" height="32" alt="Logo" /></p>
<h1 align="center">Telerin</h1>
<p align="center"><a href="https://npmjs.com/package/telerin"><img src="https://img.shields.io/npm/v/telerin.svg?label=&color=000" alt="npm version" /></a></p>

Terminal/tileset renderer for web based games.

Expand Down
2 changes: 1 addition & 1 deletion example/example.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Terminal } from "..";
import { Terminal } from "../src";

const BOX_DRAWING_EXAMPLE = `
┌─┬┐ ╔═╦╗ ╓─╥╖ ╒═╤╕
Expand Down
Binary file added logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
"build": "./scripts/build",
"typecheck": "tsc --noEmit",
"declarations": "tsc --declaration --emitDeclarationOnly",
"prepublishOnly": "yarn typecheck && yarn build"
"prepublishOnly": "yarn declarations && yarn build"
},
"devDependencies": {
"esbuild": "^0.14.27",
"typescript": "^4.6.2"
},
"files": [
"dist",
"index.ts"
"src"
]
}
3 changes: 2 additions & 1 deletion scripts/build
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ let esbuild = require("esbuild");
* @type {esbuild.BuildOptions}
*/
let options = {
entryPoints: ["index.ts"],
entryPoints: ["src/index.ts"],
bundle: true,
target: ["es2020"],
minify: true,
sourcemap: true,
loader: { ".png": "dataurl" },
Expand Down
File renamed without changes.
File renamed without changes
File renamed without changes.
6 changes: 4 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
"esModuleInterop": true,
"noUnusedLocals": true,
"noImplicitReturns": true,
"outDir": "dist"
}
"outDir": "dist",
"baseUrl": "src"
},
"include": ["src"]
}

0 comments on commit 2e8273c

Please sign in to comment.