Skip to content

Commit bb22684

Browse files
authored
Merge pull request #11 from myplanet/no-bower
Only use bower in Travis CI, make Browserify-compatible
2 parents 5a7e76f + 0161485 commit bb22684

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
sudo: false
2+
13
language: node_js
24
node_js:
35
- 0.10

angular-action.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -120,5 +120,6 @@
120120
});
121121
} ]
122122
};
123-
});
123+
})
124+
.name; // pass back as dependency name
124125
}));

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "angular-action",
33
"version": "2.0.3",
44
"description": "User-submittable actions - reusable view-model directive",
5+
"main": "angular-action.js",
56
"dependencies": {},
67
"devDependencies": {
78
"bower": "~1.3",
@@ -12,8 +13,7 @@
1213
"karma": "~0.10.2"
1314
},
1415
"scripts": {
15-
"postinstall": "./node_modules/.bin/bower install",
16-
"test": "./node_modules/.bin/karma start --single-run --browsers PhantomJS"
16+
"test": "./node_modules/.bin/bower install && ./node_modules/.bin/karma start --single-run --browsers PhantomJS"
1717
},
1818
"license": "MIT",
1919
"author": "Nick Matantsev <[email protected]>",

0 commit comments

Comments
 (0)