76 lines
2 KiB
JSON
76 lines
2 KiB
JSON
{
|
|
"name": "sdf-2d",
|
|
"version": "0.7.6",
|
|
"description": "Graphics framework for efficiently rendering 2D signed distance fields.",
|
|
"keywords": [
|
|
"webgl",
|
|
"webgl2",
|
|
"glsl",
|
|
"sdf",
|
|
"distance-field",
|
|
"signed-distance-field",
|
|
"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"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/schmelczerandras/sdf-2d.git"
|
|
},
|
|
"license": "ISC",
|
|
"exports": {
|
|
".": {
|
|
"import": "./lib/main.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"start": "rm -rf lib/* && webpack --mode development -w",
|
|
"build": "rm -rf lib/* docs/* && npx typedoc && webpack --mode production",
|
|
"test": "tsc --noEmit",
|
|
"format": "prettier --check \"src/**/*.{ts,json}\"",
|
|
"format:fix": "prettier --write \"src/**/*.{ts,json}\"",
|
|
"lint": "eslint src",
|
|
"lint:fix": "eslint src --fix",
|
|
"fix": "npm run lint:fix && npm run format:fix"
|
|
},
|
|
"main": "lib/main.js",
|
|
"types": "lib/src/main.d.ts",
|
|
"files": [
|
|
"lib"
|
|
],
|
|
"sideEffects": [
|
|
"src/main.ts"
|
|
],
|
|
"dependencies": {
|
|
"gl-matrix": "^3.4.4",
|
|
"resize-observer-polyfill": "^1.5.1"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@typescript-eslint/eslint-plugin": "^8.60.1",
|
|
"@typescript-eslint/parser": "^8.60.1",
|
|
"eslint": "^10.4.1",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-prettier": "^5.5.6",
|
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
"globals": "^17.6.0",
|
|
"prettier": "^3.8.3",
|
|
"raw-loader": "^4.0.2",
|
|
"terser-webpack-plugin": "^5.6.1",
|
|
"ts-loader": "^9.6.0",
|
|
"typedoc": "^0.28.19",
|
|
"typedoc-plugin-extras": "^4.0.1",
|
|
"typescript": "^6.0.3",
|
|
"webpack": "^5.107.2",
|
|
"webpack-cli": "^7.0.3"
|
|
}
|
|
}
|