Skip to content

Commit 15b1e38

Browse files
author
Alex Ross
committed
Clean up tasks, automate release
1 parent 9dcb15d commit 15b1e38

4 files changed

Lines changed: 14 additions & 8 deletions

File tree

grunt/aliases.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
{
2-
"develop": [
3-
"karma:watch:start",
4-
"watch"
5-
],
62
"build": [
73
"jscs",
84
"concat",
95
"uglify"
106
],
7+
"release": [
8+
"build",
9+
"test",
10+
"prompt",
11+
"bump",
12+
"npm-publish"
13+
],
1114
"test": [
1215
"karma:unit",
1316
"coveralls"

grunt/karma.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,4 @@ module.exports = {
2121
dir: 'coverage/',
2222
},
2323
},
24-
watch: {
25-
singleRun: false,
26-
background: true,
27-
},
2824
};

grunt/npm-publish.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
options: {
3+
requires: ['build', 'test', 'bump'],
4+
abortIfDirty: true,
5+
}
6+
};

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"grunt-jscs": "^2.3.0",
3232
"grunt-karma": "^0.12.1",
3333
"grunt-karma-coveralls": "^2.5.4",
34+
"grunt-npm": "0.0.2",
3435
"grunt-prompt": "^1.3.0",
3536
"jasmine-core": "^2.3.4",
3637
"karma": "^0.13.15",

0 commit comments

Comments
 (0)