Hello World, Electron TypeScript.
- Build is via grunt
- Typescript target is ES6; can use the ES6 features of node.js 5.1.1.
- Tests are using mocha (https://mochajs.org/)
Install grunt-cli: npm install -g grunt-cli
For Windows Users:
Install typescript: npm install -g typescript
Then go to the Fruntfile.js file and remove the options key (path: grunt.initConfig => ts => options). The whole line should be removed.
- Compile:
npm run build
- Run:
npm start
- Test:
npm test
You will see a warning like:
npm WARN deprecated [email protected]: lodash@<2.0.0 is no longer maintained. Upgrade to lodash@^3.0.0
During npm install; you can ignore that it's due to the stable version of grunt depending on an old library.