https://github.com/briangershon/typescript-webpack-starter
JavaScript starter with TypeScript and webpack. Plus Jest and Github CI.
https://github.com/briangershon/typescript-webpack-starter
javascript jest prettier starter-template typescript webpack
Last synced: about 2 months ago
JSON representation
JavaScript starter with TypeScript and webpack. Plus Jest and Github CI.
- Host: GitHub
- URL: https://github.com/briangershon/typescript-webpack-starter
- Owner: briangershon
- License: mit
- Created: 2021-03-15T01:29:08.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-15T02:32:05.000Z (about 4 years ago)
- Last Synced: 2025-01-12T09:45:02.059Z (4 months ago)
- Topics: javascript, jest, prettier, starter-template, typescript, webpack
- Language: JavaScript
- Homepage:
- Size: 93.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# typescript-webpack-starter
JavaScript starter with TypeScript and webpack.
Includes a development environment with:
* webpack configuration for dev and production
* Prettier config
* Github Action workflow to test build
* Jest testing## Customizing
* Update `webpack.common.js` 'title' property
* Update `package.json` 'name' value
* Update `README.md` for your application
* Add your application code to `src/index.ts`, create modules such as `src/hello.ts` and add tests such as `src/tests/hello.test.ts`.## Run Local Dev Server
nvm use # select Node.js v14 if using nvm
npm install # install dependenciesnpm start
# visit http://localhost:8080## Run tests
npm test # test with --watch
npm run test-ci## Package project up in dist folder for release to server
npm run build