diff --git a/package.json b/package.json index 2044229..8f8d9af 100644 --- a/package.json +++ b/package.json @@ -1,21 +1,38 @@ { "name": "sdf-2d", "version": "0.0.0", - "scripts": { - "start": "shx rm -rf lib/* && webpack --watch", - "build": "shx rm -rf lib/* && webpack --production" - }, - "keywords": [], - "author": "András Schmelczer", - "browserslist": [ - "defaults" + "description": "Graphics framework for efficiently handling 2D signed distance fields.", + "keywords": [ + "webgl", + "glsl", + "sdf", + "2d", + "graphics", + "rendering", + "renderer", + "drawing", + "drawer" ], + "author": "András Schmelczer (https://schmelczer.dev/)", + "homepage": "https://github.com/schmelczerandras/sdf-2d#readme", + "bugs": { + "url": "https://github.com/schmelczerandras/sdf-2d/issues", + "email": "andras@schmelczer.dev" + }, + "license": "ISC", + "scripts": { + "start": "shx rm -rf lib/* && webpack --mode development -w", + "build": "shx rm -rf lib/* && webpack --mode production" + }, "main": "lib/main.js", - "sideEffects": false, "types": "lib/src/main.d.ts", "files": [ "lib" ], + "sideEffects": false, + "optimization": { + "usedExports": true + }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^3.10.1", "@typescript-eslint/parser": "^3.10.1",