mirror of
https://github.com/milligram/milligram.git
synced 2024-11-13 16:54:22 +00:00
Remove component package
This commit is contained in:
parent
971a4274a2
commit
cab6c40823
@ -1,4 +1,3 @@
|
||||
|
||||
.appveyor.yml
|
||||
.coveralls.yml
|
||||
.editorconfig
|
||||
@ -11,7 +10,6 @@
|
||||
backstop.conf.js
|
||||
bower.json
|
||||
changelog.md
|
||||
component.json
|
||||
composer.json
|
||||
package.js
|
||||
package.json
|
||||
|
@ -40,7 +40,6 @@
|
||||
"backstop.conf.js",
|
||||
"bower.json",
|
||||
"changelog.md",
|
||||
"component.json",
|
||||
"composer.json",
|
||||
"package.js",
|
||||
"package.json",
|
||||
|
@ -1,59 +0,0 @@
|
||||
{
|
||||
"name": "milligram",
|
||||
"version": "1.2.0",
|
||||
"description": "A minimalist CSS framework.",
|
||||
"homepage": "http://milligram.github.io",
|
||||
"repository": "milligram/milligram",
|
||||
"license": "MIT",
|
||||
"author": "CJ Patoilo <cjpatoilo@gmail.com>",
|
||||
"main": "dist/milligram.css",
|
||||
"keywords": [
|
||||
"bootstrap",
|
||||
"css",
|
||||
"css3",
|
||||
"flexbox",
|
||||
"front-end",
|
||||
"framework",
|
||||
"html",
|
||||
"html5",
|
||||
"kickstarter",
|
||||
"less",
|
||||
"responsive",
|
||||
"mobile",
|
||||
"mobile-first",
|
||||
"postcss",
|
||||
"responsive",
|
||||
"sass",
|
||||
"scss",
|
||||
"stylus"
|
||||
],
|
||||
"ignore": [
|
||||
".appveyor.yml",
|
||||
".coveralls.yml",
|
||||
".editorconfig",
|
||||
".eslintrc",
|
||||
".github",
|
||||
".gitignore",
|
||||
".npmignore",
|
||||
".sasslintrc",
|
||||
".travis.yml",
|
||||
"backstop.conf.js",
|
||||
"bower.json",
|
||||
"changelog.md",
|
||||
"component.json",
|
||||
"composer.json",
|
||||
"package.js",
|
||||
"package.json",
|
||||
"src",
|
||||
"test"
|
||||
],
|
||||
"styles": [
|
||||
"examples",
|
||||
"dist/milligram.css",
|
||||
"dist/milligram.css.map",
|
||||
"dist/milligram.min.css",
|
||||
"dist/milligram.min.css.map",
|
||||
"license",
|
||||
"readme.md"
|
||||
]
|
||||
}
|
@ -40,7 +40,6 @@
|
||||
"backstop.conf.js",
|
||||
"bower.json",
|
||||
"changelog.md",
|
||||
"component.json",
|
||||
"composer.json",
|
||||
"package.js",
|
||||
"package.json",
|
||||
|
@ -40,7 +40,6 @@
|
||||
"backstop.conf.js",
|
||||
"bower.json",
|
||||
"changelog.md",
|
||||
"component.json",
|
||||
"composer.json",
|
||||
"package.js",
|
||||
"package.json",
|
||||
|
@ -1,13 +1,11 @@
|
||||
const assert = require('power-assert');
|
||||
const npm = require('../../package.json');
|
||||
const bower = require('../../bower.json');
|
||||
const component = require('../../component.json');
|
||||
const composer = require('../../composer.json');
|
||||
|
||||
const packages = [
|
||||
npm,
|
||||
bower,
|
||||
component,
|
||||
composer
|
||||
];
|
||||
|
||||
@ -15,10 +13,11 @@ describe('Package', () => {
|
||||
|
||||
describe('Name', () => {
|
||||
|
||||
it(`should be equal to ${npm.name}`, () => {
|
||||
it(`should be equal "${npm.name}"`, () => {
|
||||
packages.map((referenceValue, referenceIndex) => {
|
||||
packages.map((compareValue, compareIndex) => {
|
||||
if (referenceIndex !== compareIndex) assert(referenceValue.name, compareValue.name);
|
||||
if (compareValue.name.match('/')) compareValue.name = compareValue.name.split('/')[1]
|
||||
if (referenceIndex !== compareIndex) assert(referenceValue.name === compareValue.name);
|
||||
});
|
||||
});
|
||||
});
|
||||
@ -27,10 +26,10 @@ describe('Package', () => {
|
||||
|
||||
describe('Version', () => {
|
||||
|
||||
it(`should be equal to v${npm.version}`, () => {
|
||||
it(`should be equal to "v${npm.version}"`, () => {
|
||||
packages.map((referenceValue, referenceIndex) => {
|
||||
packages.map((compareValue, compareIndex) => {
|
||||
if (referenceIndex !== compareIndex) assert(referenceValue.version, compareValue.version);
|
||||
if (referenceIndex !== compareIndex) assert(referenceValue.version === compareValue.version);
|
||||
});
|
||||
});
|
||||
});
|
||||
@ -39,10 +38,10 @@ describe('Package', () => {
|
||||
|
||||
describe('Description', () => {
|
||||
|
||||
it(`should be equal to ${npm.description}`, () => {
|
||||
it(`should be equal to "${npm.description}"`, () => {
|
||||
packages.map((referenceValue, referenceIndex) => {
|
||||
packages.map((compareValue, compareIndex) => {
|
||||
if (referenceIndex !== compareIndex) assert(referenceValue.description, compareValue.description);
|
||||
if (referenceIndex !== compareIndex) assert(referenceValue.description === compareValue.description);
|
||||
});
|
||||
});
|
||||
});
|
||||
@ -51,10 +50,10 @@ describe('Package', () => {
|
||||
|
||||
describe('Homepage', () => {
|
||||
|
||||
it(`should be equal to ${npm.homepage}`, () => {
|
||||
it(`should be equal to "${npm.homepage}"`, () => {
|
||||
packages.map((referenceValue, referenceIndex) => {
|
||||
packages.map((compareValue, compareIndex) => {
|
||||
if (referenceIndex !== compareIndex) assert(referenceValue.homepage, compareValue.homepage);
|
||||
if (referenceIndex !== compareIndex) assert(referenceValue.homepage === compareValue.homepage);
|
||||
});
|
||||
});
|
||||
});
|
||||
@ -63,10 +62,10 @@ describe('Package', () => {
|
||||
|
||||
describe('Repository', () => {
|
||||
|
||||
it(`should be equal to ${npm.repository}`, () => {
|
||||
it(`should be equal to "${npm.repository}"`, () => {
|
||||
packages.map((referenceValue, referenceIndex) => {
|
||||
packages.map((compareValue, compareIndex) => {
|
||||
if (referenceIndex !== compareIndex) assert(referenceValue.repository, compareValue.repository);
|
||||
if (referenceIndex !== compareIndex) assert(referenceValue.repository === compareValue.repository);
|
||||
});
|
||||
});
|
||||
});
|
||||
@ -75,10 +74,10 @@ describe('Package', () => {
|
||||
|
||||
describe('License', () => {
|
||||
|
||||
it(`should be equal to ${npm.license}`, () => {
|
||||
it(`should be equal to "${npm.license}"`, () => {
|
||||
packages.map((referenceValue, referenceIndex) => {
|
||||
packages.map((compareValue, compareIndex) => {
|
||||
if (referenceIndex !== compareIndex) assert(referenceValue.license, compareValue.license);
|
||||
if (referenceIndex !== compareIndex) assert(referenceValue.license === compareValue.license);
|
||||
});
|
||||
});
|
||||
});
|
||||
@ -87,10 +86,10 @@ describe('Package', () => {
|
||||
|
||||
describe('Author Name', () => {
|
||||
|
||||
it(`should be equal to ${npm.author}`, () => {
|
||||
it(`should be equal to "${npm.author}"`, () => {
|
||||
packages.map((referenceValue, referenceIndex) => {
|
||||
packages.map((compareValue, compareIndex) => {
|
||||
if (referenceIndex !== compareIndex) assert(referenceValue.author, compareValue.author);
|
||||
if (referenceIndex !== compareIndex) assert(referenceValue.author === compareValue.author);
|
||||
});
|
||||
});
|
||||
});
|
||||
@ -99,10 +98,10 @@ describe('Package', () => {
|
||||
|
||||
describe('Main File', () => {
|
||||
|
||||
it(`should be equal to ${npm.main}`, () => {
|
||||
it(`should be equal to "${npm.main}"`, () => {
|
||||
packages.map((referenceValue, referenceIndex) => {
|
||||
packages.map((compareValue, compareIndex) => {
|
||||
if (referenceIndex !== compareIndex) assert(referenceValue.main, compareValue.main);
|
||||
if (referenceIndex !== compareIndex) assert(referenceValue.main === compareValue.main);
|
||||
});
|
||||
});
|
||||
});
|
||||
@ -114,7 +113,7 @@ describe('Package', () => {
|
||||
it('should be equal', () => {
|
||||
packages.map((referenceValue, referenceIndex) => {
|
||||
packages.map((compareValue, compareIndex) => {
|
||||
if (referenceIndex !== compareIndex) assert(referenceValue.ignore, compareValue.ignore);
|
||||
if (referenceIndex !== compareIndex) assert(JSON.stringify(referenceValue.ignore) === JSON.stringify(compareValue.ignore));
|
||||
});
|
||||
});
|
||||
});
|
||||
@ -126,7 +125,7 @@ describe('Package', () => {
|
||||
it('should be equal', () => {
|
||||
packages.map((referenceValue, referenceIndex) => {
|
||||
packages.map((compareValue, compareIndex) => {
|
||||
if (referenceIndex !== compareIndex) assert(referenceValue.keywords, compareValue.keywords);
|
||||
if (referenceIndex !== compareIndex) assert(JSON.stringify(referenceValue.keywords) === JSON.stringify(compareValue.keywords));
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user