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

Commit 2a84f4d

Browse files
authored
Merge pull request #62 from react-dnd/org_updates
Update build scripts, update Github references
2 parents 273aea4 + f6b3276 commit 2a84f4d

File tree

4 files changed

+2909
-11
lines changed

4 files changed

+2909
-11
lines changed

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
language: node_js
2+
node_js:
3+
- "4"
4+
- "6"
5+
- "node"
6+
cache:
7+
yarn: true
8+
directories:
9+
- node_modules

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1-
# React DnD HTML5 Backend [![npm package](https://img.shields.io/npm/v/react-dnd-html5-backend.svg?style=flat-square)](https://www.npmjs.org/package/react-dnd-html5-backend)
1+
[![npm package](https://img.shields.io/npm/v/react-dnd-html5-backend.svg?style=flat-square)](https://www.npmjs.org/package/react-dnd-html5-backend)
2+
[![Build Status](https://travis-ci.org/react-dnd/react-dnd-html5-backend.svg?branch=master)](https://travis-ci.org/react-dnd/react-dnd-html5-backend)
3+
[![dependencies Status](https://david-dm.org/react-dnd/react-dnd-html5-backend/status.svg)](https://david-dm.org/react-dnd/react-dnd-html5-backend)
4+
[![devDependencies Status](https://david-dm.org/react-dnd/react-dnd-html5-backend/dev-status.svg)](https://david-dm.org/react-dnd/react-dnd-html5-backend?type=dev)
5+
[![peerDependencies Status](https://david-dm.org/react-dnd/react-dnd-html5-backend/peer-status.svg)](https://david-dm.org/react-dnd/react-dnd-html5-backend?type=peer)
26

3-
The officially supported HTML5 backend for [React DnD](http://gaearon.github.io/react-dnd/).
4-
See [the docs](http://gaearon.github.io/react-dnd/docs-html5-backend.html) for usage information.
7+
# React DnD HTML5 Backend
8+
9+
The officially supported HTML5 backend for [React DnD](http://react-dnd.github.io/react-dnd/).
10+
See [the docs](http://react-dnd.github.io/react-dnd/docs-html5-backend.html) for usage information.
511

612
## Installation
713

@@ -16,7 +22,7 @@ The npm package defaults to the CommonJS build.
1622
However it also includes a pre-minified UMD build in the `dist` folder.
1723
The UMD build exports a global `window.ReactDnDHTML5Backend` when imported as a `<script>` tag.
1824

19-
If you’d rather not use npm, you can use [unpkg](http://unpkg.com/) to access the UMD build directly: [ReactDnDHTML5Backend.min.js](https://unpkg.com/react-dnd-html5-backend@latest/dist/ReactDnDHTML5Backend.min.js).
25+
If you’d rather not use npm, you can use [unpkg](http://unpkg.com/) to access the UMD build directly: [ReactDnDHTML5Backend.min.js](https://unpkg.com/react-dnd-html5-backend@latest/dist/ReactDnDHTML5Backend.min.js).
2026
You may point your Bower config to it.
2127

2228
## Browser Support

package.json

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,24 @@
77
"clean": "rimraf lib",
88
"build:lib": "babel src --out-dir lib",
99
"build:umd": "webpack",
10-
"build": "npm run build:lib && npm run build:umd",
10+
"build": "npm-run-all --parallel build:*",
1111
"lint": "eslint .",
12-
"test": "mocha --compilers js:babel/register --recursive",
13-
"test:watch": "npm run test -- --watch",
14-
"prepublish": "npm run lint && npm run clean && npm run test && npm run build"
12+
"unit_test": "mocha --compilers js:babel/register --recursive",
13+
"unit_test:watch": "npm run unit_test -- --watch",
14+
"test": "npm-run-all clean --parallel lint build unit_test",
15+
"develop": "npm run unit_test:watch",
16+
"prepublish": "npm test"
1517
},
1618
"repository": {
1719
"type": "git",
18-
"url": "https://github.com/gaearon/react-dnd-html5-backend.git"
20+
"url": "https://github.com/react-dnd/react-dnd-html5-backend.git"
1921
},
2022
"author": "Dan Abramov <[email protected]> (http://github.com/gaearon)",
2123
"license": "MIT",
2224
"bugs": {
23-
"url": "https://github.com/gaearon/react-dnd-html5-backend/issues"
25+
"url": "https://github.com/react-dnd/react-dnd-html5-backend/issues"
2426
},
25-
"homepage": "https://github.com/gaearon/react-dnd-html5-backend",
27+
"homepage": "https://github.com/react-dnd/react-dnd-html5-backend",
2628
"devDependencies": {
2729
"babel": "^5.8.23",
2830
"babel-eslint": "^4.1.3",
@@ -31,6 +33,7 @@
3133
"eslint-config-airbnb": "^0.1.0",
3234
"expect.js": "^0.3.1",
3335
"mocha": "^2.0.1",
36+
"npm-run-all": "^4.0.1",
3437
"rimraf": "^2.4.3",
3538
"webpack": "^1.12.2"
3639
},

0 commit comments

Comments
 (0)