3.0.13 • Published 6 years ago

grunt-oc v3.0.13

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

grunt-oc

Grunt wrapper for OpenComponents cli

linux build

OC cli command / grunt-oc tasks

  • oc dev => oc-dev and oc-dev-kill tasks
  • oc init => oc-init task
  • oc mock => oc-mock task
  • oc preview => oc preview task
  • oc publish => oc-publish task
  • oc registry => oc-registry task

Config example

grunt.initConfig({
  'oc-dev': {
    myFolder: {
      options: {
        dirPath: '.',
        port: 3030,
        baseUrl: 'http://localhost:3030/',
        hotReloading: false
      }
    }
  },
  'oc-dev-kill': {
    allInstances: {
      options: {}
    }
  },
  'oc-init': {
    newComponent: {
      options: {
        componentName: 'newComponent',
        templateType: 'jade'
      }
    }
  },
  'oc-mock': {
    getToggle: {
      options: {
        targetType: 'plugin',
        targetName: 'hello',
        targetValue: 'world'
      }
    }
  },
  'oc-preview': {
    myComponent: {
      options: {
        componentHref: 'https://components.com/my-component'
      }
    }
  },
  'oc-publish': {
    myComponent: {
      options: {
        registry: 'http://localhost:3030/',
        username: 'myuser',
        password: 'password',
        componentPath: './my-component/'
      }
    }
  }
});

grunt.loadNpmTasks('grunt-oc');

License

MIT

3.0.13

6 years ago

3.0.12

7 years ago

3.0.11

7 years ago

3.0.10

7 years ago

3.0.9

7 years ago

3.0.8

8 years ago

3.0.7

8 years ago

3.0.6

8 years ago

3.0.5

8 years ago

3.0.4

8 years ago

3.0.3

8 years ago

3.0.2

8 years ago

3.0.1

9 years ago

3.0.0

9 years ago

2.0.0

9 years ago

1.3.7

9 years ago

1.3.6

9 years ago

1.3.5

9 years ago

1.3.4

9 years ago

1.3.3

9 years ago

1.3.2

9 years ago

1.3.1

10 years ago

1.3.0

10 years ago

1.2.2

10 years ago

1.2.1

10 years ago

1.2.0

10 years ago

1.1.0

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago