Update version to 1.0.1 and add npm publishing workflow
Add package permissions to GitHub Actions workflow