angular-eha.autofocus
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "angular-eha.autofocus", | ||
"description": "An autofocus directive", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"authors": [ | ||
@@ -13,3 +13,3 @@ "oss@ehealthafrica.org" | ||
"keywords": ["autofocus"," directive"," angularjs"], | ||
"main": "", | ||
"main": "dist/angular-eha.autofocus.directive.js", | ||
"license": "Apache-2.0", | ||
@@ -16,0 +16,0 @@ "ignore": [ |
@@ -21,3 +21,3 @@ module.exports = function(grunt) { | ||
rename: function(dest, src) { | ||
return dest + src.replace('scripts','angular-eha.autofocus'); | ||
return dest + src.replace('scripts','angular-eha.autofocus.directive'); | ||
} | ||
@@ -33,9 +33,2 @@ } | ||
dest: '.tmp/scripts.js' | ||
}, | ||
templates: { | ||
src: [ | ||
'.tmp/scripts.js', | ||
'.tmp/templates.js' | ||
], | ||
dest: '.tmp/scripts.templates.js' | ||
} | ||
@@ -57,22 +50,6 @@ }, | ||
files: { | ||
'dist/angular-eha.autofocus.min.js': ['.tmp/scripts.js'], | ||
'dist/angular-eha.autofocus.templates.min.js': ['.tmp/scripts.templates.js'] | ||
'dist/angular-eha.autofocus.directive.min.js': ['.tmp/scripts.js'] | ||
} | ||
} | ||
}, | ||
html2js: { | ||
dist: { | ||
src: ['src/**/*.tpl.html'], | ||
dest: '.tmp/templates.js', | ||
module: 'eha.autofocus.templates', | ||
options: { | ||
rename: function(moduleName) { | ||
var parts = moduleName.split('/'); | ||
var index = parts.indexOf('src'); | ||
parts = parts.slice(index + 1, parts.length); | ||
return 'templates/' + parts.join('/'); | ||
} | ||
} | ||
} | ||
}, | ||
karma: { | ||
@@ -121,4 +98,3 @@ options: { | ||
grunt.registerTask('templates', ['html2js']); | ||
grunt.registerTask('test', ['html2js', 'jshint', 'jscs', 'karma:unit']); | ||
grunt.registerTask('test', ['jshint', 'jscs', 'karma:unit']); | ||
grunt.registerTask('test:watch', ['karma:watch']); | ||
@@ -129,5 +105,3 @@ | ||
'clean', | ||
'templates', | ||
'concat:scripts', | ||
'concat:templates', | ||
'ngAnnotate', | ||
@@ -134,0 +108,0 @@ 'copy:scripts', |
{ | ||
"name": "angular-eha.autofocus", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "An autofocus directive", | ||
"main": "", | ||
"main": "dist/<%= name %>.templates.js", | ||
"scripts": { | ||
@@ -19,3 +19,3 @@ "test": "grunt test" | ||
}, | ||
"homepage": "http://ehealtharfica.org", | ||
"homepage": "http://ehealthafrica.org", | ||
"devDependencies": { | ||
@@ -22,0 +22,0 @@ "angular": "^1.3.13", |
# angular-eha.autofocus | ||
[![Build Status](https:/travis-ci.org/eHealthAfrica/angular-eha.autofocus.svg?branch=master)](https://magnum.travis-ci.com/eHealthAfrica/angular-eha.autofocus) | ||
[![Build Status](https://travis-ci.org/eHealthAfrica/angular-eha.autofocus.svg)](https://travis-ci.org/eHealthAfrica/angular-eha.autofocus) ![Dependecy Status](https://david-dm.org/eHealthAfrica/angular-eha.autofocus.svg) ![Dev Dependecy Status](https://david-dm.org/eHealthAfrica/angular-eha.autofocus/dev-status.svg) | ||
@@ -5,0 +5,0 @@ ## Usage |
@@ -16,3 +16,3 @@ /*jshint expr: true*/ | ||
$scope = _$rootScope_.$new(); | ||
$compile = _$compile_;I | ||
$compile = _$compile_; | ||
$document = _$document_; | ||
@@ -19,0 +19,0 @@ $timeout = _$timeout_; |
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
0
29891
16
305