ashiguruma / patternomaly

Easily generate patterns for use in data graphics
MIT License
524 stars 37 forks source link

dist folder not contained in npm package #8

Closed VincentBrunet closed 7 years ago

VincentBrunet commented 7 years ago

From the package.json:

{
  "main": "dist/patternomaly.js"
}

By installing the package:

npm install patternomaly --save

It means that importing the module from javascript will fail, out of the box:

// will try to require node_modules/patternomaly/dist/patternomaly.js
import Pattern from 'patternomaly'
ashiguruma commented 7 years ago

Hey @VincentBrunet. Thanks for letting me know. I'll take a look at getting this sorted over the weekend.

ashiguruma commented 7 years ago

Hey @VincentBrunet. I've removed the dist directory from the ignore list. I've also published an updated tag (1.2.1) to NPM.

I'd like to check all the possible include methods to make sure the module actually works as intended. Will leave this issue open for now and close once I've had a chance to check.

Please let me know if this update fixes your include issue.