ember-cli-bourbon
Advanced tools
Comparing version 0.0.1 to 0.0.4
{ | ||
"name": "ember-cli-bourbon", | ||
"main": "index.js", | ||
"version": "0.0.0", | ||
"authors": [ | ||
"Joe Fiorini <joe@joefiorini.com>" | ||
], | ||
"moduleType": [ | ||
"node" | ||
], | ||
"license": "MIT", | ||
"private": true, | ||
"ignore": [ | ||
"**/.*", | ||
"node_modules", | ||
"bower_components", | ||
"test", | ||
"tests" | ||
], | ||
"dependencies": { | ||
"bourbon": "~4.0.2" | ||
"handlebars": "~1.3.0", | ||
"jquery": "^1.11.1", | ||
"ember": "1.7.0", | ||
"ember-data": "1.0.0-beta.10", | ||
"ember-resolver": "~0.1.7", | ||
"loader.js": "stefanpenner/loader.js#1.0.1", | ||
"ember-cli-shims": "stefanpenner/ember-cli-shims#0.0.3", | ||
"ember-cli-test-loader": "rwjblue/ember-cli-test-loader#0.0.4", | ||
"ember-load-initializers": "stefanpenner/ember-load-initializers#0.0.2", | ||
"ember-qunit": "0.1.8", | ||
"ember-qunit-notifications": "0.0.4", | ||
"qunit": "~1.15.0" | ||
}, | ||
"devDependencies": { | ||
"bourbon": "~3.2.1" | ||
} | ||
} |
40
index.js
@@ -1,27 +0,19 @@ | ||
var fs = require('fs'); | ||
'use strict'; | ||
var path = require('path'); | ||
var pickFiles = require('broccoli-static-compiler'); | ||
var unwatchedTree = require('broccoli-unwatched-tree'); | ||
function EmberCLIBourbon(project) { | ||
this.project = project; | ||
this.name = 'Ember CLI Bourbon'; | ||
} | ||
EmberCLIBourbon.prototype.treeFor = function() { | ||
console.log('ARGS', arguments); | ||
var treePath = path.join('vendor/bourbon/dist'); | ||
return treePath; | ||
module.exports = { | ||
name: 'ember-bourbon', | ||
blueprintsPath: function() { | ||
return path.join(__dirname, 'blueprints'); | ||
}, | ||
treeForStyles: function() { | ||
var bourbonPath = path.join(this.app.bowerDirectory, 'bourbon', 'dist'); | ||
var bourbonTree = pickFiles(unwatchedTree(bourbonPath), { | ||
srcDir: '/', | ||
destDir: '/app/styles' | ||
}); | ||
return bourbonTree; | ||
} | ||
}; | ||
EmberCLIBourbon.prototype.included = function included(app) { | ||
fs.readdirSync('vendor/bourbon/dist').forEach(function(file) { | ||
var fullPath = path.join('vendor/bourbon/dist', file); | ||
var stat = fs.statSync(fullPath); | ||
if(stat.isFile()) { | ||
console.log('importing ', fullPath); | ||
app.import(fullPath); | ||
} | ||
}); | ||
}; | ||
module.exports = EmberCLIBourbon; |
{ | ||
"name": "ember-cli-bourbon", | ||
"version": "0.0.1", | ||
"description": "Ember CLI add-on to inject bourbon into Ember apps", | ||
"main": "index.js", | ||
"description": "Include boubon in an ember-cli app", | ||
"version": "0.0.4", | ||
"directories": { | ||
"doc": "doc", | ||
"test": "tests" | ||
}, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"start": "ember server", | ||
"build": "ember build", | ||
"test": "ember test" | ||
}, | ||
"repository": "https://github.com/yapplabs/ember-cli-bourbon", | ||
"engines": { | ||
"node": ">= 0.10.0" | ||
}, | ||
"author": "", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"body-parser": "^1.2.0", | ||
"broccoli-asset-rev": "0.3.0", | ||
"broccoli-ember-hbs-template-compiler": "^1.6.1", | ||
"broccoli-sass": "^0.2.3", | ||
"broccoli-static-compiler": "^0.2.1", | ||
"broccoli-unwatched-tree": "^0.1.1", | ||
"ember-cli": "0.1.1", | ||
"ember-cli-content-security-policy": "0.2.0", | ||
"ember-cli-ic-ajax": "0.1.1", | ||
"ember-cli-inject-live-reload": "^1.2.2", | ||
"ember-cli-qunit": "0.1.0", | ||
"ember-data": "1.0.0-beta.10", | ||
"express": "^4.8.5", | ||
"glob": "^4.0.5" | ||
}, | ||
"keywords": [ | ||
"ember-cli-addon" | ||
"ember-addon" | ||
], | ||
"author": "Joe Fiorini", | ||
"license": "ISC" | ||
"ember-addon": { | ||
"configPath": "tests/dummy/config" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
15191
34
185
2
1
40
1
14
3
2