Initial commit
This commit is contained in:
commit
3c2f67000e
9 changed files with 124 additions and 0 deletions
9
.editorconfig
Normal file
9
.editorconfig
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
charset = utf-8
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
29
.eslintrc
Normal file
29
.eslintrc
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
{
|
||||||
|
"ecmaFeatures": {
|
||||||
|
"binaryLiterals": true,
|
||||||
|
"blockBindings": true,
|
||||||
|
"classes": true,
|
||||||
|
"forOf": true,
|
||||||
|
"generators": true,
|
||||||
|
"objectLiteralShorthandMethods": true,
|
||||||
|
"objectLiteralShorthandProperties": true,
|
||||||
|
"octalLiterals": true,
|
||||||
|
"templateStrings": true
|
||||||
|
},
|
||||||
|
"env": {
|
||||||
|
"node": true
|
||||||
|
},
|
||||||
|
"rules": {
|
||||||
|
"no-extra-parens": 2,
|
||||||
|
"no-eq-null": 2,
|
||||||
|
"no-floating-decimal": 2,
|
||||||
|
"no-self-compare": 2,
|
||||||
|
"no-throw-literal": 2,
|
||||||
|
"no-void": 2,
|
||||||
|
"wrap-iife": [2, "outside"],
|
||||||
|
"strict": [2, "global"],
|
||||||
|
"no-var": 2,
|
||||||
|
"generator-star-spacing": [2, "after"],
|
||||||
|
"object-shorthand": [2, "always"]
|
||||||
|
}
|
||||||
|
}
|
||||||
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
/node_modules/
|
||||||
|
/npm-debug.log
|
||||||
24
.jscsrc
Normal file
24
.jscsrc
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
{
|
||||||
|
"esnext": true,
|
||||||
|
"preset": "crockford",
|
||||||
|
"requireMultipleVarDecl": null,
|
||||||
|
"disallowDanglingUnderscores": null,
|
||||||
|
"disallowKeywords": [
|
||||||
|
"with"
|
||||||
|
],
|
||||||
|
"disallowMultipleVarDecl": "strict",
|
||||||
|
"validateQuoteMarks": "\"",
|
||||||
|
"validateIndentation": 2,
|
||||||
|
"disallowSpaceAfterObjectKeys": true,
|
||||||
|
"disallowSpacesInCallExpression": true,
|
||||||
|
"disallowYodaConditions": true,
|
||||||
|
"maximumLineLength": {
|
||||||
|
"value": 120,
|
||||||
|
"allowUrlComments": true
|
||||||
|
},
|
||||||
|
"requireFunctionDeclarations": true,
|
||||||
|
"requireSemicolons": true,
|
||||||
|
"validateLineBreaks": "LF",
|
||||||
|
"validateParameterSeparator": ", ",
|
||||||
|
"requireBlocksOnNewline": 1
|
||||||
|
}
|
||||||
5
.travis.yml
Normal file
5
.travis.yml
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
language: node_js
|
||||||
|
node_js:
|
||||||
|
- iojs
|
||||||
|
script:
|
||||||
|
npm run lint
|
||||||
19
LICENSE.txt
Normal file
19
LICENSE.txt
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
Copyright © 2015 Domenic Denicola <d@domenic.me>
|
||||||
|
|
||||||
|
This work is free. You can redistribute it and/or modify it under the
|
||||||
|
terms of the Do What The Fuck You Want To Public License, Version 2,
|
||||||
|
as published by Sam Hocevar. See below for more details.
|
||||||
|
|
||||||
|
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||||
|
Version 2, December 2004
|
||||||
|
|
||||||
|
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
|
||||||
|
|
||||||
|
Everyone is permitted to copy and distribute verbatim or modified
|
||||||
|
copies of this license document, and changing it is allowed as long
|
||||||
|
as the name is changed.
|
||||||
|
|
||||||
|
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||||
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
|
0. You just DO WHAT THE FUCK YOU WANT TO.
|
||||||
3
README.md
Normal file
3
README.md
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
# _Worm_ Scraper
|
||||||
|
|
||||||
|
Scrapes the web serial [_Worm_](https://parahumans.wordpress.com/) into an ebook format.
|
||||||
5
lib/worm-scraper.js
Normal file
5
lib/worm-scraper.js
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
module.exports = function () {
|
||||||
|
|
||||||
|
};
|
||||||
28
package.json
Normal file
28
package.json
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
{
|
||||||
|
"name": "worm-scraper",
|
||||||
|
"description": "Scrapes the web serial Worm into an ebook format",
|
||||||
|
"keywords": [
|
||||||
|
"ebook",
|
||||||
|
"worm",
|
||||||
|
"parahuman",
|
||||||
|
"scraper"
|
||||||
|
],
|
||||||
|
"version": "1.0.0-pre",
|
||||||
|
"author": "Domenic Denicola <d@domenic.me> (https://domenic.me/)",
|
||||||
|
"license": "WTFPL",
|
||||||
|
"repository": "domenic/worm-scraper",
|
||||||
|
"main": "lib/worm-scraper.js",
|
||||||
|
"files": [
|
||||||
|
"lib/"
|
||||||
|
],
|
||||||
|
"scripts": {
|
||||||
|
"lint": "eslint lib && jscs lib"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"jsdom": "^5.3.0"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"eslint": "0.20.0",
|
||||||
|
"jscs": "^1.13.1"
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue