magoss / TypeScriptFullStackShell

Setting up a web application for full-stack TypeScript development

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeScriptFullStackShell

Setting up a web application for full-stack TypeScript development

Commands:

  • npm start: start the app in production mode. Production code must be built for production first: npm run build.
  • npm run start-dev: start the Express server in dev mode. Will activate TypeScript file-watcher and generate source-maps.
  • npm run build at root/ will build the app for production. Contents are output to build/.
  • npm test: Run back-end unit-tests. If you want to run a specific unit test run npm run test -- "path to the unit-test file", i.e. npm test -- controllers/demo/DemoController. Because source-map files are generated for map files too, debugging in IDEs should still work.

Links

OvernightJS

About

Setting up a web application for full-stack TypeScript development

License:MIT License


Languages

Language:TypeScript 82.2%Language:HTML 9.7%Language:CSS 5.2%Language:Shell 2.8%