Commit e08b2e46 authored by Ryan LeFevre's avatar Ryan LeFevre

Fix package.json and add .npmignore

parent 3ec3eb84
dist
examples
shims
test
\ No newline at end of file
var PSD = require('../');
psd = PSD.open('./examples/images/example.psd').then(function (psd) {
psd.image.saveAsPng('./output.png')
var file = process.argv[2] || './examples/images/example.psd';
var start = new Date();
psd = PSD.open(file).then(function (psd) {
psd.image.saveAsPng('./output.png').then(function () {
console.log("Finished in " + ((new Date()) - start) + "ms");
});
});
\ No newline at end of file
{
"name": "psd",
"version": "0.0.1",
"main": "./index.js",
"dependencies": {
"coffee-script": "~ 1.7.1",
"jspack": "~ 0.0.3",
......@@ -9,7 +10,9 @@
"rsvp": "~ 3.0.6",
"lodash": "~ 2.4"
},
"test": "mocha test",
"scripts": {
"test": "./node_modules/mocha/bin/mocha test"
},
"devDependencies": {
"coffeeify": "~ 0.6.0",
"browserify": "~ 3.46.0",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment