6 changed files with 3441 additions and 0 deletions
@ -0,0 +1,22 @@
|
||||
The MIT License (MIT) |
||||
|
||||
Copyright (c) 2017 zalox |
||||
|
||||
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. |
||||
|
||||
@ -0,0 +1,43 @@
|
||||
{ |
||||
"name": "lay", |
||||
"version": "0.0.1", |
||||
"description": "Client for toREST bittorrent server", |
||||
"main": "run.js", |
||||
"scripts": { |
||||
"test": "echo \"Error: no test specified\" && exit 1", |
||||
"webpack": "webpack", |
||||
"pack": "webpack" |
||||
}, |
||||
"repository": { |
||||
"type": "git", |
||||
"url": "git+https://github.com/n/A.git" |
||||
}, |
||||
"keywords": [ |
||||
"bittorrent", |
||||
"torrent", |
||||
"rest", |
||||
"react", |
||||
"redux" |
||||
], |
||||
"author": "zalox - Jørgen Lien Sellæg", |
||||
"license": "MIT", |
||||
"devDependencies": { |
||||
"babel-cli": "^6.24.1", |
||||
"babel-core": "^6.24.1", |
||||
"babel-loader": "^7.0.0", |
||||
"babel-plugin-add-module-exports": "^0.2.1", |
||||
"babel-preset-es2015": "^6.9.0", |
||||
"babel-preset-es2015-loose": "^8.0.0", |
||||
"babel-preset-react": "^6.5.0", |
||||
"babel-preset-stage-0": "^6.5.0", |
||||
"babel-register": "^6.9.0", |
||||
"react-hot-loader": "^1.3.0", |
||||
"webpack": "^2.5.1", |
||||
"webpack-dev-server": "^2.4.5" |
||||
}, |
||||
"dependencies": { |
||||
"react": "^15.5.4", |
||||
"react-dom": "^15.5.4", |
||||
"react-router": "^4.1.1" |
||||
} |
||||
} |
||||
@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html> |
||||
<html lang="en"> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
||||
<title>layToREST</title> |
||||
</head> |
||||
<body> |
||||
<div id="app"></div> |
||||
<script src="/static/bundle.js"></script> |
||||
</body> |
||||
</html> |
||||
@ -0,0 +1,14 @@
|
||||
import webpack from 'webpack'; |
||||
|
||||
export default { |
||||
entry: '', |
||||
output: { |
||||
path: './web/', |
||||
publicPath: '/web/', |
||||
filename: 'js/[name].js' |
||||
}, |
||||
module: { |
||||
{ test: /\.jsx?$/, loader: 'babel', exclude: /node_modules/ } |
||||
} |
||||
} |
||||
|
||||
Loading…
Reference in new issue