UNPKG

js-draw

Version:

Draw pictures using a pen, touchscreen, or mouse! JS-draw is a drawing library for JavaScript and TypeScript.

91 lines (90 loc) 2.49 kB
{ "name": "js-draw", "version": "1.29.1", "description": "Draw pictures using a pen, touchscreen, or mouse! JS-draw is a drawing library for JavaScript and TypeScript. ", "types": "./dist/mjs/lib.d.ts", "main": "./dist/cjs/lib.js", "exports": { ".": { "types": "./dist/mjs/lib.d.ts", "import": "./dist/mjs/lib.mjs", "require": "./dist/cjs/lib.js" }, "./styles": { "default": "./src/styles.js" }, "./Editor.css": { "default": "./dist/Editor.css" }, "./bundle": { "types": "./dist/mjs/bundle/bundled.d.ts", "default": "./dist/bundle.js" }, "./bundledStyles": { "default": "./dist/bundledStyles.js" }, "./Editor": { "types": "./dist/mjs/Editor.d.ts", "require": "./dist/cjs/Editor.js", "default": "./dist/mjs/Editor.mjs" }, "./types": { "types": "./dist/mjs/types.d.ts", "default": "./dist/mjs/types.mjs" }, "./localization": { "types": "./dist/mjs/localization.d.ts", "require": "./dist/cjs/localization.js", "default": "./dist/mjs/localization.mjs" }, "./components": { "types": "./dist/mjs/components/lib.d.ts", "require": "./dist/cjs/components/lib.js", "default": "./dist/mjs/components/lib.mjs" }, "./commands": { "types": "./dist/mjs/commands/lib.d.ts", "require": "./dist/cjs/commands/lib.js", "default": "./dist/mjs/commands/lib.mjs" } }, "repository": { "type": "git", "url": "git+https://github.com/personalizedrefrigerator/js-draw.git" }, "author": "Henry Heino", "license": "MIT", "scripts": { "dist-test": "cd dist-test/test_imports && yarn install && yarn run test", "dist": "yarn run build && yarn run dist-test", "build": "build-tool build", "watch": "build-tool watch", "build-translation-templates": "build-tool build-translation-templates", "prepack": "yarn run dist && cd ../../ && yarn run test && cd packages/js-draw && ts-node tools/copyREADME.ts copy", "postpack": "ts-node tools/copyREADME.ts revert" }, "dependencies": { "@js-draw/math": "^1.29.1", "@melloware/coloris": "0.22.0" }, "devDependencies": { "@js-draw/build-tool": "^1.29.1", "@types/jest": "29.5.5", "@types/jsdom": "21.1.3" }, "bugs": { "url": "https://github.com/personalizedrefrigerator/js-draw/issues" }, "homepage": "https://github.com/personalizedrefrigerator/js-draw#readme", "directories": { "doc": "docs" }, "keywords": [ "ink", "drawing", "pen", "freehand", "svg" ], "gitHead": "c82d0fc2a1c0d6257a54fde9cf40d5a05cb51213" }