Make sure you have a recent version of NodeJS >=6.0 with NPM 3 or Yarn.
From the project folder, execute the following command:
npm install # or yarn install
This will install the dependencies, including a local version of Webpack and TypeScript. So no need to have them installed globally.
To run the application, execute the following command:
npm start # or yarn start
The command will start the webpack development server that watches for file changes. The site should then be accessible at http://localhost:8080.
To build an optimised and minified production bundle, execute the following command:
npm run build # or yarn build
- Node >= 6
- npm / yarn
- TypeScript -
npm install -g typescript
- TSLint -
npm install -g tslint
- IDE of your choice, VS Code highly suggested
This starter project's webpack.config.js
, karma-bundle.js
and karma-conf.js
has been derrived from the official Aurelia skeleton project.