Add component.json and streamline package.json and bower.json

Closes #442
This commit is contained in:
Jürg Lehni 2014-04-06 12:47:22 +02:00
parent 09d0f5f389
commit 6ddf112b39
4 changed files with 38 additions and 13 deletions

View file

@ -1,6 +1,21 @@
{ {
"name": "paper", "name": "paper",
"version": "0.9.17", "version": "0.9.17",
"description": "The Swiss Army Knife of Vector Graphics Scripting",
"homepage": "http://paperjs.org",
"repository": {
"type": "git",
"url": "git://github.com/paperjs/paper.js"
},
"authors": [
"Jürg Lehni <juerg@scratchdisk.com> (http://scratchdisk.com)",
"Jonathan Puckey <jonathan@studiomoniker.com> (http://studiomoniker.com)"
],
"license": "MIT",
"keywords": [
"vector", "graphic", "graphics", "2d", "geometry", "bezier", "curve",
"curves", "path", "paths", "canvas", "svg", "paper", "paper.js"
],
"main": "dist/paper.js", "main": "dist/paper.js",
"ignore": [ "ignore": [
"build", "build",

View file

@ -27,6 +27,7 @@ echo "Commiting Version"
# Add changed json configuration files # Add changed json configuration files
git add -u package.json git add -u package.json
git add -u bower.json git add -u bower.json
git add -u component.json
# Add all changed files in dist # Add all changed files in dist
git add -u dist git add -u dist
# Commit # Commit

12
component.json Normal file
View file

@ -0,0 +1,12 @@
{
"name": "paper",
"version": "0.9.17",
"description": "The Swiss Army Knife of Vector Graphics Scripting",
"repo": "paperjs/paper.js",
"license": "MIT",
"keywords": [
"vector", "graphic", "graphics", "2d", "geometry", "bezier", "curve",
"curves", "path", "paths", "canvas", "svg", "paper", "paper.js"
],
"scripts": ["./dist/paper.js"]
}

View file

@ -3,11 +3,19 @@
"version": "0.9.17", "version": "0.9.17",
"description": "The Swiss Army Knife of Vector Graphics Scripting", "description": "The Swiss Army Knife of Vector Graphics Scripting",
"homepage": "http://paperjs.org", "homepage": "http://paperjs.org",
"repository": "git://github.com/paperjs/paper.js", "repository": {
"type": "git",
"url": "git://github.com/paperjs/paper.js"
},
"contributors": [ "contributors": [
"Jürg Lehni <juerg@scratchdisk.com> (http://scratchdisk.com)", "Jürg Lehni <juerg@scratchdisk.com> (http://scratchdisk.com)",
"Jonathan Puckey <jonathan@studiomoniker.com> (http://studiomoniker.com)" "Jonathan Puckey <jonathan@studiomoniker.com> (http://studiomoniker.com)"
], ],
"license": "MIT",
"keywords": [
"vector", "graphic", "graphics", "2d", "geometry", "bezier", "curve",
"curves", "path", "paths", "canvas", "svg", "paper", "paper.js"
],
"main": "./dist/paper-node.js", "main": "./dist/paper-node.js",
"files": [ "files": [
"AUTHORS.md", "AUTHORS.md",
@ -29,16 +37,5 @@
"prepro": "~0.8.1", "prepro": "~0.8.1",
"grunt": "~0.4.1", "grunt": "~0.4.1",
"grunt-contrib-uglify": "~0.2.2" "grunt-contrib-uglify": "~0.2.2"
}, }
"keywords": [
"vector",
"graphic",
"graphics",
"bezier",
"curve",
"curves",
"canvas",
"svg",
"paper.js"
]
} }