Skip to content

Commit

Permalink
make globally installable
Browse files Browse the repository at this point in the history
  • Loading branch information
tmpvar committed Jun 6, 2013
1 parent 771b0cd commit 5cccf18
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 2 deletions.
6 changes: 4 additions & 2 deletions run.js → bin/run.js
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/env node

var argv = require('optimist').argv;
var reader = require('./SVGReader');
var offset = require('./offset');
var reader = require('../SVGReader');
var offset = require('../offset');
var Vec2 = require('vec2');

if (argv.i) {
Expand Down
37 changes: 37 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"name": "svgmill",
"version": "0.0.0",
"description": "turn an svg into gcode",
"directories": {
"test": "test"
},
"bin" :{
"svgmill" : "bin/run.js"
},
"dependencies": {
"canvas": "~1.0.0",
"optimist": "~0.3.5",
"segseg": "~0.2.0",
"vec2": "~1.0.3",
"color": "~0.4.2",
"domino": "~1.0.8"
},
"devDependencies": {
"mocha": "~1.8.1"
},
"scripts": {
"test": "mocha"
},
"repository": {
"type": "git",
"url": "git://github.com/tmpvar/svgmill.git"
},
"keywords": [
"svg",
"cnc",
"gcode"
],
"author": "Elijah Insua <[email protected]>",
"license": "MIT",
"gitHead": "771b0cdfa10cd624ab643dd38768c975b5b2b3b9"
}

0 comments on commit 5cccf18

Please sign in to comment.