diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..90449a7 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,20 @@ +--- +kind: pipeline +type: docker +name: bindableProperty + +steps: + - name: build + image: node + commands: + - npm ci + - npm run build:prod + + - name: publish + image: plugins/npm + settings: + username: + from_secret: username + password: + from_secret: password + email: kovacsadam07@outlook.hu diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..33afe0e --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +registry=http://172.16.0.59:4873/ \ No newline at end of file diff --git a/gulpfile.js b/gulpfile.js index d309d49..972057d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -21,4 +21,4 @@ gulp.task('clean', function () { }); gulp.task('build', builder(false)); -gulp.task('build:production', builder(true)); +gulp.task('build:prod', builder(true)); diff --git a/package.json b/package.json index 88e7a67..d21c8f4 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "0.0.1", "scripts": { "build": "gulp build", + "build:prod": "gulp build:prod", "clean": "gulp clean" }, "keywords": [],