Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jasmine-ts

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jasmine-ts - npm Package Compare versions

Comparing version 0.2.1 to 0.3.0

11

lib/index.js

@@ -22,3 +22,9 @@ #!/usr/bin/env node

];
const tsNodeOptions = Object.assign({}, ...TS_NODE_OPTIONS.map((option) => yargs_1.argv[option] && { [option]: yargs_1.argv[option] }));
const tsNodeOptions = Object.assign({}, ...TS_NODE_OPTIONS.map((option) => {
if (yargs_1.argv[option]) {
return (option === "compilerOptions")
? { compilerOptions: dist_1.parse(yargs_1.argv[option]) }
: { [option]: yargs_1.argv[option] };
}
}));
dist_1.register(tsNodeOptions);

@@ -52,3 +58,4 @@ const Jasmine = require("jasmine");

}
command.run(jasmine, process.argv.slice(2));
const commandOptions = process.argv.slice(2).filter((option) => option.indexOf(configPath) >= 0);
command.run(jasmine, commandOptions);
//# sourceMappingURL=index.js.map

17

package.json
{
"name": "jasmine-ts",
"version": "0.2.1",
"version": "0.3.0",
"description": "Execute jasmine with ts-node",

@@ -8,3 +8,3 @@ "main": "lib/index.js",

"scripts": {
"test": "tslint index.ts && tsc && node lib/index.js --config=spec/jasmine.json spec/jasmine-ts.spec.ts",
"test": "./node_modules/.bin/tslint index.ts && tsc && node lib/index.js --config=spec/jasmine.json spec/jasmine-ts.spec.ts --compilerOptions='{\"allowJs\": true}'",
"prepublishOnly": "tsc"

@@ -30,7 +30,9 @@ },

"dependencies": {
"jasmine": "^2.6.0",
"ts-node": "^3.2.0",
"typescript": "^2.4.1",
"yargs": "^8.0.2"
},
"peerDependencies": {
"jasmine": ">= 2.0",
"ts-node": ">=3.2.0 <8",
"typescript": ">=2.4.1"
},
"devDependencies": {

@@ -40,4 +42,7 @@ "@types/jasmine": "^2.5.53",

"@types/yargs": "^8.0.1",
"jasmine": ">= 2.0",
"jasmine-spec-reporter": "^4.1.1",
"tslint": "^5.5.0"
"ts-node": ">=3.2.0 <8",
"tslint": "^5.5.0",
"typescript": ">=2.4.1"
},

@@ -44,0 +49,0 @@ "engines": {

@@ -57,3 +57,16 @@ # jasmine-ts

```
### Running with istanbul coverage
You can use [nyc](https://github.com/istanbuljs/nyc) to check your test coverage.
Example `package.json`:
```json
{
"scripts": {
"test": "nyc -r lcov -e .ts -x \"*.spec.ts\" jasmine-ts \"path/to/specs/**/*.spec.ts\""
}
}
```
### Note

@@ -60,0 +73,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc