direct npm main to dist folder

require('opentype.js') fails on node.js - 'main' should direct to dist folder.