mirror of
https://github.com/flarum/framework.git
synced 2025-02-20 03:20:47 +08:00

- Extract shared Ember components into a “flarum-common” ember-cli addon. This can be used by both the forum + admin Ember apps, keeping things DRY - Move LESS styles into their own top-level directory and do a similar thing (extract common styles) - Add LESS/JS compilation and versioning to PHP (AssetManager) - Set up admin entry point (Theoretical) upgrade instructions: - Delete everything in [app_root]/public - Set up tooling in forum/admin Ember apps (npm install/update, bower install/update) and then build them (ember build) - php artisan vendor:publish - Upgrade flarum/flarum repo (slight change in a config file) - If you need to trigger a LESS/JS recompile, delete the .css/.js files in [app_root]/public/flarum. I set up LiveReload to do this for me when I change files in less/ or ember/ Todo: - Start writing admin app! - Remove bootstrap/font-awesome from repo and instead depend on their composer packages? Maybe? (Bower is not an option here)
44 lines
1.0 KiB
JSON
44 lines
1.0 KiB
JSON
{
|
|
"name": "flarum-common",
|
|
"version": "0.0.0",
|
|
"description": "The default blueprint for ember-cli addons.",
|
|
"directories": {
|
|
"doc": "doc",
|
|
"test": "tests"
|
|
},
|
|
"scripts": {
|
|
"start": "ember server",
|
|
"build": "ember build",
|
|
"test": "ember test"
|
|
},
|
|
"repository": "",
|
|
"engines": {
|
|
"node": ">= 0.10.0"
|
|
},
|
|
"author": "",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"broccoli-asset-rev": "^2.0.0",
|
|
"ember-cli": "0.2.0-beta.1",
|
|
"ember-cli-babel": "^4.0.0",
|
|
"ember-cli-app-version": "0.3.1",
|
|
"ember-cli-content-security-policy": "0.3.0",
|
|
"ember-cli-dependency-checker": "0.0.7",
|
|
"ember-cli-htmlbars": "0.7.4",
|
|
"ember-cli-ic-ajax": "0.1.1",
|
|
"ember-cli-inject-live-reload": "^1.3.0",
|
|
"ember-cli-qunit": "0.3.8",
|
|
"ember-cli-uglify": "1.0.1",
|
|
"ember-data": "1.0.0-beta.15",
|
|
"ember-export-application-global": "^1.0.2",
|
|
"express": "^4.8.5",
|
|
"glob": "^4.0.5"
|
|
},
|
|
"keywords": [
|
|
"ember-addon"
|
|
],
|
|
"ember-addon": {
|
|
"configPath": "tests/dummy/config"
|
|
}
|
|
}
|