-
Notifications
You must be signed in to change notification settings - Fork 958
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
) * feat(rkSwitch): component implementation + examples * build(common): update npm scripts (lint/watch-lib) * refactor(rkSwitch): propTypes implementation * refactor(example/switch): component row style
- Loading branch information
1 parent
c86d57c
commit 08dd2df
Showing
15 changed files
with
739 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
var gulp = require('gulp'); | ||
var watch = require('gulp-watch'); | ||
const gulp = require('gulp'); | ||
const watch = require('gulp-watch'); | ||
|
||
var source = '../src'; | ||
var destination = './node_modules/react-native-ui-kitten/src'; | ||
const source = '..'; | ||
const destination = './node_modules/react-native-ui-kitten'; | ||
|
||
gulp.task('watch-lib', function () { | ||
gulp.src(source + '/**/*', {base: source}) | ||
.pipe(watch(source, {base: source})) | ||
.pipe(gulp.dest(destination)); | ||
gulp.task('watch-lib', () => { | ||
gulp.src(`${source}/src/**/*`, { base: `${source}/src` }) | ||
.pipe(watch(`${source}/src`, { base: `${source}/src` })) | ||
.pipe(gulp.dest(`${destination}/src`)); | ||
|
||
gulp.src(`${source}/index.js`, { base: `${source}/index.js` }) | ||
.pipe(watch(source, { base: `${source}/index.js` })) | ||
.pipe(gulp.dest(`${destination}/index.js`)); | ||
}); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.