Skip to content

Commit c38fd49

Browse files
authored
Merge pull request #197 from litecanvas/fix
improve package.json readability
2 parents 62acffd + ba92481 commit c38fd49

File tree

2 files changed

+6
-24
lines changed

2 files changed

+6
-24
lines changed

package.json

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "litecanvas",
3-
"version": "0.92.0",
3+
"version": "0.92.1",
44
"description": "Lightweight HTML5 canvas 2D game engine suitable for small projects and creative coding. Inspired by PICO-8 and P5/Processing.",
55
"license": "MIT",
66
"author": "Luiz Bills <luizbills@pm.me>",
@@ -17,29 +17,12 @@
1717
"main": "./src/index.js",
1818
"module": "./src/index.js",
1919
"types": "./types/index.d.ts",
20-
"exports": {
21-
".": {
22-
"import": {
23-
"types": "./types/index.d.ts",
24-
"default": "./src/index.js"
25-
}
26-
},
27-
"./global": "./src/index.js"
28-
},
29-
"typesVersions": {
30-
"*": {
31-
"./global": [
32-
"./types/global.d.ts"
33-
]
34-
}
35-
},
3620
"keywords": [
37-
"canvas",
21+
"game engine",
22+
"game development",
3823
"2d",
39-
"html5",
24+
"canvas",
4025
"gamedev",
41-
"game engine",
42-
"javascript",
4326
"js13k",
4427
"creative-coding",
4528
"pico-8",
@@ -70,10 +53,9 @@
7053
"test:watch": "ava --watch",
7154
"dev": "esbuild src/web.js --bundle --watch --outfile=dist/dist.dev.js --servedir=.",
7255
"build": "npm run genversion && node script/build.js && size-limit",
73-
"gzip-size": "gzip -c dist/dist.min.js | wc -c | xargs printf \" Gzip size: %s bytes\n\"",
7456
"format": "prettier -w src/* samples/* types/* script/* types/*",
7557
"check-types": "npx ts types/*",
76-
"genversion": "genversion --es6 --semi src/version.js"
58+
"genversion": "genversion --es6 src/version.js"
7759
},
7860
"files": [
7961
"dist",

src/version.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)