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

Commit 52413fe

Browse files
committed
Update build scripts, update Github references
1 parent 273aea4 commit 52413fe

File tree

3 files changed

+2893
-10
lines changed

3 files changed

+2893
-10
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 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)
22

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.
3+
The officially supported HTML5 backend for [React DnD](http://react-dnd.github.io/react-dnd/).
4+
See [the docs](http://react-dnd.github.io/react-dnd/docs-html5-backend.html) for usage information.
55

66
## Installation
77

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

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).
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).
2020
You may point your Bower config to it.
2121

2222
## 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)