项目作者: Cryptix720

项目描述 :
The atomic RSS aggregator
高级语言: JavaScript
项目地址: git://github.com/Cryptix720/cybertrigo.git
创建时间: 2017-08-30T09:50:53Z
项目社区:https://github.com/Cryptix720/cybertrigo

开源协议:MIT License

下载


Available NPM commands:

  • npm start - runs the application
  • npm run build - build the application
  • npm run dev - build automatically on source changes
  • npm lint - run liner tool (tslint) according to coding style configuration in ./tslint.json
  • npm test - run unit-tests

Unit-testing:

Here we use Jest testing framework. We set it up in package.json like:

  1. "jest": {
  2. "moduleFileExtensions": [
  3. "ts",
  4. "tsx",
  5. "js"
  6. ],
  7. "transform": {
  8. "^.+\\.(ts|tsx)$": "./jest-preprocessor.js"
  9. },
  10. "testRegex": "/app/ts/.*\\.spec\\.(ts|tsx)$"
  11. }

In addition we provide transformation script ./jest-preprocessor.js that helps Jest understanding specs written in TypeScript

Installing dependencies

  1. npm install

Tested with:

  • npm v.5.2.0
  • node v.8.1.1
  • nw v.0.23.6-sdk
  • Ubuntu 16.04 LTS, Windows 10^, macOS Sierra 10.12