Skip to content

andrejkn/typescript-react-redux-starter

Repository files navigation

TypeScript/React/Redux Starter

This is the initial version of our starter project using Angular 1.x, TypeScript and Webpack to tie it all together.

Commands

  • npm install: install npm dependencies specified in package.json as well as typings specified in tsd.json (typings will be put into typings folder which is also git ignored).

  • postinstall: runs automatically after npm install and triggers a npm run build to provide a build directory to npm start by default

  • npm run dev: will start webpack's development server (with live reloading) on http://localhost:8080. Note that in this case the bundle will be generated in memory and your bundle in dist might get out of sync.

  • npm start: starts a production server serving the dist directory on http://localhost:3000

  • npm run build: bundle all of the application including js/css/html files, with index.html generated according to a template specified in index.html (Everything will be put into dist folder).

Improvements

This is an initial version of this setup and will be expanded in the future. Refer to the issues section to see what needs to be done, or create a new one.

Planned work

  • Fix/ReOrg BassCSS styles
  • Better support for custom typings (so we don't have to commit typings to the repo)
  • Test examples (spec & unit)
  • Component displayName, propTypes, defaultProps and documentation
  • Auto-reloading API server (when specified)
  • Enforce single-quotes for TS code and double-quotes for JSX.

If something doesn't work

Refer to the issues section to see if this has already been logged. Otherwise create a new issue.

About

Typescript, React, Redux, Webpack starter kit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published