embark/site
Pascal Precht 4a122499e9
feat: add support for `embark.config.js`
This commit introduces support for using `embark.config.js` to calculate the embark
configuration object, that is otherwise provided via `embark.json`.

If an `embark.config.js` file is present, it will be used over the `embark.json` file.
The `embark.config.js` module needs to exports a function that can be asynchronous and
has to return or resolve with an embark configuration object:

```
// embark.config.js

module.exports = async function () {
  let config = ...; // do lazy calculation of `embarkConfig`;
  return config;
}
```
2020-03-02 17:19:41 +01:00
..
scripts chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
source feat: add support for `embark.config.js` 2020-03-02 17:19:41 +01:00
themes/embark feat(plugins/scripts-runner): introduce exec command to run scripts 2020-02-12 16:47:04 -06:00
.gitignore fix: add missing linkjuice built 2019-05-07 17:42:32 +02:00
CNAME chore: update site urls 2020-01-28 12:07:17 -05:00
LICENSE chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
README.md chore: rename org references from embark-framework to embarklabs 2020-01-16 15:36:29 -05:00
_config.yml chore: update site urls 2020-01-28 12:07:17 -05:00
deploy-site.js chore: rename org references from embark-framework to embarklabs 2020-01-16 15:36:29 -05:00
gulpfile.js chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
package.json build(deps-dev): bump gulp-useref from 4.0.0 to 4.0.1 in /site 2020-01-22 13:45:23 -06:00
yarn.lock build(deps-dev): bump gulp-useref from 4.0.0 to 4.0.1 in /site 2020-01-22 13:45:23 -06:00

README.md

Embark Official Website

The website for Embark.

Getting started

Install dependencies:

$ git clone https://github.com/embarklabs/embark.git
$ cd embark/site
$ npm install

Generate:

$ hexo generate

Run server:

$ hexo server