Skip to content

Commit

Permalink
Fixes before going public and publish to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
dlmr committed Nov 23, 2015
1 parent 40c14c4 commit 838374a
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 13 deletions.
3 changes: 0 additions & 3 deletions .editiorconfig → .editorconfig
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
src
.*
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -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.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Based on https://github.com/gaearon/react-side-effect

## Install

`$ npm install --save react-server-status`

## Example

### React View
Expand Down Expand Up @@ -32,6 +36,3 @@ const page = renderToString(<App />);
this.status = ServerStatus.rewind() || 200;
/// …
```

## TODO
* [ ] Publish on NPM
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 838374a

Please sign in to comment.