Skip to content

grazumkov/amocrm-widget-starter-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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