{ "name": "@marp-team/marpit-svg-polyfill", "version": "2.1.0", "description": "Polyfill for inline SVG slides rendered by Marpit", "license": "MIT", "author": { "name": "Marp team", "url": "https://github.com/marp-team" }, "contributors": [ { "name": "Yuki Hattori", "url": "https://github.com/yhatt" } ], "repository": { "type": "git", "url": "https://github.com/marp-team/marpit-svg-polyfill" }, "main": "lib/polyfill.js", "module": "lib/polyfill.mjs", "types": "types/entry.d.ts", "files": [ "lib/", "types/" ], "engines": { "node": ">=10" }, "jest": { "collectCoverageFrom": [ "src/**/*.{j,t}s" ], "coveragePathIgnorePatterns": [ "/node_modules/", ".*\\.d\\.ts" ], "coverageThreshold": { "global": { "lines": 95 } }, "preset": "ts-jest", "restoreMocks": true, "testEnvironment": "jest-environment-jsdom", "testEnvironmentOptions": { "resources": "usable" }, "testMatch": [ "/test/**/!(@(.|_))*.[jt]s" ] }, "prettier": { "semi": false, "singleQuote": true }, "scripts": { "build": "yarn -s clean && rollup -c", "check:audit": "yarn audit", "check:format": "yarn -s format -c", "check:ts": "tsc --noEmit", "clean": "rimraf lib", "format": "prettier \"**/*.{css,js,json,md,scss,ts,yaml,yml}\"", "format:write": "yarn -s format --write", "lint:js": "eslint --ext .js,.mjs,.ts --report-unused-disable-directives --cache .", "prepack": "npm-run-all --parallel check:* lint:* test:coverage --parallel build types", "preversion": "run-p check:* lint:* test:coverage", "test": "jest", "test:coverage": "jest --coverage", "types": "rimraf types && tsc --declaration --emitDeclarationOnly --outDir types", "version": "curl https://raw.githubusercontent.com/marp-team/actions/v1/lib/scripts/version.js | node && git add -A CHANGELOG.md", "watch": "rollup -w -c" }, "devDependencies": { "@babel/eslint-parser": "^7.19.1", "@babel/plugin-syntax-import-assertions": "^7.20.0", "@marp-team/marpit": "^2.4.2", "@rollup/plugin-commonjs": "^24.0.1", "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.0.1", "@rollup/plugin-typescript": "^11.0.0", "@tsconfig/node10": "^1.0.9", "@types/jest": "^29.4.0", "@types/node": "^18.11.19", "@typescript-eslint/eslint-plugin": "^5.50.0", "@typescript-eslint/parser": "^5.50.0", "canvas": "^2.11.0", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-import": "^2.27.5", "eslint-plugin-jest": "^27.2.1", "jest": "^29.4.1", "jest-environment-jsdom": "^29.4.1", "jest-junit": "^15.0.0", "npm-run-all": "^4.1.5", "prettier": "^2.8.3", "rimraf": "^4.1.2", "rollup": "^3.14.0", "rollup-plugin-terser": "^7.0.2", "ts-jest": "29.0.5", "tslib": "^2.5.0", "typescript": "^4.9.5" }, "peerDependencies": { "@marp-team/marpit": ">=0.5.0" }, "peerDependenciesMeta": { "@marp-team/marpit": { "optional": true } }, "publishConfig": { "access": "public" } }