3.0.3 • Published 3 years ago
@financial-times/origami-workshop v3.0.3
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
publicdirectory if one does not already exist. - Bundles
src/main.json change with esbuild topublic/main.js. Note: this resolves imports but does not transpile JS for wider browser support. - Builds
src/main.scsson change with dart-sass, postcss, and autoprefixer topublic/main.css. - Copies
index.htmlon change topublic/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.