rollick

0.0.52 • Public • Published

How to try it out

$ npm i
$ npm run build
$ node server.js

If you want to try it on any other project with components, you will need a rollick config file - name rollick.config.js. It looks like this

module.exports = {
    componentsPath: 'src/components',
    jspm: {
        paths: {
            lodash: '/node_modules/lodash/index.js',
            'lodash.words': '/node_modules/lodash.words/index.js',
            jquery: '/node_modules/jquery/dist/jquery.min.js',
            moment: '/node_modules/moment/min/moment-with-langs.min.js',
            bluebird: '/node_modules/bluebird/js/browser/bluebird.min.js'
        }
    },
    globals: {
        css: {
            urls: '/path/to/global.css'
        }
    },
    server: {
      paths: {
          'fonts': 'path/to/fontsfile'
      },
    }
}

And then run the following commands -

$ npm i rollick -g
$ rollick install
$ rollick start --port 5005

This should start a localhost server on port 4001 and will serve the tool on http://localhost:4001/.rollick/index.html

Readme

Keywords

none

Package Sidebar

Install

npm i rollick

Weekly Downloads

0

Version

0.0.52

License

none

Last publish

Collaborators

  • mukeshsoni