build-workflow
Advanced tools
Comparing version 0.0.11 to 0.0.13
@@ -24,3 +24,3 @@ module.exports = function ( grunt, pkg, options ) { | ||
command: function ( file ) { | ||
var doccoHusky = pkg.docco_husky || {}; | ||
var doccoHusky = commonConfig.docco_husky || {}; | ||
var filesOrFolders = doccoHusky.sources || []; | ||
@@ -119,7 +119,7 @@ | ||
var codepainter = commonConfig.codepainter || {}; | ||
var sourceFilesGlobs = codepainter.sources; | ||
var sourceFilesGlobs = grunt.file.expand( codepainter.sources ); | ||
return sourceFilesGlobs.map(function ( glob ) { | ||
return lib.format( 'node_modules/codepainter/bin/codepaint xform -j {0} "{1}"', | ||
'grunt-deps/codepainter.json', glob ); | ||
codepainterJSON, glob ); | ||
} ).join( ' && ' ); | ||
@@ -126,0 +126,0 @@ } |
module.exports = function ( grunt ) { | ||
var prepushFiles = [ | ||
"**/*.js", | ||
"!resources/hooks/*.js", | ||
"!node_modules/**/*.*", | ||
'**/*.js', | ||
'!resources/hooks/*.js', | ||
'!node_modules/**/*.*', | ||
'!documentation/**/*.js', | ||
@@ -12,25 +12,14 @@ '!apidocs/**/*.js' | ||
return { | ||
changelog: { | ||
"gitUrlForCommit": "https://github.com/royriojas/build-workflow/commit/{0}", | ||
"gitAuthorUrl": "https://github.com/{0}", | ||
"urlForBugId": "https://github.com/royriojas/build-workflow/issues/{0}" | ||
}, | ||
// "docco_husky": { | ||
// "content_dir": "documentation/docs-source", | ||
// "output_dir": "documentation/docs", | ||
// "sources": [ | ||
// "Gruntfile.js", | ||
// "./" | ||
// ], | ||
// "project_name": "Build workflow", | ||
// "show_timestamp": true | ||
// }, | ||
"codepainter": { | ||
"sources": [ | ||
"**/*.js, !resources/hooks/*.js, !node_modules/**/*.*" | ||
'docco_husky': { | ||
'sources': [ | ||
'Gruntfile.js', | ||
'tasks/' | ||
] | ||
}, | ||
'codepainter': { | ||
'sources': prepushFiles | ||
}, | ||
// "yuidoc": { | ||
@@ -40,9 +29,9 @@ // "config": "./grunt-deps/yuidoc/yuidoc.json" | ||
"filesToValidate": { | ||
"jsbeautifier": prepushFiles, | ||
"jscs": prepushFiles, | ||
"jshint": prepushFiles, | ||
"jsvalidate": prepushFiles | ||
'filesToValidate': { | ||
'jsbeautifier': prepushFiles, | ||
'jscs': prepushFiles, | ||
'jshint': prepushFiles, | ||
'jsvalidate': prepushFiles | ||
} | ||
}; | ||
}; |
module.exports = function () { | ||
return { | ||
'changelog': { | ||
dest: './report/changelog/changelog.html' | ||
dest: './report/changelog/changelog.html', | ||
options: { | ||
'gitUrlForCommit': 'https://github.com/royriojas/build-workflow/commit/{0}', | ||
'gitAuthorUrl': 'https://github.com/{0}', | ||
'urlForBugId': 'https://github.com/royriojas/build-workflow/issues/{0}' | ||
} | ||
} | ||
}; | ||
}; |
{ | ||
"name": "build-workflow", | ||
"version": "0.0.11", | ||
"version": "0.0.13", | ||
"description": "Simple gruntfile helper to define build workflows", | ||
@@ -30,68 +30,22 @@ "main": "config-loader.js", | ||
"grunt": "~0.4.5", | ||
"grunt-jscs": "~0.7.1", | ||
"grunt-bump": "0.0.15", | ||
"stringformat": "0.0.5", | ||
"browserify-shim": "~3.5.0", | ||
"jquery": "~2.1.1", | ||
"matchdep": "~0.1.2", | ||
"time-grunt": "~0.2.9", | ||
"grunt-contrib-clean": "~0.5.0", | ||
"grunt-contrib-jshint": "~0.8.0", | ||
"grunt-contrib-uglify": "~0.2.2", | ||
"grunt-contrib-watch": "~0.5.3", | ||
"grunt-contrib-copy": "~0.5.0", | ||
"grunt-exec": "~0.4.5", | ||
"grunt-csso": "~0.5.3", | ||
"grunt-autoprefixer": "~1.0.0", | ||
"grunt-ez-frontend": "~0.2.21", | ||
"grunt-jsonlint": "~1.0.4", | ||
"grunt-jscs-checker": "0.2.6", | ||
"grunt-jsvalidate": "~0.2.2", | ||
"grunt-newer": "~0.6.1", | ||
"lodash": "~2.4.1", | ||
"codepainter": "~0.3.27", | ||
"marked": "~0.3.1", | ||
"cheerio": "~0.13.1", | ||
"grunt-karma": "~0.8.3", | ||
"grunt-contrib-csslint": "~0.2.0", | ||
"html-entities": "~1.0.10", | ||
"underscore": "~1.6.0", | ||
"karma-coverage": "~0.2.1", | ||
"karma-junit-reporter": "~0.2.2", | ||
"karma-jasmine": "~0.2.2", | ||
"karma-phantomjs-launcher": "~0.1", | ||
"karma-osx-reporter": "~0.1.0", | ||
"karma-spec-reporter": "0.0.13", | ||
"karma-chrome-launcher": "~0.1.4", | ||
"twig": "~0.7.0", | ||
"grunt-watchify": "~0.1.0", | ||
"protractor": "~0.24.2", | ||
"matchdep": "~0.3.0", | ||
"es6-promise": "~1.0.0", | ||
"twig": "~0.7.2", | ||
"marked": "~0.3.2", | ||
"dot": "~1.0.2", | ||
"moment": "~2.8.2", | ||
"es6-promise": "~1.0.0", | ||
"reactify": "~0.14.0", | ||
"browserify-transform-tools": "~1.2.1", | ||
"esprima": "~1.1.0", | ||
"react": "~0.11.1", | ||
"karma-commonjs-plus": "0.0.25", | ||
"karma-mocha": "~0.1.9", | ||
"sinon-chai": "~2.5.0", | ||
"chai": "~1.9.1", | ||
"sinon": "~1.10.3", | ||
"karma-chai-sinon": "~0.1.3", | ||
"jasmine-spec-reporter": "~0.6.0", | ||
"moment": "~2.8.3", | ||
"jshint-stylish": "~0.4.0", | ||
"grunt-contrib-jshint": "~0.10.0", | ||
"grunt-jsbeautifier": "https://github.com/royriojas/grunt-jsbeautifier/tarball/e69f6ef", | ||
"docco-husky": "https://github.com/royriojas/docco-husky/tarball/d3aaec2", | ||
"karma-react-jsx-preprocessor": "https://github.com/royriojas/karma-react-jsx-preprocessor/tarball/1824de4", | ||
"yuidocjs": "https://github.com/royriojas/yuidoc/tarball/exampleurl", | ||
"yuidoc-theme-blue": "https://github.com/royriojas/yuidoc-theme-blue/tarball/master" | ||
"grunt-jscs": "~0.7.1", | ||
"grunt-jsvalidate": "~0.2.2", | ||
"jsonlint": "~1.6.2", | ||
"docco-husky": "https://github.com/royriojas/docco-husky/tarball/f02aff8", | ||
"grunt-exec": "~0.4.6", | ||
"grunt-bump": "0.0.15" | ||
}, | ||
"docco_husky": { | ||
"content_dir": "./docs", | ||
"output_dir": "./documentation", | ||
"sources": [ | ||
"Gruntfile.js" | ||
], | ||
"content_dir": "docs", | ||
"output_dir": "documentation", | ||
"project_name": "Build Workflow", | ||
@@ -98,0 +52,0 @@ "show_timestamp": true |
@@ -19,3 +19,3 @@ module.exports = function ( grunt, pkg, options ) { | ||
return new Promise(function ( resolve, reject ) { | ||
exec( "git for-each-ref --sort='-*authordate' --format='%(tag)' refs/tags", function ( err, stdout, stderr ) { | ||
exec( 'git for-each-ref --sort=\'-*authordate\' --format=\'%(tag)\' refs/tags', function ( err, stdout, stderr ) { | ||
if ( !err ) { | ||
@@ -42,3 +42,3 @@ var tags = stdout.split( '\n' ).filter(function ( entry ) { | ||
name: '', | ||
args: "--pretty=format:'%h$|$%s$|$%b$|$%ct$|$%an$-$-$' --no-merges" | ||
args: '--pretty=format:\'%h$|$%s$|$%b$|$%ct$|$%an$-$-$\' --no-merges' | ||
}; | ||
@@ -45,0 +45,0 @@ |
@@ -10,3 +10,3 @@ module.exports = function ( grunt, pkg, options ) { | ||
gruntTaskUtils.registerTasks( { | ||
"css-font": { | ||
'css-font': { | ||
description: 'creates a css font css from the selection.json info file', | ||
@@ -13,0 +13,0 @@ multiTask: function () { |
@@ -11,9 +11,14 @@ module.exports = { | ||
scope.equal = function ( actual, expected ) { | ||
expect( actual ).to.equal( expected ); | ||
}; | ||
var qunitMethods = [ | ||
'equal', | ||
'strictEqual', | ||
'deepEqual', | ||
'ok' | ||
]; | ||
scope.ok = function ( actual ) { | ||
expect( actual ).to.be.true; | ||
}; | ||
qunitMethods.forEach(function ( method ) { | ||
scope[ method ] = function () { | ||
assert[ method ].apply( assert, arguments ); | ||
}; | ||
} ); | ||
@@ -20,0 +25,0 @@ scope.getOverrider = function ( obj ) { |
@@ -6,3 +6,3 @@ var transformTools = require( 'browserify-transform-tools' ); | ||
var options = { | ||
excludeExtensions: [ ".json" ] | ||
excludeExtensions: [ '.json' ] | ||
}; | ||
@@ -9,0 +9,0 @@ |
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
146189
17
2074