Skip to content
Draft
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// .babelrc
{
"presets": [
"@babel/preset-env",
["@babel/preset-react", { "runtime": "automatic" }]
]
}
3 changes: 0 additions & 3 deletions .eslintrc.json

This file was deleted.

3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ Changelog
2.3.1 (unreleased)
------------------

- Nothing changed yet.
- Plone 6 compatibility.
[cekk]


2.3.0 (2019-09-10)
Expand Down
138 changes: 0 additions & 138 deletions Gruntfile.js

This file was deleted.

25 changes: 7 additions & 18 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,29 +114,18 @@ In this product there are several static resources:
- React app for the configuration menu
- Js for the rendered menu

To compile the widget configuration app:

Go to `src/collective/editablemenu/browser/static/js/widget` folder.
Go in the project's root and install dependencies::

Then install dependencies:
> npm install

yarn
If you need to develop it, run::

> npm run start

And finally compile React app:

yarn build

After that, you need compile all the resources and bundle them for resource registries bundles:

Go in the project's root and install dependencies for Grunt:

npm install

And finally compile and uglify the resources:

npm run compile

Otherwise, if you need a production build, run::

> npm run build

Contribute
----------
Expand Down
Loading