jest-mock-promise
Advanced tools
Comparing version 1.0.1 to 1.0.3
{ | ||
"name": "jest-mock-promise", | ||
"version": "1.0.1", | ||
"version": "1.0.3", | ||
"description": "Synchronous Promise Mock for testing with Jest", | ||
"main": "src/index.ts", | ||
"main": "dist/jest-mock-promise.ts", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"build": "webpack -p" | ||
}, | ||
@@ -13,2 +13,4 @@ "author": "knee-cola <nikola.derezic@gmail.com>", | ||
"awesome-typescript-loader": "^3.4.0", | ||
"babel-core": "^6.26.0", | ||
"babel-preset-es2015": "^6.24.1", | ||
"typescript": "^2.6.1", | ||
@@ -21,2 +23,2 @@ "webpack": "^3.8.1" | ||
} | ||
} | ||
} |
@@ -5,5 +5,4 @@ { | ||
"module": "ES6", | ||
"jsx": "react", | ||
"target": "ES6" | ||
} | ||
} |
@@ -8,9 +8,9 @@ const path = require('path'); | ||
entry: { | ||
"app": srcDir+"index.ts", | ||
"jest-mock-promise": srcDir+"jest-mock-promise.ts", | ||
}, | ||
output: { | ||
path: path.resolve(__dirname + '/' + destDir), | ||
filename: 'index.js', | ||
library: 'JestMockPromise', | ||
libraryTarget: 'umd' | ||
filename: '[name].js', | ||
// library: 'JestMockPromise', | ||
// libraryTarget: 'umd' | ||
}, | ||
@@ -27,5 +27,8 @@ | ||
{ | ||
test: /\.ts$/, | ||
loader: "awesome-typescript-loader", | ||
exclude: /node_modules/, | ||
test: /\.ts$/, | ||
loader: "awesome-typescript-loader", | ||
exclude: /node_modules/, | ||
options: { | ||
useBabel: true | ||
} | ||
}, | ||
@@ -32,0 +35,0 @@ ] |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances 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
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
22170
9
220
1
5
2