add .npmignore
make tests easier to read
use eivindfjeldstad/dot for component support