@caronsale/landing-page-webflow-scripts

collection of js scripts which are used with our landing page

Usage no npm install needed!

<script type="module">
  import caronsaleLandingPageWebflowScripts from 'https://cdn.skypack.dev/@caronsale/landing-page-webflow-scripts';
</script>

README

@caronsale/landing-page-webflow-scripts

Collection of scripts for caronsale.de.

TODO:

  • cd/ci automation with semantic releases
  • testing with jest
  • integrating typescript

Use via cdn

<script
  type="text/javascript"
  src="https://cdn.jsdelivr.net/npm/@caronsale/landing-page-webflow-scripts${version}/dist/index.standalone.umd.js"
></script>

How to publish

  1. Make sure your .npmrc is set correctly. The token can be found in 1Password
echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc 2> /dev/null
  1. Bundling
npm run build
  1. Publishing
npm publish