@canopycanopycanopy/b-ber-theme-serif
Advanced tools
Comparing version 0.0.1 to 1.0.6-alpha.8
23
index.js
@@ -5,15 +5,14 @@ const fs = require('fs') | ||
function getAssets(name, re) { | ||
const dir = path.join(__dirname, name) | ||
return fs.existsSync(dir) | ||
? fs.readdirSync(dir).filter(asset => re.test(path.extname(asset))) | ||
: [] | ||
} | ||
module.exports = { | ||
name: 'b-ber-theme-serif', | ||
entry: path.resolve('application.scss'), | ||
fonts: getAssets('fonts', /\.(otf|ttf|woff2?|eot)/i), | ||
images: getAssets('images', /\.(jpe?g|png|gif)/i), | ||
npmPackage | ||
name: 'b-ber-theme-serif', | ||
entry: path.join(__dirname, 'application.scss'), | ||
fonts: (() => | ||
fs | ||
.readdirSync(path.join(__dirname, 'fonts')) | ||
.filter(file => /\.(otf|ttf|woff2?|eot)/i.test(path.extname(file))))(), | ||
images: (() => | ||
fs | ||
.readdirSync(path.join(__dirname, 'images')) | ||
.filter(file => /\.(jpe?g|png|gif)/i.test(path.extname(file))))(), | ||
npmPackage, | ||
} |
{ | ||
"name": "@canopycanopycanopy/b-ber-theme-serif", | ||
"version": "0.0.1", | ||
"description": "", | ||
"version": "1.0.6-alpha.8+625e5f90", | ||
"description": "A serif theme for b-ber projects", | ||
"main": "index.js", | ||
"author": "Triple Canopy <b-ber@canopycanopycanopy.com> (https://triplecanopy.github.io/)", | ||
"contributors": [ | ||
{ | ||
"name": "Maxwell Simmer", | ||
"email": "maxwellsimmer.com@gmail.com", | ||
"url": "https://maxwellsimmer.com" | ||
} | ||
], | ||
"license": "GPL-3.0-or-later", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"keywords": [], | ||
"author": "Maxwell Simmer <maxwell.simmer@gmail.com> (http://maxwellsimmer.com)", | ||
"license": "MIT", | ||
"dependencies": { | ||
"modularscale-sass": "^3.0.10" | ||
} | ||
}, | ||
"gitHead": "625e5f9007572732a7454236da10b917551adf02" | ||
} |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
61606
24
1
10
3
70
1