Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 767 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 767 Bytes

AmoCRM Widget Starter Kit

A skeleton of an amocrm widget example https://www.amocrm.ru/developers/content/api/widgets) with Gulp builder

Build script:

  • JS files include (gulp-include)
  • Remove commets (required for publish)
  • Bump manifest version (required for load new version)
  • JSON validator - JSONLint
  • Javascript errors check - JSHint
  • CSS Autoprefixer
  • CSS errors check - CSSLint
  • Create zip archive to publish

Getting Started

1. Requires Node and NPM Download and install node.js.

2. Clone this repository

3. Install gulp

See https://github.com/gulpjs/gulp/blob/master/docs/getting-started.md

4. Install npm dependencies

$ npm install

5. Build

$ npm run build