{"_id":"vi-canvas-mock","name":"vi-canvas-mock","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"vi-canvas-mock","version":"1.0.0","description":"Mock a canvas in your vitest tests.","main":"lib/index.js","types":"types/index.d.ts","scripts":{"build":"babel src --out-dir lib","prepare":"npm run build","prettier":"prettier --write ."},"dependencies":{"cssfontparser":"^1.2.1","moo-color":"^1.0.2"},"devDependencies":{"@antv/g2plot":"^2.3.11","@babel/cli":"^7.8.4","@babel/core":"^7.9.0","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/preset-env":"^7.9.5","@commitlint/cli":"^8.3.5","@commitlint/config-angular":"^8.3.4","babel-plugin-version":"^0.2.3","coveralls":"^3.0.11","husky":"^4.2.5","prettier":"^2.0.4","vitest":"^0.29.2"},"commitlint":{"extends":["@commitlint/config-angular"]},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"npm run prettier && npm run build"}},"repository":{"type":"git","url":"git+https://github.com/schirrel/vi-canvas-mock.git"},"keywords":["mock","vitest","vitest-mock","canvas","test","unit"],"author":{"name":"schirrel"},"license":"MIT","bugs":{"url":"https://github.com/schirrel/vi-canvas-mock/issues"},"homepage":"https://github.com/schirrel/vi-canvas-mock#readme","gitHead":"ee2cc9d9c294fcef47953c65f1643fda6f58e0e3","_id":"vi-canvas-mock@1.0.0","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-5olDeelVM0H4FiVJUjxwY7NX9l7DTn6pAn5Qtwa9s8S7UODkTH7MHsm4wjz1GNSAkIo8suwn4dPacX/XNn+ksw==","shasum":"5ef1fd57bdf4d2ae01082a4f0bdd38421b75984d","tarball":"https://registry.npmjs.org/vi-canvas-mock/-/vi-canvas-mock-1.0.0.tgz","fileCount":16,"unpackedSize":85254,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDx3BV0kiwrTHzy/8E61fmrYaA4B2XMFkr5auitQmebgAiBH7I2m45rxp+3l2TLrTRnO213wIxDAyZpsotgiORQ2hA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/6SYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqDsg//UDWq4TuKQnj2qopi9B/HYkwI114HcCi8tOrWMtDHIYpRYDXJ\r\ng6ZfggccXNFsE+WSJkf2dg9FdOxyNj5sIxADR6ujEpwQR80cwSEU7/f2GsWr\r\nJj690pgaB3iPdWSSXQ5B7vyHVw8DIo91J8fWI3BARHaG93BUL6703uJlgsAy\r\ntJqavSeFSO5vAb+t2zV2HjkZfP2QB8nWgAOk6ThB3DedGiYcKNjGaaKYOHEA\r\nv7aExZTO4o3Adnw9HuIo1OWe7w7+DPAryNhAvSDGvsM+cRPMgu4OhrHAk/Sb\r\nsGyaPy5oCiB8gasYnGQQ5RXedJAOXz56jab66c5+azcvewViOLAKodNqqXMU\r\n73t0BiH1ZFEkkeUI6O6x73S9swo6seci7eYqwmSwacNdaR23tUVaHuBmHoCE\r\ne+TgBy92DC31qXa5qorkqnVK0TNr1OGu8Yhv4k7FD2TkhpMPbZr98WLJ2Pwf\r\nSfdq/naLxnMcUfcJ9FCVzKw7Iw5IcyoXbV1rXDwZJp+p7q92oNbSsxdlih18\r\nidKEL580NzzrXcTBpOb3WwIUAsS+tQ+H0Ut1CEFP0Iskc85n2O0Poi9GKAQR\r\nmswjibxscOkFkEQkpTIfbNlhvqE1ntp1lxe2vSM8+RwwFOX8rUIqhStJpYEU\r\noFlD7XNuWhBcl6r4y6ojLvGgCfG1tRMZL98=\r\n=Xody\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"schirrel","email":"alanbschio@gmail.com"},"directories":{},"maintainers":[{"name":"schirrel","email":"alanbschio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vi-canvas-mock_1.0.0_1677698200403_0.045172953185810716"},"_hasShrinkwrap":false}},"time":{"created":"2023-03-01T19:16:40.263Z","1.0.0":"2023-03-01T19:16:40.564Z","modified":"2023-03-01T19:16:40.770Z"},"maintainers":[{"name":"schirrel","email":"alanbschio@gmail.com"}],"description":"Mock a canvas in your vitest tests.","homepage":"https://github.com/schirrel/vi-canvas-mock#readme","keywords":["mock","vitest","vitest-mock","canvas","test","unit"],"repository":{"type":"git","url":"git+https://github.com/schirrel/vi-canvas-mock.git"},"author":{"name":"schirrel"},"bugs":{"url":"https://github.com/schirrel/vi-canvas-mock/issues"},"license":"MIT","readme":"# vi-canvas-mock\n\nThis is a fork of [jest-canvas-mock](https://github.com/hustcc/jest-canvas-mock) replacing the use of Jest to Vitest to have a zero Jest dependancy canvas mock.\nThe code and the mock was develop by @hustcc i simpli replace jest with vi.\n\nThanks for the work @hustcc <3\n","readmeFilename":"README.md"}