New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

beside

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

beside - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

dist/beside.js

28

gulpfile.js

@@ -5,3 +5,2 @@

var gulp = require('gulp');
var less = require('gulp-less');
var rename = require('gulp-rename');

@@ -11,3 +10,2 @@ var source = require('vinyl-source-stream');

var babelify = require('babelify');
var nano = require('gulp-cssnano');
var replaceName = require('gulp-replace-name');

@@ -17,28 +15,18 @@ var uglify = require('gulp-uglify');

gulp.task('default', ['less', 'js', 'watch']);
gulp.task('default', ['js', 'watch']);
gulp.task('less', function() {
return gulp.src('./src/less/*.less')
.pipe(less())
.pipe(gulp.dest('./dist/css'))
.pipe(nano())
.pipe(replaceName(/\.css/g, '.min.css'))
.pipe(gulp.dest('./dist/css'));
});
gulp.task('js', function() {
return browserify('./src/js/browser-main.js')
.transform(babelify, {presets: ['es2015']})
gulp.task('js', function () {
return browserify('./src/browser-main.js')
.transform(babelify, { presets: ['es2015'] })
.bundle()
.pipe(source('main.js'))
.pipe(rename('beside.js'))
.pipe(gulp.dest('./dist/js'))
.pipe(gulp.dest('./dist'))
.pipe(streamify(uglify()))
.pipe(streamify(replaceName(/\.js/g, '.min.js')))
.pipe(gulp.dest('./dist/js'));
.pipe(gulp.dest('./dist'));
});
gulp.task('watch', function() {
gulp.watch(['./src/less/*.less'], ['less']);
gulp.watch(['./src/js/**/*.js'], ['js']);
gulp.task('watch', function () {
gulp.watch(['./src/**/*.js'], ['js']);
});
{
"name": "beside",
"version": "1.0.4",
"description": "beside me",
"main": "index.js",
"version": "1.0.5",
"description": "A UI library to make an element beside another",
"main": "src/bede.js",
"scripts": {

@@ -14,2 +14,4 @@ "test": "jest"

"keywords": [
"beside",
"tether",
"popover",

@@ -31,4 +33,2 @@ "tooltip"

"gulp": "^3.9.0",
"gulp-cssnano": "^2.1.0",
"gulp-less": "^3.0.5",
"gulp-rename": "^1.2.2",

@@ -35,0 +35,0 @@ "gulp-replace-name": "^1.0.1",

@@ -5,9 +5,9 @@ # Beside [![Build Status](https://travis-ci.org/forsigner/beside.svg?branch=master)](https://travis-ci.org/forsigner/beside) [![NPM Version](http://img.shields.io/npm/v/beside.svg?style=flat)](https://www.npmjs.org/package/beside)

# Demo
### Demo
[demo](http://forsigner.com/beside/)
# Install
### Installation
### bower
#### bower

@@ -18,3 +18,3 @@ ```bash

### npm
#### npm

@@ -25,3 +25,3 @@ ```bash

# Usage
### Usage

@@ -44,10 +44,39 @@ ```html

# UI component base on Beside
### Options `where`
- top center
- top left
- top right
- top left diagonal
- top right diagonal
- bottom center
- bottom left
- bottom right
- bottom left diagonal
- bottom right diagonal
- left center
- left top
- left bottom
- right center
- right top
- right bottom
- top left inner
- top center inner
- top right inner
- left center inner
- left center inner
- center center inner
- right center inner
- bottom left inner
- bottom center inner
- bottom right inner
### UI component base on Beside
* [fo-popover](https://github.com/forsigner/fo-popover) A nice popover for Angular.
* [fo-tooltop](https://github.com/forsigner/fo-tooltip) A nice tooltip for Angular.
# Browser compatibility
### Browser compatibility
- IE7+
- IE7 && IE7+
- Firefox

@@ -57,1 +86,6 @@ - Chrome

- Opera
### License
[MIT](LICENSE)
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc