Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

kdf

Package Overview
Dependencies
Maintainers
9
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kdf

KD: a non-document focused UI Framework for web applications.

  • 0.1.20
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
9
Created
Source

KD Build Status Dependency Status Dependency Status

a non-document focused UI Framework for web applications.

Install gulp:

$ npm install gulp -g

Build steps:

$ npm i
$ gulp

Before building make sure you have these installed:

  • node
  • gulp
Build the documentation website or create a playground

Documentation website is under /docs folder, it is a great example to check how a site can be put together with KD.

You can build & run it by doing:

$ gulp --docs

or you can create playground to fiddle with the components with this:

$ gulp --play
Test Runner

KD uses karma for automatically running tests. To launch karma, run

$ gulp karma

If you're editing test files, you'll also need to run the test watcher to automatically build the test files:

$ gulp watch-test

There is also an html based test runner, which can be useful for debugging tests. If you're running the playground server (started by running gulp) the tests are available by going to

http://localhost:8080/test/index.html

Alternately, you can view the tests directly in the browser:

$ open test/index.html
Running tests on Saucelabs

You can also run tests remotely on SauceLabs browsers.

First, expose your saucelabs username and access key as environment variables

$ export SAUCE_USERNAME=your-username SAUCE_ACCESS_KEY=your-access-key

Then fire up the SauceLabs test runner with

$ gulp sauce

The available browser definitions are configured in the customLaunchers key in karma.conf.js and then selected in the 'sauce' task in gulpfile.coffe.


Disclaimer

The framework is not well documented yet and the unit tests are in very early stage, any pull requests in this direction is highly appreciated.

Keywords

FAQs

Package last updated on 13 Nov 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc