woocommerce/plugins/woocommerce-admin
Paul Sealock 55f803dd07 Update Gutenberg dependency to v3.2.0 for running js tests
Update Gutenberg packages deprecated and keycodes to build system
2018-07-14 21:57:18 +12:00
..
bin Rename js/src to client (https://github.com/woocommerce/woocommerce-admin/pull/38) 2018-05-11 12:13:57 -04:00
client Update Gutenberg dependency to v3.2.0 for running js tests 2018-07-14 21:57:18 +12:00
languages Update woo-dash naming to new wc-admin name (https://github.com/woocommerce/woocommerce-admin/pull/183) 2018-07-10 08:48:06 -04:00
lib Fixes some display issues on embedded/classic WC pages (https://github.com/woocommerce/woocommerce-admin/pull/186) 2018-07-13 15:19:54 -04:00
tests Update Gutenberg dependency to v3.2.0 for running js tests 2018-07-14 21:57:18 +12:00
.babelrc Update woo-dash naming to new wc-admin name (https://github.com/woocommerce/woocommerce-admin/pull/183) 2018-07-10 08:48:06 -04:00
.distignore Initial commit of plugin scaffold 2018-04-17 17:04:17 -04:00
.editorconfig Initial commit of plugin scaffold 2018-04-17 17:04:17 -04:00
.eslintignore Build Tools: Add precommit/prepush scripts, install if outdated (https://github.com/woocommerce/woocommerce-admin/pull/34) 2018-05-10 15:17:28 -04:00
.eslintrc Add CSS naming conventions following Gutenberg’s standards (https://github.com/woocommerce/woocommerce-admin/pull/99) 2018-06-01 10:35:18 -04:00
.gitignore Sidebar: Add Tabs 2018-05-23 12:42:26 +12:00
.travis.yml Update travis to run npm test 2018-07-12 16:01:11 -07:00
Gruntfile.js Update woo-dash naming to new wc-admin name (https://github.com/woocommerce/woocommerce-admin/pull/183) 2018-07-10 08:48:06 -04:00
README.md Update woo-dash naming to new wc-admin name (https://github.com/woocommerce/woocommerce-admin/pull/183) 2018-07-10 08:48:06 -04:00
package-lock.json Update Gutenberg dependency to v3.2.0 for running js tests 2018-07-14 21:57:18 +12:00
package.json Update Gutenberg dependency to v3.2.0 for running js tests 2018-07-14 21:57:18 +12:00
phpcs.xml.dist Initial commit of plugin scaffold 2018-04-17 17:04:17 -04:00
phpunit.xml.dist Update woo-dash naming to new wc-admin name (https://github.com/woocommerce/woocommerce-admin/pull/183) 2018-07-10 08:48:06 -04:00
wc-admin.php Update woo-dash naming to new wc-admin name (https://github.com/woocommerce/woocommerce-admin/pull/183) 2018-07-10 08:48:06 -04:00
webpack.config.js Update Gutenberg dependency to v3.2.0 for running js tests 2018-07-14 21:57:18 +12:00

README.md

WooCommerce Admin

This is a feature plugin for a modern, javascript-driven WooCommerce Admin experience.

Prerequisites

Gutenberg and WooCommerce should be installed prior to activating the WooCommerce Admin feature plugin. You also need v3 of the WooCommerce REST API via wc-api-dev or the feature branch.

For better debugging, it's also recommended you add define( 'SCRIPT_DEBUG', true ); to your wp-config. This will load the unminified version of all libraries, and specifically the development build of React.

Development

After cloning the repo, install dependencies with npm install. Now you can build the files using one of these commands:

  • npm run build : Build a production version
  • npm start : Build a development version, watch files for changes

There are also some helper scripts: