added npm ignores and fixed package def