@aelesia/npm-template
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -26,3 +26,3 @@ { | ||
"rules": { | ||
"no-unused-vars": "warn", | ||
"no-unused-vars": "off", | ||
"no-constant-condition": "warn", | ||
@@ -29,0 +29,0 @@ "no-empty": "warn", |
@@ -8,1 +8,2 @@ "use strict"; | ||
exports.default = Something_2.default; | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var some_singleton = /** @class */ (function () { | ||
var some_singleton = (function () { | ||
function some_singleton() { | ||
@@ -14,3 +14,3 @@ this.field = '1'; | ||
exports.default = new some_singleton(); | ||
var some_class = /** @class */ (function () { | ||
var some_class = (function () { | ||
function some_class(field) { | ||
@@ -31,1 +31,2 @@ this.field = field; | ||
exports.some_function = some_function; | ||
//# sourceMappingURL=Something.js.map |
@@ -50,3 +50,3 @@ "use strict"; | ||
expect(a.test()).toEqual('string'); | ||
return [2 /*return*/]; | ||
return [2]; | ||
}); | ||
@@ -57,3 +57,3 @@ }); }); | ||
expect(index_1.some_function('string')).toEqual('string'); | ||
return [2 /*return*/]; | ||
return [2]; | ||
}); | ||
@@ -64,5 +64,6 @@ }); }); | ||
expect(index_2.default.test()).toEqual('1'); | ||
return [2 /*return*/]; | ||
return [2]; | ||
}); | ||
}); }); | ||
}); | ||
//# sourceMappingURL=Sample.test.js.map |
{ | ||
"name": "@aelesia/npm-template", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Template for NPM packages", | ||
@@ -12,6 +12,6 @@ "author": "", | ||
"prepublish": "tsc --incremental false", | ||
"compile": "tsc --noEmit && eslint src/**/*.ts tests/**/*.ts index.ts", | ||
"compile": "tsc --noEmit && eslint . --ext .ts", | ||
"test": "jest", | ||
"test_coverage": "jest --collectCoverage", | ||
"lint": "eslint src/**/*.ts tests/**/*.ts index.ts --fix" | ||
"lint": "eslint . --ext .ts --fix" | ||
}, | ||
@@ -18,0 +18,0 @@ "dependencies": {}, |
@@ -7,12 +7,12 @@ { | ||
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ | ||
"lib": [ | ||
"es2015", | ||
"dom" | ||
], | ||
"lib": [ | ||
"es2015", | ||
"dom" | ||
], | ||
// "allowJs": true, /* Allow javascript files to be compiled. */ | ||
// "checkJs": true, /* Report errors in .js files. */ | ||
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ | ||
"declaration": true, /* Generates corresponding '.d.ts' file. */ | ||
// "declaration": true, /* Generates corresponding '.d.ts' file. */ | ||
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */ | ||
// "sourceMap": true, /* Generates corresponding '.map' file. */ | ||
"sourceMap": true, /* Generates corresponding '.map' file. */ | ||
// "outFile": "./", /* Concatenate and emit output to single file. */ | ||
@@ -23,3 +23,3 @@ "outDir": "dist", /* Redirect output structure to the directory. */ | ||
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */ | ||
// "removeComments": true, /* Do not emit comments to output. */ | ||
"removeComments": true, /* Do not emit comments to output. */ | ||
// "noEmit": true, /* Do not emit outputs. */ | ||
@@ -43,3 +43,3 @@ // "importHelpers": true, /* Import emit helpers from 'tslib'. */ | ||
// "noUnusedParameters": true, /* Report errors on unused parameters. */ | ||
"noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ | ||
"noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ | ||
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ | ||
@@ -46,0 +46,0 @@ |
19913
251