fix package.json
fix demo code and relevant linting