This project uses npm scripts to lint, concat, and minify the JS used in this BigCommerce plugin.
- Node.js
- npm
- uglify-js
- eslint
npm install -g uglifyjs eslint
npm install
Once your dependencies are installed, please install EditorConfig in your development environment to avoid whitespace changes. See editorconfig.org for more.
npm run build
ornpm run build:production
The generated file dist/shopify-v1-boot.min.js is usually exported to the AddressFinder API servers for hosting with the path https://api.addressfinder.io/assets/shopify/v1/boot.js.