Update package.json to include the repository key

With the rise in supply chain attacks and OSS dependencies being used as a attack vector, Microsoft is working with our ecosystem partners, such as the Linux Foundation's OpenSSF, to enable OSS consumers to track packages back to their public sources.
We've identified that the following packages published to NPM do not report where sources can be found, typically accomplished by including a link to your GitHub repository in your `package.json` REPOSITORY field. This PR was created to add this value, ensuring future releases will include this provenance information.
Published NPM packages with repository information:
* svgcanvas
This commit is contained in:
Microsoft Provenance Contributions 2021-08-17 17:02:10 +08:00 committed by GitHub
parent 2e49751f64
commit 92016381bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,10 @@
"build": "rollup index.js -o dist/svgcanvas.js -f cjs && rollup index.js -o dist/svgcanvas.esm.js -f es && rollup test/index.js -o dist/test.js -f iife",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "https://github.com/zenozeng/svgcanvas.git"
},
"keywords": [
"canvas",
"svg",