Comparing version 0.2.1 to 0.2.2
{ | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"name": "call-func", | ||
@@ -16,3 +16,7 @@ "repository": { | ||
"main": "./build/cjs/src/index.js", | ||
"module": "./build/es/src/index.js", | ||
"module": "./build/es/src/index.mjs", | ||
"exports": { | ||
"require": "./build/cjs/src/index.js", | ||
"import": "./build/es/src/index.mjs" | ||
}, | ||
"author": "Hill <hill@kimo.com>", | ||
@@ -31,7 +35,7 @@ "license": "MIT", | ||
"clean": "find ./build -name '*.*' | xargs rm -rf", | ||
"build:cjs": "BABEL_ENV=cjs babel src -d build/cjs/src --root-mode upward", | ||
"build:es": "BABEL_ENV=es babel src -d build/es/src --root-mode upward", | ||
"build:cjs": "BABEL_ENV=cjs babel src -d build/cjs/src --ignore /**/__tests__ --root-mode upward", | ||
"build:es": "BABEL_ENV=es babel src -d build/es/src --out-file-extension .mjs --root-mode upward", | ||
"build": "npm run clean && npm run build:cjs && npm run build:es", | ||
"mochaFor": "mocha -r jsdom-global/register", | ||
"mocha": "npm run mochaFor -- 'build/cjs/**/__tests__/*.js'", | ||
"mochaFor": "mocha -r global-jsdom/register", | ||
"mocha": "npm run mochaFor -- 'build/es/**/__tests__/*.mjs'", | ||
"test": "npm run build && npm run mocha", | ||
@@ -38,0 +42,0 @@ "prepublishOnly": "npm run test" |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
26384
15
755
1