Get ember-cli to watch the flarum-common addon for changes by linking it

This commit is contained in:
Toby Zerner 2015-03-29 23:05:32 +10:30
parent edf530be67
commit 09089ddbf8
3 changed files with 10 additions and 5 deletions

View File

@ -9,7 +9,8 @@
"scripts": {
"start": "ember server",
"build": "ember build",
"test": "ember test"
"test": "ember test",
"preinstall": "sudo npm link ../common"
},
"repository": "",
"engines": {
@ -36,6 +37,6 @@
"broccoli-ember-inline-template-compiler": "tobscure/broccoli-ember-inline-template-compiler#f884d11",
"express": "^4.8.5",
"glob": "^4.0.5",
"flarum-common": "file:../common"
"flarum-common": "*"
}
}

View File

@ -2,5 +2,8 @@
'use strict';
module.exports = {
name: 'flarum-common'
name: 'flarum-common',
isDevelopingAddon: function() {
return true;
}
};

View File

@ -9,7 +9,8 @@
"scripts": {
"start": "ember server",
"build": "ember build",
"test": "ember test"
"test": "ember test",
"preinstall": "sudo npm link ../common"
},
"repository": "",
"engines": {
@ -36,6 +37,6 @@
"broccoli-ember-inline-template-compiler": "tobscure/broccoli-ember-inline-template-compiler#f884d11",
"express": "^4.8.5",
"glob": "^4.0.5",
"flarum-common": "file:../common"
"flarum-common": "*"
}
}