Skip to content

Commit

Permalink
Merge pull request #3 from lajbel/fix-all
Browse files Browse the repository at this point in the history
feat: add test and dev mode
  • Loading branch information
lajbel authored Sep 14, 2024
2 parents f80e58a + be4c597 commit 1780c66
Show file tree
Hide file tree
Showing 8 changed files with 658 additions and 15 deletions.
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
node_modules
dist
test
docs
docs.json
.wrangler
.vscode
.vscode
dist
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
kiboom is a KAPLAY plugin that mainly provides a set of new "factory"
functions, made for create new easily modifiable objects.
KIBOOM is a toolbox for KAPLAY, that provides some features that are not available in KAPLAY.

## Installation

Expand Down
14 changes: 14 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>

<body>
<script src="./test/test.ts" type="module"></script>
</body>

</html>
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kiboom",
"version": "1.0.5",
"version": "1.0.6",
"description": "A plugin for KAPLAY that adds prefab like creation",
"keywords": [
"kaboom.js",
Expand All @@ -20,11 +20,13 @@
"module": "./dist/kiboom.mjs",
"types": "./dist/kiboom.d.ts",
"scripts": {
"install": "pnpm run build",
"build": "dts-bundle-generator -o dist/first.d.ts src/types.ts && node scripts/buildAll.js",
"doc": "typedoc",
"doc:json": "typedoc --json docs.json",
"test": "esbuild --bundle test/main.ts --outfile=test/game.js --servedir=test --sourcemap",
"fmt": "dprint fmt"
"fmt": "dprint fmt",
"dev": "vite"
},
"exports": {
".": {
Expand Down Expand Up @@ -54,7 +56,8 @@
"tsconfig.json"
],
"dependencies": {
"kaplay": "3001.0.0-alpha.18"
"kaplay": "3001.0.0-beta.1",
"vite": "^5.4.5"
},
"devDependencies": {
"@types/json-schema": "^7.0.15",
Expand Down
Loading

0 comments on commit 1780c66

Please sign in to comment.