Skip to main content

JavaScript development tools through the calmjs framework

Project description

calmjs.dev

A package that declares common development tools that integrates with calmjs along with commonly used nodejs development frameworks. These declarations can then be invoked by packages that depend on this one to instantiate the actual environment with the declared frameworks installed.

Introduction

To facilitate standardized deployment of working nodejs environments, and also for the execution of tests provided by Python packages against the JavaScript code that they might include, this package declares commonly used devDependencies in its package.json file which is declared through the calmjs extensions to setuptools. Other Python packages may then declare their dependencies through setup.py to pick up and make use of the following set of tools through the appropriate entry points to calmjs and/or setuptools command.

Features

  • Provides a set of commonly used development tools that are commonly used for testing JavaScript code. In brief, these include:

    grunt

    JavaScript task runner for running tests, minifying bundled code

    karma

    Test runner for running tests included with packages against the JavaScript code contained there.

    phantomjs

    A headless webkit with JavaScript API capable of interfacing with karma; this enables the running of integration JavaScript tests.

    sinon

    Standalone and test framework agnostic JavaScript test spies, stubs and mocks.

    Plus other integration packages that get them to work with each other.

  • Through the use of calmjs.module registry, which exposes the declared Python modules as providers of JavaScript modules, to generate the required configuration files for the supported JavaScript development tools here. Details of the various implementation will be specific to the software packages involved.

  • A declared set of development dependencies. This is reusable through the setuptools extensions provided by calmjs.

Installation

Currently under development, please install by cloning this repository and run python setup.py develop within a working Python environment, or follow the local framework or operating system’s default method on installation of development packages that have pulled this package in.

Usage

License

calmjs.dev is licensed under the GPLv2 or later.

Changelog

0.0-dev (unreleased)

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page