@sdl/controls
v0.1.0-49
Published
Controls which match the SDL Control UX Guidelines.
Downloads
25
Keywords
Readme
SDL Controls
Controls which match the SDL Control UX Guidelines.
Releases
See Releases.
Building
In order to build make sure you have Node.js installed (v6 or higher).
Installing the necessary packages
npm install gulp-cli -g
npm install
Gulp tasks
# Build (debug)
gulp build
# Build everything and setup a server (debug)
gulp serve
# Build everything and setup a server (release)
gulp serve:dist
# Build (release)
gulp
# Test (debug)
# Default browser is PhantomJS
gulp serve:test
gulp serve:test --browsers Chrome
gulp serve:test --browsers "Chrome,IE,Firefox,PhantomJS"
# Test (release)
# Default browser is PhantomJS
gulp test
gulp test --browsers Chrome
gulp test --browsers "Chrome,IE,Firefox,PhantomJS"
# Measure test coverage
# Default browser is PhantomJS
gulp test-coverage
gulp test-coverage --browsers Chrome
gulp test-coverage --browsers "Chrome,IE,Firefox,PhantomJS"
Setting up Visual Studio Code
Preffered IDE for GUI development is Visual Studio Code.
Some extensions you should install (Managing extensions):
- TSLint: get linting feedback as you type
- Editor Config: adds support for the .editorconfig file
- Document this: automatically generates detailed JSDoc comments in TypeScript and javascript files