3.0.13 • Published 5 years ago

grunt-oc v3.0.13

Weekly downloads
2
License
MIT
Repository
github
Last release
5 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

5 years ago

3.0.12

5 years ago

3.0.11

6 years ago

3.0.10

6 years ago

3.0.9

6 years ago

3.0.8

6 years ago

3.0.7

6 years ago

3.0.6

6 years ago

3.0.5

6 years ago

3.0.4

7 years ago

3.0.3

7 years ago

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.0.0

7 years ago

1.3.7

8 years ago

1.3.6

8 years ago

1.3.5

8 years ago

1.3.4

8 years ago

1.3.3

8 years ago

1.3.2

8 years ago

1.3.1

8 years ago

1.3.0

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.0

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago