Pubwebkit editor
Project moved to https://gitlab.com/pubwebkit/pubwebkit-editor
Powerful editor to create your ebook in various styles. It's includes: Cover Designer, Template Editor, Community Snippets and more. Also, it's a part of www.pubwebkit.com portal.
- Run
npm install
from terminal to update all npm references - Make sure you have installed Maven.
- Build Google Closure Compiler. Run command
npm run build:closure-compiler
on the root of the pubwebkit-editor project. - Build Google Closure Templates for javascript usage. Navigate to
vendors/closure-templates/
folder and run commandmvn
.
npm run build
- Build project.npm run build:closure-compiler
- Build Google Closure Compiler.npm test
- Run tests.
app
- Pubwebkit editor source.dist
- Contains compiled editor after build process.docs
- API documentation.jsdoc_template
- API documentation templates.less
- LESS files related to Pubwebkit Editorvendors
- Libraries, plugins, modules, components, etc. Not just libraries, but anything that's provided by a third party.Gruntfile.js
- is used to configure or define tasks and load Grunt plugins.
GruntJS is a JavaScript based command line build tool that helps developers automate repetitive tasks. It perform tasks like minification, compilation, unit testing, linting, etc. Below list of the most important task that can used during development:
grunt build
- Compile JavaScript to better JavaScript by Google Closure Compiler, compile Less files to css and minimize. Compiled project will be placed todist/
folder.grunt eslint
- Check JavaScript files of the project by ESLint linting utility.grunt connect
- Run local server with root project directory. Web server will be available by http://localhost:9000.grunt jsdoc
- Generate JSDoc based documentation. All documentation available underdocs/
folder. If you will run local web server, then you can access documentation by http://localhost:9000/documentation. Also, you can browse latest API documentation by this link using GitHub & BitBucket HTML Preview tool.grunt shell:compileClosureCompiler
- Compile Google Closure Compiler.
- Internet Explorer 9+
- Opera 12 (PC and Mac looks good)
- Chrome (21+) (Looks good, not tested on previous builds)
- Firefox (4+)