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

react-drag-drop-container

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-drag-drop-container - npm Package Compare versions

Comparing version 2.0.4 to 3.0.0

.babelrc

76

package.json
{
"name": "react-drag-drop-container",
"version": "2.0.4",
"version": "3.0.0",
"description": "DragDropContainer",
"main": "lib/index.js",
"author": "Medidata",
"homepage": "https://github.com/peterh32/react-drag-drop-container",
"repository": {
"type": "git",
"url": "https://github.com/peterh32/react-drag-drop-container.git"
},
"main": "lib/bundle.js",
"author": "Peter!",
"license": "UNLICENSED",
"bugs": {
"url": "https://github.com/peterh32/react-drag-drop-container/issues"
},
"dependencies": {
"classnames": "^2.2.5"
"homepage": "https://github.com/peterh32/react-drag-drop-container#readme",
"scripts": {
"build": "npm run build-demo; npm run build-dist",
"build-demo": "webpack -d",
"build-dist": "webpack --config webpack.dist.config.js -p",
"prepublish": "npm run build",
"push-demo": "echo \"PUSHING DEMO TO gh-pages\"; git subtree push --prefix public origin gh-pages",
"start": "webpack-dev-server --hot --inline",
"launch": "webpack-dev-server --hot --inline --open",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/peterh32/react-drag-drop-container.git"
},
"keywords": [
"drag",
"drop",
"react"
],
"devDependencies": {
"babel-core": "^6.23.1",
"babel-eslint": "^7.1.1",
"babel-polyfill": "^6.23.0",
"babel-preset-es2015": "^6.22.0",
"babel-core": "^6.24.0",
"babel-loader": "^6.4.1",
"babel-preset-env": "^1.2.2",
"babel-preset-react": "^6.23.0",
"enzyme": "^2.7.1",
"eslint": "^3.17.1",
"eslint-plugin-react": "^6.10.0",
"expect": "^1.20.2",
"gulp": "^3.9.1",
"mocha": "^3.2.0",
"css-loader": "^0.27.3",
"http-server": "^0.9.0",
"node-sass": "^4.5.1",
"sass-loader": "^6.0.3",
"style-loader": "^0.16.1",
"webpack": "^2.2.1",
"webpack-dev-server": "^2.4.2"
},
"dependencies": {
"react": "^15.4.2",
"react-addons-test-utils": "^15.4.2",
"react-component-gulp-tasks": "^0.7.7",
"react-dom": "^15.4.2"
},
"browserify-shim": {
"react": "global:React"
},
"scripts": {
"build": "gulp clean && NODE_ENV=production gulp build",
"examples": "gulp dev:server",
"lint": "eslint ./; true",
"publish:site": "NODE_ENV=production gulp publish:examples",
"release": "NODE_ENV=production gulp release",
"start": "export BABEL_ENV=production; gulp dev",
"test": "export BABEL_ENV=test; mocha --compilers js:babel-register --require babel-polyfill ./src/*.test.js",
"watch": "gulp watch:lib"
},
"keywords": [
"react",
"react-component"
]
}
}

@@ -33,7 +33,14 @@ # DragDropContainer and DropTarget

npm install
npm start
npm launch
```
Then open [`localhost:8000`](http://localhost:8000) in a browser.
This should open the demo in a browser window on
localhost:8080.
This error means you're already running
something on port 8080:
```
events.js:160
throw er; // Unhandled 'error' event
```

@@ -202,13 +209,17 @@ ## Installation

## Development (`src`, `lib` and the build process)
## Development
**NOTE:** The source code for the component is in `src`. A transpiled CommonJS version (generated with Babel) is available in `lib` for use with node.js, browserify and webpack. A UMD bundle is also built to `dist`, which can be included without the need for any build system.
```
/src Source code for components
/demo Source code for demo
/lib/bundle.js Transpiled output
/public Demo files, compiled
```
To build, watch and serve the examples (which will also watch the component source), run `npm start`. If you just want to watch changes to `src` and rebuild `lib`, run `npm run watch` (this is useful if you are working with `npm link`).
## License
__PUT LICENSE HERE__
__NOT LICENSED__
Copyright (c) 2017.
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