component-kit-builder
Advanced tools
Comparing version 1.1.0 to 2.0.0
@@ -32,3 +32,3 @@ 'use strict'; | ||
{ | ||
complete: wrappersList.reduce( | ||
default: wrappersList.reduce( | ||
(complete, moduleName) => hoist(moduleMap[moduleName](complete), complete), | ||
@@ -35,0 +35,0 @@ moduleMap.component |
{ | ||
"name": "component-kit-builder", | ||
"version": "1.1.0", | ||
"version": "2.0.0", | ||
"description": "builds component kits using webpack require.context", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -42,3 +42,3 @@ const assert = require('assert'); | ||
'component', | ||
'complete' | ||
'default' | ||
].sort(), | ||
@@ -56,3 +56,3 @@ Object.keys(require(bundlePath)).sort() | ||
'component', | ||
'complete' | ||
'default' | ||
].sort(), | ||
@@ -71,3 +71,3 @@ Object.keys(require(bundlePath)).sort() | ||
'component', | ||
'complete' | ||
'default' | ||
].sort(), | ||
@@ -79,3 +79,3 @@ Object.keys(require(bundlePath)).sort() | ||
buildBundle(); | ||
assert(require(bundlePath).complete(), 'redux relay component'); | ||
assert(require(bundlePath).default(), 'redux relay component'); | ||
}); | ||
@@ -99,6 +99,6 @@ it('should work with es6-style default exports', function () { | ||
const bundle = require(bundlePath); | ||
assert(bundle.complete.reduxStaticProp); | ||
assert(bundle.complete.relayStaticProp); | ||
assert(bundle.complete.componentStaticProp); | ||
assert(bundle.default.reduxStaticProp); | ||
assert(bundle.default.relayStaticProp); | ||
assert(bundle.default.componentStaticProp); | ||
}) | ||
}); |
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
7919