This project manages the website:
https://think-metric.org
The logo is built using:
https://think-metric.org/logo.html
We promote metric units for casual everyday use in America. Our goal is to speed up metrication to boost America's economic competitiveness and generate more good manufacturing jobs.
This project and the content we publish are free to reuse under a permissive Creative Commons license.
$ cd think-metric
$ npm install
$ npm run interactiveAs you make edits to files in the src/website folder, your browser will automatically refresh to display the new changes.
To publish merges to the live website:
GitHub project page โ Actions โ Publish Website โ Run workflow
Pull requests welcome. You can help by contributing anything from minor typo fixes to writing new articles.
See the runScriptsConfig section of package.json for a clean way to organize build tasks:
- ๐
add-dist-headerโย Prepend a one-line banner comment (with license notice) to distribution files - ๐
copy-file-utilโย Copy or rename a file with optional package version number - ๐
copy-folder-utilโย Recursively copy files from one folder to another folder - ๐ชบ
recursive-execโย Run a command on each file in a folder and its subfolders - ๐
replacer-utilโย Find and replace strings or template outputs in text files - ๐ข
rev-web-assetsโย Revision web asset filenames with cache busting content hash fingerprints - ๐
run-scripts-utilโย Organize npm package.json scripts into groups of easy-to-manage commands - ๐ฆ
w3c-html-validatorโย Check the markup validity of HTML files using the W3C validator
