Removed GopherJS, basic frontend completed, need backend changes for

torrent storage
This commit is contained in:
2017-11-30 18:12:11 -05:00
parent 67fdef16b1
commit e98ad2cc88
69321 changed files with 5498914 additions and 337 deletions

View File

@@ -0,0 +1,4 @@
**/__mocks__/**
**/__tests__/**
src
yarn.lock

View File

@@ -0,0 +1,51 @@
'use strict'; /**
* Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*
*/
const commentEndRe = /\*\/$/;
const commentStartRe = /^\/\*\*/;
const docblockRe = /^\s*(\/\*\*?(.|\r?\n)*?\*\/)/;
const lineCommentRe = /\/\/([^\r\n]*)/g;
const ltrimRe = /^\s*/;
const multilineRe = /(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *([^@\r\n\s][^@\r\n]+?) *\r?\n/g;
const propertyRe = /(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g;
const stringStartRe = /(\r?\n|^) *\*/g;
const wsRe = /[\t ]+/g;
function extract(contents) {
const match = contents.match(docblockRe);
return match ? match[0].replace(ltrimRe, '') || '' : '';
}
function parse(docblock) {
docblock = docblock.
replace(commentStartRe, '').
replace(commentEndRe, '').
replace(wsRe, ' ').
replace(lineCommentRe, '').
replace(stringStartRe, '$1');
// Normalize multi-line directives
let prev = '';
while (prev !== docblock) {
prev = docblock;
docblock = docblock.replace(multilineRe, '\n$1 $2\n');
}
docblock = docblock.trim();
const result = Object.create(null);
let match;
while (match = propertyRe.exec(docblock)) {
result[match[1]] = match[2];
}
return result;
}
exports.extract = extract;
exports.parse = parse;

View File

@@ -0,0 +1,43 @@
{
"_args": [
[
"jest-docblock@20.0.3",
"C:\\Users\\deranjer\\GoglandProjects\\torrent-project\\torrent-project"
]
],
"_from": "jest-docblock@20.0.3",
"_id": "jest-docblock@20.0.3",
"_inBundle": false,
"_integrity": "sha1-F76phDQswz2DxQ++FUXqDvqkRxI=",
"_location": "/react-scripts/jest-docblock",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "jest-docblock@20.0.3",
"name": "jest-docblock",
"escapedName": "jest-docblock",
"rawSpec": "20.0.3",
"saveSpec": null,
"fetchSpec": "20.0.3"
},
"_requiredBy": [
"/react-scripts/jest-haste-map",
"/react-scripts/jest/jest-cli"
],
"_resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-20.0.3.tgz",
"_spec": "20.0.3",
"_where": "C:\\Users\\deranjer\\GoglandProjects\\torrent-project\\torrent-project",
"bugs": {
"url": "https://github.com/facebook/jest/issues"
},
"homepage": "https://github.com/facebook/jest#readme",
"license": "BSD-3-Clause",
"main": "build/index.js",
"name": "jest-docblock",
"repository": {
"type": "git",
"url": "git+https://github.com/facebook/jest.git"
},
"version": "20.0.3"
}