3.0.13 • Published 6 years ago
grunt-oc v3.0.13
grunt-oc
Grunt wrapper for OpenComponents cli
OC cli command / grunt-oc tasks
oc dev
=>oc-dev
andoc-dev-kill
tasksoc init
=>oc-init
taskoc mock
=>oc-mock
taskoc preview
=>oc preview
taskoc publish
=>oc-publish
taskoc 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
6 years ago
3.0.11
7 years ago
3.0.10
7 years ago
3.0.9
7 years ago
3.0.8
7 years ago
3.0.7
7 years ago
3.0.6
7 years ago
3.0.5
7 years ago
3.0.4
7 years ago
3.0.3
8 years ago
3.0.2
8 years ago
3.0.1
8 years ago
3.0.0
8 years ago
2.0.0
8 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
9 years ago
1.3.0
9 years ago
1.2.2
9 years ago
1.2.1
9 years ago
1.2.0
9 years ago
1.1.0
9 years ago
1.0.1
10 years ago
1.0.0
10 years ago