diff --git a/.editiorconfig b/.editorconfig similarity index 79% rename from .editiorconfig rename to .editorconfig index c380e58..d8f3981 100644 --- a/.editiorconfig +++ b/.editorconfig @@ -1,6 +1,3 @@ -# EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs. -# Requires EditorConfig JetBrains Plugin - http://github.com/editorconfig/editorconfig-jetbrains - # Set this file as the topmost .editorconfig # (multiple files can be used, and are applied starting from current document location) root = true diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..748d86f --- /dev/null +++ b/.npmignore @@ -0,0 +1,2 @@ +src +.* diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..8b3e067 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2015 Verdens Gang AS + +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. diff --git a/README.md b/README.md index 65a2637..7e660bd 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ Based on https://github.com/gaearon/react-side-effect +## Install + +`$ npm install --save react-server-status` + ## Example ### React View @@ -32,6 +36,3 @@ const page = renderToString(); this.status = ServerStatus.rewind() || 200; /// … ``` - -## TODO -* [ ] Publish on NPM diff --git a/package.json b/package.json index 0cd3832..20d1ec7 100644 --- a/package.json +++ b/package.json @@ -13,20 +13,20 @@ }, "repository": { "type": "git", - "url": "git@github.schibsted.io:vg/react-server-status.git" + "url": "https://github.com/vgno/react-server-status" }, - "author": "Gustaf Dalemar", - "license": "UNLICENSED", + "author": "VG", + "license": "MIT", "dependencies": { "react-side-effect": "~1.0.2" }, "devDependencies": { "babel": "~5.8.21", "babel-eslint": "~4.1.1", - "eslint": "~1.6.0", - "eslint-config-vgno": "~3.0.0", - "eslint-plugin-react": "~3.5.1", - "npm-check-updates": "~2.3.0", + "eslint": "~1.10.1", + "eslint-config-vgno": "~5.0.0", + "eslint-plugin-react": "~3.10.0", + "npm-check-updates": "~2.5.1", "rimraf": "~2.4.3" }, "peerDependencies": {