2017-01-14 23:11:43 +00:00
|
|
|
Structuring Application
|
|
|
|
=======================
|
|
|
|
|
|
|
|
Embark is quite flexible and you can configure you're own directory
|
|
|
|
structure using ``embark.json``
|
|
|
|
|
|
|
|
.. code:: json
|
|
|
|
|
|
|
|
# embark.json
|
|
|
|
{
|
2018-03-15 20:11:42 +00:00
|
|
|
"contracts": ["contracts/**"],
|
2017-01-14 23:11:43 +00:00
|
|
|
"app": {
|
2018-03-15 20:11:42 +00:00
|
|
|
"js/app.js": ["app/dapp.js"],
|
|
|
|
"index.html": "app/index.html",
|
2017-01-14 23:11:43 +00:00
|
|
|
"css/app.css": ["app/css/**"],
|
2018-03-15 20:11:42 +00:00
|
|
|
"images/": ["app/images/**"]
|
2017-01-14 23:11:43 +00:00
|
|
|
},
|
|
|
|
"buildDir": "dist/",
|
2017-02-07 01:59:36 +00:00
|
|
|
"config": "config/",
|
|
|
|
"plugins": {}
|
2017-01-14 23:11:43 +00:00
|
|
|
}
|
2017-02-07 01:59:36 +00:00
|
|
|
|