Comparing version 1.2.1 to 2.0.0
@@ -7,6 +7,6 @@ "use strict"; | ||
var assert_1 = __importDefault(require("assert")); | ||
var ExeFile_1 = __importDefault(require("../src/ExeFile")); | ||
var src_1 = require("../src"); | ||
describe('ExeFile', function () { | ||
it('detects macos', function () { | ||
var exeFile = new ExeFile_1.default('gherkin-{{.OS}}-{{.Arch}}{{.Ext}}', { | ||
var exeFile = new src_1.ExeFile('gherkin-{{.OS}}-{{.Arch}}{{.Ext}}', { | ||
os: 'darwin', | ||
@@ -18,3 +18,3 @@ arch: 'x64', | ||
it('detects windows', function () { | ||
var exeFile = new ExeFile_1.default('gherkin-{{.OS}}-{{.Arch}}{{.Ext}}', { | ||
var exeFile = new src_1.ExeFile('gherkin-{{.OS}}-{{.Arch}}{{.Ext}}', { | ||
os: 'win32', | ||
@@ -21,0 +21,0 @@ arch: 'x32', |
{ | ||
"name": "c21e", | ||
"version": "1.2.1", | ||
"version": "2.0.0", | ||
"description": "Cucumber Tag Expression parser", | ||
"main": "dist/src/ExeFile.js", | ||
"types": "dist/src/ExeFile.d.ts", | ||
"main": "dist/src/index.js", | ||
"types": "dist/src/index.d.ts", | ||
"scripts": { | ||
"test": "mocha test/**/*.ts", | ||
"test": "mocha", | ||
"lint": "tslint src/**/*.ts test/**/*.ts", | ||
"lint-fix": "tslint --fix src/**/*.ts test/**/*.ts", | ||
"coverage": "nyc --reporter=html --reporter=text mocha test/**/*.ts", | ||
"coverage": "nyc --reporter=html --reporter=text mocha", | ||
"build": "tsc", | ||
@@ -29,13 +29,13 @@ "prepublishOnly": "npm run build" | ||
"devDependencies": { | ||
"@types/mocha": "^5.2.6", | ||
"@types/node": "^11.13.9", | ||
"mocha": "^6.1.2", | ||
"nyc": "^14.0.0", | ||
"prettier": "^1.17.0", | ||
"ts-node": "^8.1.0", | ||
"tslint": "^5.16.0", | ||
"@types/mocha": "^5.2.7", | ||
"@types/node": "^12.7.1", | ||
"mocha": "^6.2.0", | ||
"nyc": "^14.1.1", | ||
"prettier": "^1.18.2", | ||
"ts-node": "^8.3.0", | ||
"tslint": "^5.18.0", | ||
"tslint-config-prettier": "^1.18.0", | ||
"tslint-plugin-prettier": "^2.0.1", | ||
"typescript": "^3.4.5" | ||
"typescript": "^3.5.3" | ||
} | ||
} |
import assert from 'assert' | ||
import ExeFile from '../src/ExeFile' | ||
import { ExeFile } from '../src' | ||
@@ -4,0 +4,0 @@ describe('ExeFile', () => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26
211
12051