Improve package.json

This commit is contained in:
schmelczerandras 2020-09-17 16:52:00 +02:00
parent 36c64554f5
commit 2c26e07932

View file

@ -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 <andras@schmelczer.dev> (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",