UNPKG

drawable-js

Version:

A lightweight JavaScript library to draw shapes and effects on HTML canvas, inspired by Android's Drawable.

64 lines (63 loc) 1.85 kB
{ "name": "drawable-js", "version": "1.0.4", "description": "A lightweight JavaScript library to draw shapes and effects on HTML canvas, inspired by Android's Drawable.", "main": "dist/drawable.umd.js", "module": "dist/drawable.js", "exports": { "import": "./dist/drawable.js", "require": "./dist/drawable.umd.js" }, "scripts": { "dev": "vite demo/esm", "build": "rollup -c", "lint": "eslint src tests", "test": "jest", "test:cov": "jest --coverage", "release:patch": "npm version patch && git push && git push --tags && npm publish", "release:minor": "npm version minor && git push && git push --tags && npm publish", "release:major": "npm version major && git push && git push --tags && npm publish" }, "repository": { "type": "git", "url": "https://github.com/jaianper/drawable-js.git" }, "author": "jaianper", "license": "MIT", "type": "module", "keywords": [ "canvas", "graphics", "drawing", "drawable", "html5", "2d", "shapes", "javascript" ], "devDependencies": { "@babel/core": "^7.24.0", "@babel/preset-env": "^7.24.0", "@rollup/plugin-babel": "^6.0.3", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^11.0.3", "@semantic-release/npm": "^12.0.2", "eslint": "^9.27.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-jest": "^29.0.1", "eslint-plugin-security": "^3.0.1", "eslint-plugin-unicorn": "^59.0.1", "jest": "^30.0.3", "jest-canvas-mock": "^2.5.2", "jest-environment-jsdom": "^30.0.2", "rollup": "^4.15.0", "semantic-release": "^24.2.5", "vite": "^6.3.5" }, "files": [ "dist", "README.md", "LICENSE" ] }