UNPKG

p5.js-svg

Version:

The main goal of p5.SVG is to provide a SVG runtime for p5.js, so that we can draw using p5's powerful API in \<svg\>, save things to svg file and manipulating existing SVG file without rasterization.

56 lines 1.59 kB
{ "name": "p5.js-svg", "version": "1.5.1", "main": "dist/p5.svg.cjs.js", "types": "dist/index.d.ts", "scripts": { "start": "python3 -m http.server 3000", "lint": "eslint src/", "build": "eslint src/ && rollup --config", "prepublishOnly": "npm run build", "build-doc": "jsdoc src doc/reference.md -c jsdoc.json -d doc/reference/", "test": "karma start --browsers ChromeHeadless", "ci-test": "./node_modules/.bin/karma start --browsers Firefox --single-run" }, "devDependencies": { "@rollup/plugin-commonjs": "^18.0.0", "@rollup/plugin-node-resolve": "^11.2.1", "@rollup/plugin-typescript": "^11.1.1", "@types/mocha": "^10.0.1", "@types/p5": "^1.6.2", "@typescript-eslint/eslint-plugin": "^5.59.8", "@typescript-eslint/parser": "^5.59.8", "chai": "^4.3.4", "eslint": "^8.42.0", "jsdoc": "^4.0.2", "karma": "^6.3.16", "karma-chrome-launcher": "^3.1.0", "karma-coverage": "^2.0.3", "karma-firefox-launcher": "^0.1.6", "karma-mocha": "^0.2.0", "karma-mocha-reporter": "^1.1.1", "karma-sourcemap-loader": "^0.3.8", "mocha": "^9.2.0", "puppeteer": "^13.1.3", "rollup": "^3.23.0", "svgcanvas": "^2.2.1", "typescript": "^5.1.3" }, "directories": { "test": "test" }, "repository": { "type": "git", "url": "https://github.com/zenozeng/p5.js-svg.git" }, "keywords": [ "p5.js", "svg" ], "unpkg": "dist/p5.svg.js", "author": "Zeno Zeng", "license": "MIT", "bugs": { "url": "https://github.com/zenozeng/p5.js-svg/issues" } }