add "scripts": ["index.js"] into component.json