Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-silverbyte-searchbox

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-silverbyte-searchbox - npm Package Compare versions

Comparing version 1.0.12 to 1.1.0

.babelrc

34

index.js

@@ -1,25 +0,15 @@

'use strict';
import React from 'react';
import { render } from 'react-dom';
import SearchBoxController from './src/components/SearchBoxController/SearchBoxController';
import SearchBox from './src/components/SearchBox/SearchBox';
Object.defineProperty(exports, "__esModule", {
value: true
});
const renderSearchBoxController = (url) => {
return (
url ? <SearchBoxController serverUrl={url} /> : <SearchBox />
);
}
var _SearchBox = require('./SearchBox/SearchBox');
const root = document.getElementById('sbox');
const serverUrl = root.getAttribute('data-url');
Object.defineProperty(exports, 'SearchBox', {
enumerable: true,
get: function get() {
return _interopRequireDefault(_SearchBox).default;
}
});
var _SearchBoxController = require('./SearchBoxController/SearchBoxController');
Object.defineProperty(exports, 'SearchBoxController', {
enumerable: true,
get: function get() {
return _interopRequireDefault(_SearchBoxController).default;
}
});
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
render(renderSearchBoxController(serverUrl), root);
{
"name": "react-silverbyte-searchbox",
"version": "1.0.12",
"main": "./index.js",
"version": "1.1.0",
"main": "index.js",
"scripts": {
"start-message": "babel-node src/tools/startMessage.js",
"prestart": "npm-run-all --parallel start-message",
"start": "npm-run-all --parallel open:src",
"open:src": "babel-node --max_old_space_size=6000 src/tools/srcServer.js",
"open:build": "babel-node src/tools/buildServer.js",
"lint": "esw webpack.config.* src src/tools --color",
"lint:watch": "npm run lint -- --watch",
"clean-build": "npm run remove-build && mkdir build",
"remove-build": "rimraf ./build",
"prebuild": "npm run clean-build",
"build": "cross-env NODE_ENV=production babel-node src/tools/build.js && npm run open:build",
"build:less": "lessc-glob ./src/components/**/*.less lib",
"build:css": "cpx \"./src/components/**/*.css\" ./lib",
"prebuild:lib": "rimraf lib",
"build:lib": "npm-run-all --parallel build:commonjs build:less build:copy-files",
"build:copy-files": "node scripts/copyBuildFiles.js",
"build:commonjs": "cross-env NODE_ENV=production babel ./src/components --out-dir ./lib --ignore spec.js,*.less --copy-files && npm run replace:less",
"replace:less": "replace \".less\" \".css\" ./lib/ -r --include=\"*.js\"",
"prepublish": "npm run build:lib",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook -c .storybook -o .out"
},
"dependencies": {
"react": "15.4.1"
},
"devDependencies": {
"@kadira/react-storybook-addon-info": "^3.4.0",
"@kadira/storybook": "^2.21.0",
"@kadira/storybook-addon-knobs": "^1.7.1",
"autoprefixer": "6.5.4",
"babel-cli": "6.18.0",
"babel-core": "^6.10.4",
"babel-eslint": "7.1.1",
"babel-jest": "18.0.0",
"babel-loader": "^6.2.4",
"babel-plugin-css-modules-transform": "^1.2.7",
"babel-plugin-react-transform": "^2.0.2",
"babel-plugin-transform-imports": "1.1.0",
"babel-plugin-transform-react-constant-elements": "6.9.1",
"babel-plugin-transform-react-remove-prop-types": "0.2.11",
"babel-polyfill": "^6.23.0",
"babel-preset-airbnb": "^2.2.3",
"babel-preset-es2015": "^6.9.0",
"babel-preset-latest": "6.16.0",
"babel-preset-react": "6.16.0",
"babel-preset-react-hmre": "1.1.1",
"babel-preset-stage-1": "6.16.0",
"babel-register": "^6.9.0",
"babel-runtime": "^6.23.0",
"browser-sync": "2.18.5",
"chalk": "1.1.3",
"cpx": "^1.5.0",
"cross-env": "^3.1.4",
"css-loader": "0.26.1",
"css-modules-require-hook": "^4.0.6",
"eslint": "3.12.2",
"eslint-plugin-import": "2.2.0",
"eslint-plugin-react": "6.8.0",
"eslint-watch": "2.1.14",
"expect": "^1.20.1",
"extract-text-webpack-plugin": "2.0.0-beta.4",
"file-loader": "^0.8.1",
"glob": "^7.1.2",
"html-webpack-plugin": "^2.28.0",
"json-loader": "^0.5.4",
"less": "2.7.2",
"less-loader": "2.2.3",
"lessc-glob": "^1.0.8",
"moment": "^2.16.0",
"node-libs-browser": "^1.0.0",
"node-sass": "^3.8.0",
"npm-run-all": "3.1.2",
"open": "0.0.5",
"postcss-loader": "^0.9.1",
"qs": "^6.4.0",
"query-string": "^4.3.4",
"react-addons-shallow-compare": "^15.4.2",
"react-bootstrap": "^0.30.7",
"react-container-query": "^0.8.0",
"react-dates": "^13.0.6",
"react-dates-rtl": "^10.1.1",
"react-dom": "^15.3.2",
"react-element-query": "^3.0.2",
"react-redux": "^4.4.5",
"react-select": "^1.0.0-rc.5",
"react-transform-hmr": "^1.0.4",
"redux": "^3.5.2",
"redux-logger": "^2.6.1",
"redux-promise": "^0.5.3",
"redux-thunk": "^2.1.0",
"replace": "^0.3.0",
"rimraf": "2.5.4",
"sass-loader": "^4.0.0",
"style-loader": "0.13.1",
"url-loader": "0.5.7",
"webpack": "2.2.1",
"webpack-bundle-analyzer": "2.1.1",
"webpack-dev-middleware": "1.9.0",
"webpack-hot-middleware": "2.13.2",
"webpack-md5-hash": "0.0.5"
}
}
}

@@ -16,1 +16,7 @@ # Silverbyte React SearchBox

## Styling
You can override some of the styling of the Component using these css classes:
Main Container - .sbox-main
Advanced Box - .sbox__toolbox
Search Button - .sbox__submit
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