svgdotjs / svg.filter.js

A plugin for svg.js adding svg filters
MIT License
218 stars 52 forks source link

npm not completely set up #10

Closed hzrd149 closed 8 years ago

hzrd149 commented 8 years ago

sorry to keep bugging you about this library, but the package.json is not complete. if i install npm install svg.filter.js --save and then use require('svg.filter.js') it fails because there is not "main" field in the package.json

thanks :D

Fuzzyma commented 8 years ago

Is it just "main":"./dist/svg.filter.js"?

hzrd149 commented 8 years ago

yes that should be it, the svg.js project has it in its package.json and it works fine

Fuzzyma commented 8 years ago

ok - that should do it

hzrd149 commented 8 years ago

oh sorry i did not mean set it to dist/svg.js it has to point to the dist/svg.filter.js or dist/svg.filter.min.js you dont have to fix it now, im sure your busy so when ever you get a chance.

Fuzzyma commented 8 years ago

lol - the copycat failed there -.-