mirror of
https://github.com/flarum/framework.git
synced 2025-04-26 06:34:06 +08:00
Get ember-cli to watch the flarum-common addon for changes by linking it
This commit is contained in:
parent
66d4c91a68
commit
7e889ef50d
@ -9,7 +9,8 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "ember server",
|
"start": "ember server",
|
||||||
"build": "ember build",
|
"build": "ember build",
|
||||||
"test": "ember test"
|
"test": "ember test",
|
||||||
|
"preinstall": "sudo npm link ../common"
|
||||||
},
|
},
|
||||||
"repository": "",
|
"repository": "",
|
||||||
"engines": {
|
"engines": {
|
||||||
@ -36,6 +37,6 @@
|
|||||||
"broccoli-ember-inline-template-compiler": "tobscure/broccoli-ember-inline-template-compiler#f884d11",
|
"broccoli-ember-inline-template-compiler": "tobscure/broccoli-ember-inline-template-compiler#f884d11",
|
||||||
"express": "^4.8.5",
|
"express": "^4.8.5",
|
||||||
"glob": "^4.0.5",
|
"glob": "^4.0.5",
|
||||||
"flarum-common": "file:../common"
|
"flarum-common": "*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,5 +2,8 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'flarum-common'
|
name: 'flarum-common',
|
||||||
|
isDevelopingAddon: function() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
@ -9,7 +9,8 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "ember server",
|
"start": "ember server",
|
||||||
"build": "ember build",
|
"build": "ember build",
|
||||||
"test": "ember test"
|
"test": "ember test",
|
||||||
|
"preinstall": "sudo npm link ../common"
|
||||||
},
|
},
|
||||||
"repository": "",
|
"repository": "",
|
||||||
"engines": {
|
"engines": {
|
||||||
@ -36,6 +37,6 @@
|
|||||||
"broccoli-ember-inline-template-compiler": "tobscure/broccoli-ember-inline-template-compiler#f884d11",
|
"broccoli-ember-inline-template-compiler": "tobscure/broccoli-ember-inline-template-compiler#f884d11",
|
||||||
"express": "^4.8.5",
|
"express": "^4.8.5",
|
||||||
"glob": "^4.0.5",
|
"glob": "^4.0.5",
|
||||||
"flarum-common": "file:../common"
|
"flarum-common": "*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user