Configurable NPM Package
Changes
- Added configuration to publish the Ntuple Wizard as an NPM package
- Switched to a different compression package (fflate -> pako) because Babel transpilation for the NPM package does not work with fflate
- Ensured configurability
- Routes
- [Future] Hide certain fields
How to publish
- Create an account at https://www.npmjs.com/
- Create an organisation
- From the command line in the root of the project, login to NPM using
npm login
- Check
package.json
to see whether the package has the desired name, version, description etc. - Publish the package using
npm publish
(this will automatically trigger transpilation through the prepublishOnly script in package.json) - Add the package to the organisation
If you need any help, don't hesitate to contact me via Mattermost.