JSPM

  • Created
  • Published
  • Downloads 181706
  • Score
    100M100P100Q176345F
  • License SEE LICENSE IN LICENSE.md

Kendo UI typescript package exporting functions for Date manipulations

Package Exports

  • @progress/kendo-date-math

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@progress/kendo-date-math) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Commitizen friendly

A Date Math package for JavaScript Date manipulations.

Structure

  • The src directory contains the library source code. All files should have the .ts extensions so that the build scripts may pick them.

  • The src/main.ts file should import and re-export all public entities of the package.

  • The src/{date function}.ts - the concrete date manipulation function.

  • The test directory contains the component tests. They are transpiled just like the source code itself, and run with Jasmine in Karma (PhantomJS).

  • The docs directory contains markdown files that document the specifics of the component.

Gulp tasks

Don't forget to run npm install and npm run typings before using the gulp tasks.

  • build-npm-package - builds the scripts in dist/npm in CommonJS format;
  • start - starts the webpack-dev-server - suitable for example preview, development and testing. Accessible on http://localhost:3000
  • docs - starts the documentation site for the current component. Accessible on http://localhost:8082
  • test - runs the tests with Jasmine in Karma/PhantomJS.
  • watch-test - runs the tests in watch mode.

Contribution

  1. Clone the repo
  2. Create a feature branch
  3. Add the new stuff
  4. Write tests
  5. Write documentation
  6. Create a pull request