ExtJS Packages by Mayflower
- ExtJS-5.1.1 direct download link
- Sencha Cmd
- JSDuck
- NodeJS
- npm
- Go to the
ExtJsPackages
directory.
$ cd <path_to_workspace>/ExtJsPackages
- Install required node packages with npm:
$ npm install
- Download and extract the ExtJS framework files into the
ext
directory:
$ unzip <path_to>/ext-5.1.1-gpl.zip
$ mv ext-5.1.1 ext
- build the package with Sencha Cmd:
$ (cd packages/mf-grid-filter-form; sencha package build)
- Fork the mayflower/ExtJsPackages to your own GitHub account.
- Clone the fork to your machine:
$ cd <path_to_workspace>
$ git clone https://github.com/<your github account>/ExtJsPackages.git
$ cd ExtJsPackages
- Checkout out a new branch to make your changes on:
$ git checkout -b <your_new_patch>
- Have a look at Sencha's Guide to JavaScript Style and Best Practices
- Read the JSDuck documentation and take a look at JSduck example.js.
- Use Jasmine to write tests for your new code.
- Run tests:
$ npm test
- Check code style:
$ ./node_modules/jscs/bin/jscs packages
- Make sure that sencha packaging runs fine:
$ cd packages/<name>
$ sencha package build