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
Kendo UI for Angular 2: Date Math
A starter repository for the Kendo UI Date Math package for JavaScript date manipulations.
Structure
The
srcdirectory contains the library source code. All files should have the.tsextensions so that the build scripts may pick them.The
src/main.tsfile should import and re-export all public entities of the package.The
src/{date function}.tsfile is the concrete date manipulation function.The
testdirectory contains the component tests. They are transpiled just like the source code itself and run with Jasmine in Karma (PhantomJS).The
docsdirectory contains markdown files that document the specifics of the component.
Gulp Tasks
Remember to run
npm installandnpm run typingsbefore using the Gulp tasks.
build-npm-package—Builds the scripts indist/npmin the CommonJS format.start—Starts the webpack-dev-server. It is suitable for example previews, 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 the watch mode.
Contribution
- Clone the repository.
- Create a feature branch.
- Add the new stuff.
- Write tests.
- Write documentation.
- Create a pull request.