@chee/o-npm

cool for cats

Usage no npm install needed!

<script type="module">
  import cheeONpm from 'https://cdn.skypack.dev/@chee/o-npm';
</script>

README

origami npm module maker

usage

$ npm install -g sinopia
$ sinopia
$ npm install -g @chee/o-npm
$ on --working-directory /tmp/origami --publish

this will:

  1. create /tmp/origami containing:
  • .bowerrc pointing to the origami registry
  • .npmrc pointing to the local sinopia registry
  • package.json depending on babel for building the components
  1. fetch the latest versions of all the components (you can pass targets like --components o-typography,o-colors
  2. create package.json files for all the components
  3. build the components
  4. clean the package.json
  5. publish to your local npm registry

TODO

  • run the obt tests on the node module version of a component
  • write literally any tests for this code