f62537fc17
* Add lerna & GB package-building script * Move currency library to lerna module * Update lerna config * Add publish commands * Add currency as an faux-external module * Add separate command to build just core files * Update dependency path * Update build script to build all packages into `dist` * Add packages to the jest test setup * Move date library to packages * Update imports to use @woocommerce/date * Output wcSettings definition before any scripts are output Fixes issues where wc-dates lib relies on settings object * Add the build step into travis * Update jest config to dynamically get package paths * Update package postcss config to match wc-admin’s main config * Add combined watch scripts for package+app, add a `clean` command to clean up old build files * Ignore PHPCS error (leave todo message to fix) * Concat files with a space, fix issue where all files join in one continuous string and fail the check |
||
---|---|---|
.. | ||
src | ||
test | ||
.npmrc | ||
README.md | ||
package.json |
README.md
Date
A collection of utilities to display and work with date values.
Installation
Install the module
npm install @woocommerce/date --save
This package assumes that your code will run in an ES2015+ environment. If you're using an environment that has limited or no support for ES2015+ such as lower versions of IE then using core-js or @babel/polyfill will add support for these methods. Learn more about it in Babel docs.