@financial-times/origami-workshop

3.0.3 • Public • Published

Origami Workshop Build Tools

JavaScript and Sass build tools to facilitate the Origami manual build tutorial. This is not meant for production use.

Usage

Origami Workshop is a single command with no options. For detailed usage instructions, follow the Origami manual build tutorial.

What does it do?

  • Creates a public directory if one does not already exist.
  • Bundles src/main.js on change with esbuild to public/main.js. Note: this resolves imports but does not transpile JS for wider browser support.
  • Builds src/main.scss on change with dart-sass, postcss, and autoprefixer to public/main.css.
  • Copies index.html on change to public/index.html.
  • Starts a server for the public directory at http://localhost:3000. Another port is used if 3000 is taken.

Contact

If you have any questions or comments about this project, or need help using it, please either raise an issue, visit #origami-support or email Origami Support.


License

Copyright (c) 2020 Financial Times Ltd. All rights reserved.

This software is published under the MIT licence.

Readme

Keywords

none

Package Sidebar

Install

npm i @financial-times/origami-workshop

Weekly Downloads

3

Version

3.0.3

License

MIT

Unpacked Size

28.7 kB

Total Files

14

Last publish

Collaborators

  • robgodfrey
  • robertboulton
  • seraph2000
  • hamza.samih
  • notlee
  • emmalewis
  • aendra
  • the-ft
  • rowanmanning
  • chee
  • alexwilson