Skip to content

Commit 5ef8ca1

Browse files
committed
Disable githooks causing problems with publish
1 parent 1908612 commit 5ef8ca1

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

Gruntfile.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -382,11 +382,6 @@ module.exports = function (grunt) {
382382
config: '.jscsrc'
383383
}
384384
},
385-
githooks: {
386-
all: {
387-
'pre-commit': 'lint'
388-
}
389-
},
390385
'string-replace': {
391386
dist: {
392387
files: {
@@ -445,7 +440,6 @@ module.exports = function (grunt) {
445440
grunt.registerTask('release', ['smp-dist', 'test', 'jsdoc']);
446441
grunt.registerTask('debug', ['clean', 'browserify:all', 'exorcise:all', 'copy:dist']);
447442
grunt.registerTask('lint', ['jshint', 'jscs']);
448-
grunt.registerTask('prepublish', ['githooks', 'dist']);
449443
grunt.registerTask('dev', ['browserSync', 'watch-dev']);
450444
grunt.registerTask('deploy', ['string-replace', 'ftp_push']);
451445
};

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
"test": "mocha test/unit --require mochahook",
1414
"test-functional": "node test/functional/runTests.js --selenium=remote --app=remote",
1515
"dev": "grunt dev",
16-
"prepublish": "grunt githooks",
17-
"prepublishOnly": "grunt prepublish",
1816
"debug": "iron-mocha --require mochahook",
1917
"coverage": "istanbul cover node_modules/mocha/bin/_mocha --require mochahook -- test/",
2018
"postversion": "git push && git push --tags"

0 commit comments

Comments
 (0)