UNPKG

scratch-svg-renderer

Version:
80 lines (79 loc) 2.3 kB
{ "name": "scratch-svg-renderer", "version": "3.1.19", "description": "SVG renderer for Scratch", "main": "./dist/node/scratch-svg-renderer.js", "browser": "./dist/web/scratch-svg-renderer.js", "exports": { "webpack": "./src/index.js", "browser": "./dist/web/scratch-svg-renderer.js", "node": "./dist/node/scratch-svg-renderer.js", "default": "./src/index.js" }, "scripts": { "build": "npm run clean && webpack", "clean": "rimraf ./dist", "prepare": "husky install", "start": "webpack-dev-server", "test": "npm run test:lint && npm run test:unit", "test:lint": "eslint . --ext .js", "test:unit": "tap ./test/*.js", "watch": "webpack --watch" }, "author": "Massachusetts Institute of Technology", "license": "AGPL-3.0-only", "homepage": "https://github.com/scratchfoundation/scratch-svg-renderer#readme", "repository": { "type": "git", "url": "https://github.com/scratchfoundation/scratch-svg-renderer.git" }, "peerDependencies": { "scratch-render-fonts": "^1.0.0" }, "dependencies": { "base64-js": "^1.2.1", "base64-loader": "^1.0.0", "css-tree": "^1.1.3", "fastestsmallesttextencoderdecoder": "^1.0.22", "isomorphic-dompurify": "^2.4.0", "minilog": "^3.1.0", "transformation-matrix": "^1.15.0" }, "devDependencies": { "@babel/core": "7.29.0", "@babel/eslint-parser": "7.28.6", "@babel/preset-env": "7.29.0", "@commitlint/cli": "18.6.1", "@commitlint/config-conventional": "18.6.3", "babel-loader": "9.2.1", "copy-webpack-plugin": "4.6.0", "eslint": "8.57.1", "eslint-config-scratch": "9.0.9", "eslint-plugin-import": "2.32.0", "husky": "8.0.3", "jsdom": "13.2.0", "json": "9.0.6", "mkdirp": "2.1.6", "rimraf": "3.0.2", "scratch-render-fonts": "1.0.252", "scratch-semantic-release-config": "3.0.0", "scratch-webpack-configuration": "3.1.2", "semantic-release": "19.0.5", "tap": "11.1.5", "webpack": "5.105.3", "webpack-cli": "5.1.4", "webpack-dev-server": "3.11.3", "xmldom": "0.1.31" }, "browserslist": [ "Chrome >= 63", "Edge >= 15", "Firefox >= 57", "Safari >= 11" ], "config": { "commitizen": { "path": "cz-conventional-changelog" } } }