Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.10.0 to 6.12.6. - [Release notes](https://github.com/ajv-validator/ajv/releases) - [Commits](https://github.com/ajv-validator/ajv/compare/v6.10.0...v6.12.6) --- updated-dependencies: - dependency-name: ajv dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Wordpress Theme
About
A modern Wordpress theme written for WindyCOYS.com.
Built using:
Requirements
Building the theme
The build script runs the following tasks:
- css:compile - Process the CSS
- js:compile - Compile the JavaScript to ES5
- images - Minify images
The CSS and JavaScript will be minified if the environment variable NODE_ENV='production'.
npm run build
Developing
The start script will monitor CSS, JavaScript and images for changes and automatically compile them.
It will also start Docker containers and proxy the connection through browser-sync.
npm start
CSS
The CSS is compiled to theme/style.css using postcss-preset-env which primarily used to resolve custom properties and add vendor prefixes. It is linted with stylelint using stylelint-selector-bem-pattern.
JavaScript
The JavaScript is transformed to ES5 and bundled to theme/bundle.js. It is linted with eslint using Airbnb's base config.
Tests are written with Jest and run with:
npm run jest
The tests are written in *.spec.js files along side the source code.
To watch the files and automatically re-run the tests, use:
npm run jest:watch
License
The WindyCOYS theme is licensed under the MIT license