react-drag-drop-container
Advanced tools
Comparing version 2.0.4 to 3.0.0
{ | ||
"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. | ||
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
2332124
11
9788
224
0
2
26
1
1
+ Addedreact@^15.4.2
+ Addedreact-dom@^15.4.2
+ Addedasap@2.0.6(transitive)
+ Addedcore-js@1.2.7(transitive)
+ Addedcreate-react-class@15.7.0(transitive)
+ Addedencoding@0.1.13(transitive)
+ Addedfbjs@0.8.18(transitive)
+ Addediconv-lite@0.6.3(transitive)
+ Addedis-stream@1.1.0(transitive)
+ Addedisomorphic-fetch@2.2.1(transitive)
+ Addedjs-tokens@4.0.0(transitive)
+ Addedloose-envify@1.4.0(transitive)
+ Addednode-fetch@1.7.3(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedpromise@7.3.1(transitive)
+ Addedprop-types@15.8.1(transitive)
+ Addedreact@15.7.0(transitive)
+ Addedreact-dom@15.7.0(transitive)
+ Addedreact-is@16.13.1(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsetimmediate@1.0.5(transitive)
+ Addedua-parser-js@0.7.40(transitive)
+ Addedwhatwg-fetch@3.6.20(transitive)
- Removedclassnames@^2.2.5
- Removedclassnames@2.5.1(transitive)