I've cloned the repo, installed the dependencies and tried both scripts. Both are failing to find the Jasmine type definition and even the module that's being tested can't be found
npm run test
> [email protected] test /home/john/Sites/Typescript-Jasmine-Istanbul-Boilerplate
> ts-node node_modules/jasmine/bin/jasmine.js JASMINE_CONFIG_PATH=jasmine.json
/home/john/Sites/Typescript-Jasmine-Istanbul-Boilerplate/node_modules/ts-node/dist/index.js:160
throw new TSError(formatDiagnostics(diagnosticList, cwd, ts, lineOffset));
^
TSError: ⨯ Unable to compile TypeScript
Cannot find type definition file for 'jasmine'. (2688)
src/Point.spec.ts (1,23): Cannot find module './Point'. (2307)
src/Point.spec.ts (3,1): Cannot find name 'describe'. (2304)
src/Point.spec.ts (5,5): Cannot find name 'describe'. (2304)
src/Point.spec.ts (7,9): Cannot find name 'it'. (2304)
src/Point.spec.ts (9,13): Cannot find name 'expect'. (2304)
src/Point.spec.ts (10,13): Cannot find name 'expect'. (2304)
src/Point.spec.ts (15,5): Cannot find name 'describe'. (2304)
src/Point.spec.ts (17,9): Cannot find name 'it'. (2304)
src/Point.spec.ts (21,13): Cannot find name 'expect'. (2304)
npm ERR! Linux 4.10.6-100.fc24.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "test"
npm ERR! node v6.10.1
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] test: `ts-node node_modules/jasmine/bin/jasmine.js JASMINE_CONFIG_PATH=jasmine.json`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] test script 'ts-node node_modules/jasmine/bin/jasmine.js JASMINE_CONFIG_PATH=jasmine.json'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the typescript-jasmine-istanbul-boilerplate package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ts-node node_modules/jasmine/bin/jasmine.js JASMINE_CONFIG_PATH=jasmine.json
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs typescript-jasmine-istanbul-boilerplate
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls typescript-jasmine-istanbul-boilerplate
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/john/Sites/Typescript-Jasmine-Istanbul-Boilerplate/npm-debug.log