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

Commit 14b800f

Browse files
committed
1.0.0
0 parents  commit 14b800f

File tree

9 files changed

+92
-0
lines changed

9 files changed

+92
-0
lines changed

.babelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"stage": 0,
3+
"loose": ["es6.modules", "es6.classes"]
4+
}

.eslintignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
dist
2+
lib
3+
**/node_modules
4+
**/webpack*.config.js

.eslintrc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"extends": "airbnb/base",
3+
"env": {
4+
"browser": true,
5+
"mocha": true,
6+
"node": true
7+
},
8+
"rules": {
9+
"comma-dangle": 0,
10+
"id-length": 0,
11+
"consistent-return": 0
12+
}
13+
}

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules
2+
.DS_Store
3+
coverage
4+
lib

.npmignore

Whitespace-only changes.

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2015 Dan Abramov
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# 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)
2+
3+
The test backend for [React DnD](http://gaearon.github.io/react-dnd/).
4+
5+
See [the docs](http://gaearon.github.io/react-dnd/docs-test-backend.html) for usage information.
6+
7+
## License
8+
9+
MIT

package.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"name": "react-dnd-test-backend",
3+
"version": "1.0.0",
4+
"description": "A mock backend for testing React DnD apps",
5+
"main": "lib/index.js",
6+
"scripts": {
7+
"clean": "rimraf lib",
8+
"build": "babel src --out-dir lib",
9+
"lint": "eslint .",
10+
"prepublish": "npm run lint && npm run clean && npm run build"
11+
},
12+
"repository": {
13+
"type": "git",
14+
"url": "https://github.com/gaearon/react-dnd-test-backend.git"
15+
},
16+
"author": "Dan Abramov <[email protected]> (http://github.com/gaearon)",
17+
"license": "MIT",
18+
"bugs": {
19+
"url": "https://github.com/gaearon/react-dnd-test-backend/issues"
20+
},
21+
"homepage": "https://github.com/gaearon/react-dnd-test-backend",
22+
"devDependencies": {
23+
"babel": "^5.8.23",
24+
"babel-eslint": "^4.1.3",
25+
"eslint": "^1.6.0",
26+
"eslint-config-airbnb": "^0.1.0",
27+
"rimraf": "^2.4.3"
28+
},
29+
"dependencies": {
30+
"dnd-core": "^1.2.2"
31+
},
32+
"peerDependencies": {
33+
"react-dnd": "^2.0.0"
34+
}
35+
}

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { createTestBackend as default } from 'dnd-core';

0 commit comments

Comments
 (0)