Skip to content
This repository has been archived by the owner on Jun 18, 2018. It is now read-only.

Commit

Permalink
1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Oct 14, 2015
0 parents commit 14b800f
Show file tree
Hide file tree
Showing 9 changed files with 92 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"stage": 0,
"loose": ["es6.modules", "es6.classes"]
}
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
dist
lib
**/node_modules
**/webpack*.config.js
13 changes: 13 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"extends": "airbnb/base",
"env": {
"browser": true,
"mocha": true,
"node": true
},
"rules": {
"comma-dangle": 0,
"id-length": 0,
"consistent-return": 0
}
}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
.DS_Store
coverage
lib
Empty file added .npmignore
Empty file.
22 changes: 22 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
The MIT License (MIT)

Copyright (c) 2015 Dan Abramov

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# react-dnd-test-backend [![npm package](https://img.shields.io/npm/v/react-dnd-test-backend.svg?style=flat-square)](https://www.npmjs.org/package/react-dnd-test-backend)

The test backend for [React DnD](http://gaearon.github.io/react-dnd/).

See [the docs](http://gaearon.github.io/react-dnd/docs-test-backend.html) for usage information.

## License

MIT
35 changes: 35 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"name": "react-dnd-test-backend",
"version": "1.0.0",
"description": "A mock backend for testing React DnD apps",
"main": "lib/index.js",
"scripts": {
"clean": "rimraf lib",
"build": "babel src --out-dir lib",
"lint": "eslint .",
"prepublish": "npm run lint && npm run clean && npm run build"
},
"repository": {
"type": "git",
"url": "https://github.com/gaearon/react-dnd-test-backend.git"
},
"author": "Dan Abramov <[email protected]> (http://github.com/gaearon)",
"license": "MIT",
"bugs": {
"url": "https://github.com/gaearon/react-dnd-test-backend/issues"
},
"homepage": "https://github.com/gaearon/react-dnd-test-backend",
"devDependencies": {
"babel": "^5.8.23",
"babel-eslint": "^4.1.3",
"eslint": "^1.6.0",
"eslint-config-airbnb": "^0.1.0",
"rimraf": "^2.4.3"
},
"dependencies": {
"dnd-core": "^1.2.2"
},
"peerDependencies": {
"react-dnd": "^2.0.0"
}
}
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { createTestBackend as default } from 'dnd-core';

0 comments on commit 14b800f

Please sign in to comment.