1 | var EOL = require('os').EOL;
|
2 |
|
3 | module.exports = {
|
4 | name: 'ember-cli-mocha',
|
5 |
|
6 | normalizeEntityName: function() {
|
7 | // this prevents an error when the entityName is
|
8 | // not specified (since that doesn't actually matter
|
9 | // to us
|
10 | },
|
11 |
|
12 | afterInstall: function() {
|
13 | var addonContext = this;
|
14 |
|
15 | return this.addBowerPackagesToProject([
|
16 | { name: 'ember-mocha-adapter', source: 'ember-mocha-adapter', target: '~0.3.1' },
|
17 | ]).then(function() {
|
18 | if ('removePackageFromProject' in addonContext) {
|
19 | return addonContext.removePackageFromProject('ember-cli-qunit');
|
20 | }
|
21 | });
|
22 | }
|
23 | };
|