wiggi-wiz v0.1.94
Wiggi Wiz
An angular based rich text editor, with support for extensions, custom markup and a rich api for dialogs, modals etc.
Inspired by some great editors, but they didn't quite fit our needs.
Install
npm install -g grunt-cli
npm install -g harp
npm install # (also runs bower install)Run Example
grunt runThen go to /wiggi-wiz
Run unit tests
We use karma, you can run it directly using karma, but we have some shortcuts for you in the Gruntfile.
Run once and exit
grunt testRun continuously (handy while developing)
grunt karma:continuousDebugging Tests in Karma
You'll need karma-cli installed.
Make sure the following are set in your karma.conf.js:
- browsers: 'Chrome' || 'Firefox'
- singleRun: false
If you have karma installed:
karma startThis will override the browser in karma.conf.js:
karma start --browsers ChromeRunning regression/ui tests
The regression tests use grunt-webdriver.
grunt regressionOptions
See grunt-webdriver for info on the options
--bail=true|false
--grep="string"
--sauceLabs=true|false
--browserName="string"
--browserVersion="string"
--platform="string"Note: To run with saucelabs as the driver you'll need the following env vars:
SAUCE_USERNAMEandSAUCE_ACCESS_KEY.Note: If sauceLabs=true we automatically set the base url to the github pages site.
Example
grunt regression --grep="add table" --browserName="firefox"Build
grunt Release
What it does:
- tag the current commit with the current version
- bump the version to the next index
To use release you'll need the following env vars: GITHUB_USERNAME and GITHUB_PASSWORD.
grunt
grunt test
git add/commit/push if the files in dist have changed
grunt releaseBuilding the gh-pages site
We use harp to build the static site. The build script builds it to a tmp folder the adds it to the gh-pages branch.
./bin/build.siteDocs
The docs are here: /site/docs - please update!