Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

A simple starter project for developing jQuery plugins with Typescript and Webpack.

License

Notifications You must be signed in to change notification settings

szerhusenBC/jquery-plugin-ts-starter

Repository files navigation

jquery-plugin-ts-starter

A simple starter project for developing jQuery plugins with Typescript and Webpack.

Usage

Getting started

At first you have to install all node modules:

npm install

Afterwards you can start the app with:

npm start

Then will then have a server running at http://localhost:3000 with hot code replacement and live reloading in the browser.

Building a distribution

If you want to build a distribution, you have to execute

npm run build:dev

or

npm run build:prod

You will find the distribution under /dist.

jQuery is NOT bundled in the plugin file!

Testing

You can run the tests with

npm test

If you want to develop against the tests with hot reloading, you have to execute

npm run test:watch

The following technologies are used for writing and running tests:

Creator

Stephan Zerhusen

Copyright and license

The code is released under the MIT license.


Please feel free to send me some feedback or questions!

About

A simple starter project for developing jQuery plugins with Typescript and Webpack.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published