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
A 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}.ts- 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
Don't forget to run
npm installandnpm run typingsbefore using the gulp tasks.
build-npm-package- builds the scripts indist/npmin CommonJS format;start- starts the webpack-dev-server - suitable for example preview, development and testing. Accessible on http://localhost:3000docs- starts the documentation site for the current component. Accessible on http://localhost:8082test- runs the tests with Jasmine in Karma/PhantomJS.watch-test- runs the tests in watch mode.
Contribution
- Clone the repo
- Create a feature branch
- Add the new stuff
- Write tests
- Write documentation
- Create a pull request