Skip to content
This repository has been archived by the owner. It is now read-only.
No description, website, or topics provided.
JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts
src
.editorconfig
.eslintignore
.eslintrc
.gitattributes
.gitignore
.stylelintrc.js
.travis.yml
CHANGELOG.md
LICENSE
README.md
browserslist
package.json
postcss.config.js
rollup.config.js
yarn.lock

README.md

ECL example

Build Status

Requirements:

  • Node.js >= 6.9.5
  • yarn >= 0.20.3 (recommended) or npm >= 3.x.x (tested with npm 3.10.10)

Setup

# with yarn
yarn
# or if you prefer npm
npm install

Build for development

# with yarn
yarn start
# or if you prefer npm
npm start

If you don't want to use the integrated change watcher, you can also just run:

# with yarn
yarn build
# or if you prefer npm
npm run build

Build for production use

# with yarn
yarn dist
# or if you prefer npm
npm run dist

Lint

# with yarn
yarn lint
# or if you prefer npm
npm run lint

Make a new release

# with yarn
yarn release
# or if you prefer npm
npm run release

This will generate the changelog notes, update the version number in package.json and create a new tag (without pushing it).

If you're happy with what has been generated, you can now run:

git push --follow-tags origin master

Deploy the release to GitHub with Travis

First, create a GitHub token. The scopes for the token you need is public_repo or repo (if you need to access private repos). Add the RELEASE_TOKEN environment variable to your Travis project.

Then, on every new tag, a GitHub release will automatically be created.

You can’t perform that action at this time.