@coorpacademy/components
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -6,20 +6,4 @@ 'use strict'; | ||
}); | ||
exports.createDisciplineCards = exports.createTitledCheckbox = exports.createSelectBox = exports.createModuleBubble = exports.createDisciplineCard = exports.createCheckboxes = exports.UppercaseBehaviour = exports.TinyBehaviour = exports.NormalBehaviour = exports.EmbossedBehaviour = exports.EllipsisBehaviour = exports.TextNormalBehaviour = exports.TextInvertedBehaviour = exports.PrimaryBehaviour = exports.CenteredBehaviour = exports.createTitle = exports.createLabel = exports.createLabelNormal = exports.createLabelModName = undefined; | ||
exports.createDisciplineCards = exports.createTitledCheckbox = exports.createSelectBox = exports.createModuleBubble = exports.createDisciplineCard = exports.createCheckboxes = exports.UppercaseBehaviour = exports.TinyBehaviour = exports.NormalBehaviour = exports.EmbossedBehaviour = exports.EllipsisBehaviour = exports.TextNormalBehaviour = exports.TextInvertedBehaviour = exports.PrimaryBehaviour = exports.CenteredBehaviour = undefined; | ||
var _labelModName = require('./atom/label-mod-name/'); | ||
var _labelModName2 = _interopRequireDefault(_labelModName); | ||
var _labelNormal = require('./atom/label-normal/'); | ||
var _labelNormal2 = _interopRequireDefault(_labelNormal); | ||
var _label = require('./atom/label/'); | ||
var _label2 = _interopRequireDefault(_label); | ||
var _title = require('./atom/title/'); | ||
var _title2 = _interopRequireDefault(_title); | ||
var _centered = require('./behaviour/align/centered/'); | ||
@@ -87,6 +71,2 @@ | ||
exports.createLabelModName = _labelModName2.default; | ||
exports.createLabelNormal = _labelNormal2.default; | ||
exports.createLabel = _label2.default; | ||
exports.createTitle = _title2.default; | ||
exports.CenteredBehaviour = _centered2.default; | ||
@@ -93,0 +73,0 @@ exports.PrimaryBehaviour = _primary2.default; |
@@ -49,3 +49,3 @@ 'use strict'; | ||
var factoryTests = function factoryTests(name, engine) { | ||
var components = (0, _componentsFinder.extractComponents)(); | ||
var components = (0, _componentsFinder.extractAllComponents)(); | ||
components.forEach(testComponent(name, engine)); | ||
@@ -52,0 +52,0 @@ }; |
@@ -117,3 +117,3 @@ 'use strict'; | ||
var fixturesTests = function fixturesTests(name, engine) { | ||
var components = (0, _componentsFinder.extractComponents)(); | ||
var components = (0, _componentsFinder.extractAllComponents)(); | ||
components.forEach(testComponent(name, engine)); | ||
@@ -120,0 +120,0 @@ }; |
@@ -60,3 +60,3 @@ 'use strict'; | ||
var validationTests = function validationTests(name, engine) { | ||
var components = (0, _componentsFinder.extractComponents)(); | ||
var components = (0, _componentsFinder.extractAllComponents)(); | ||
components.forEach(testComponent(name, engine)); | ||
@@ -63,0 +63,0 @@ }; |
@@ -72,4 +72,7 @@ 'use strict'; | ||
var extractComponents = function extractComponents(skipFixtures) { | ||
var includes = '{atom,behaviour,molecule,organism}'; | ||
var extractAllComponents = function extractAllComponents() { | ||
return extractComponents('{atom,behaviour,molecule,organism}', false); | ||
}; | ||
var extractComponents = function extractComponents(includes, skipFixtures) { | ||
var paths = '../components/' + includes + '/**/index.js'; | ||
@@ -82,3 +85,4 @@ return extractPaths(paths, skipFixtures); | ||
exports.extractComponents = extractComponents; | ||
exports.extractAllComponents = extractAllComponents; | ||
exports.extractPaths = extractPaths; | ||
//# sourceMappingURL=components-finder.js.map |
@@ -20,3 +20,4 @@ 'use strict'; | ||
var index = path.join(__dirname, '../components/index.js'); | ||
var elements = extractComponents(true); | ||
var includes = '{behaviour,molecule,organism}'; | ||
var elements = extractComponents(includes, true); | ||
@@ -31,9 +32,9 @@ var _imports = writeImports(elements) + '\n'; | ||
if (require.main === module) { | ||
module.exports = { | ||
generate: generate | ||
}; | ||
if (!module.parent) { | ||
generate(); | ||
} else { | ||
module.exports = { | ||
generate: generate | ||
}; | ||
} | ||
//# sourceMappingURL=generate-bundle.js.map |
{ | ||
"name": "@coorpacademy/components", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Component library for web front ends", | ||
@@ -8,3 +8,3 @@ "main": "lib/components/index.js", | ||
"start": "babel-node sandbox/index.js", | ||
"build": "npm run build:commonjs & npm run build:browser & wait", | ||
"build": "npm run build:commonjs && npm run build:browser", | ||
"build:commonjs": "npm run build:bundle && npm run clean:commonjs && BABEL_ENV=production babel src --out-dir lib -s", | ||
@@ -38,3 +38,2 @@ "build:browser": "npm run build:bundle && npm run clean:browser && webpack", | ||
"angular": "^1.5.2", | ||
"api-check": "^7.5.5", | ||
"autoprefixer": "^6.3.3", | ||
@@ -102,2 +101,3 @@ "ava": "^0.15.2", | ||
"dependencies": { | ||
"api-check": "^7.5.5", | ||
"d3": "^3.5.16", | ||
@@ -104,0 +104,0 @@ "nvd3": "^1.8.2" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
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
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
37
1059486
3
5865
+ Addedapi-check@^7.5.5
+ Addedapi-check@7.5.5(transitive)