luna-config

1.8.2 • Public • Published

Luna Config

Config manager for Luna web apps.

Handles the setup of the following dev tools:

All config is provided as a JS object so standard methods can be used to customise and extend:

// webpack.config.js
module.exports = getWebpackConfig({
  context: __dirname,
  module: {
    rules: [
      /* My custom loaders */
    ],
  },
  plugins: [
    /* My custom plugins */
  ],
})

Getting started

luna-config is primarily designed for use with a fresh project so has a script to set up everything needed following an npm init and installing the package.

npm i -D luna-config

Once installed locally you can run:

npx luna-config-init && npm i

Then you're ready to go! Take a look at the Luna site for next steps on adding content to your app. Alternatively you can look at the luna-react-boilerplate repo that expands on this base with additional behaviour such as routing.

Dependents (0)

Package Sidebar

Install

npm i luna-config

Weekly Downloads

14

Version

1.8.2

License

UNLICENSED

Unpacked Size

124 kB

Total Files

37

Last publish

Collaborators

  • js-luna
  • emortlock
  • atkinchris
  • mikbeach