Socket
Socket
Sign inDemoInstall

angular-elastic-builder

Package Overview
Dependencies
0
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.5 to 1.1.1

bower.json

26

gulpfile.js

@@ -6,2 +6,3 @@ /**

, del = require('del')
, header = require('gulp-header')
, gulp = require('gulp')

@@ -17,8 +18,19 @@ , templateCache = require('gulp-angular-templatecache')

var pkg = require('./package.json');
var banner = ['/**'
, ' * # <%= pkg.name %>'
, ' * ## <%= pkg.description %>'
, ' *'
, ' * @version v<%= pkg.version %>'
, ' * @link <%= pkg.repository.url %>'
, ' * @license <%= pkg.license %>'
, ' * @author <%= pkg.author %>'
, ' */'
, ''
, ''].join('\n');
var filename = util.format('%s-%s.js', pkg.name, pkg.version)
var filename = util.format('%s.js', pkg.name)
, dest = 'dist/' + filename;
gulp.task('build', ['concat', 'uglify']);
gulp.task('default', ['concat', 'uglify']);
gulp.task('build', ['concat', 'header', 'uglify']);
gulp.task('default', ['concat', 'header', 'uglify']);

@@ -36,4 +48,10 @@

gulp.task('uglify', [ 'clean', 'concat' ], function() {
gulp.task('header', [ 'concat' ], function() {
return gulp.src('./dist/*.js')
.pipe(header(banner, { pkg: pkg }))
.pipe(gulp.dest('./dist'));
});
gulp.task('uglify', [ 'clean', 'concat', 'header' ], function() {
return gulp.src('./dist/*.js')
.pipe(uglify(dest.replace(/\.js$/, '.min.js')))

@@ -40,0 +58,0 @@ .pipe(gulp.dest('./'));

4

package.json
{
"name": "angular-elastic-builder",
"version": "1.0.5",
"version": "1.1.1",
"description": "Angular Module for building an Elasticsearch Query",
"author": "Dan Crews <crewsd@gmail.com>",
"license": "MIT",
"keywords": [

@@ -19,2 +20,3 @@ "angular",

"gulp-concat": "^2.5.2",
"gulp-header": "^1.2.2",
"gulp-rename": "^1.2.2",

@@ -21,0 +23,0 @@ "gulp-uglifyjs": "^0.6.1"

@@ -10,3 +10,5 @@ # Angular Elasticsearch Query Builder

It's still pretty early on, as it doesn't support a whole lot of use-cases, but we need to make it awesome. Contributions accepted.
## Usage

@@ -21,3 +23,3 @@

<script type="text/javascript" src="/angular-recursion.min.js"></script>
<script type="text/javascript" src="/angular-elastic-builder-x.x.x.min.js"></script>
<script type="text/javascript" src="/angular-elastic-builder.min.js"></script>
```

@@ -122,3 +124,3 @@

## Local Development
To work on this module locally, you will need to clone it and run `gulp watch`. This will ensure that your changes get compiled properly.
To work on this module locally, you will need to clone it and run `gulp watch`. This will ensure that your changes get compiled properly. You will also need to make sure you run `gulp` to build the "dist" files before commit.

@@ -125,0 +127,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc