Browse Source

fix missing package.json repo

Nick Sweeting 4 years ago
parent
commit
fc5d99b4b4
2 changed files with 5 additions and 1 deletions
  1. 3 0
      archivebox/main.py
  2. 2 1
      package.json

+ 3 - 0
archivebox/main.py

@@ -119,6 +119,7 @@ from .logging_util import (
 from .search import flush_search_index, index_links
 from .search import flush_search_index, index_links
 
 
 ALLOWED_IN_OUTPUT_DIR = {
 ALLOWED_IN_OUTPUT_DIR = {
+    '.gitignore',
     'lost+found',
     'lost+found',
     '.DS_Store',
     '.DS_Store',
     '.venv',
     '.venv',
@@ -126,7 +127,9 @@ ALLOWED_IN_OUTPUT_DIR = {
     'virtualenv',
     'virtualenv',
     '.virtualenv',
     '.virtualenv',
     'node_modules',
     'node_modules',
+    'package.json',
     'package-lock.json',
     'package-lock.json',
+    'yarn.lock',
     'static',
     'static',
     'sonic',
     'sonic',
     ARCHIVE_DIR_NAME,
     ARCHIVE_DIR_NAME,

+ 2 - 1
package.json

@@ -3,6 +3,7 @@
   "version": "0.6.0",
   "version": "0.6.0",
   "description": "ArchiveBox: The self-hosted internet archive",
   "description": "ArchiveBox: The self-hosted internet archive",
   "author": "Nick Sweeting <[email protected]>",
   "author": "Nick Sweeting <[email protected]>",
+  "repository": "github:ArchiveBox/ArchiveBox",
   "license": "MIT",
   "license": "MIT",
   "scripts": {
   "scripts": {
     "archivebox": "./bin/archive"
     "archivebox": "./bin/archive"
@@ -15,7 +16,7 @@
   },
   },
   "dependencies": {
   "dependencies": {
     "@postlight/mercury-parser": "^2.2.0",
     "@postlight/mercury-parser": "^2.2.0",
-    "readability-extractor": "git+https://github.com/pirate/readability-extractor.git",
+    "readability-extractor": "git+https://github.com/ArchiveBox/readability-extractor.git",
     "single-file": "git+https://github.com/gildas-lormeau/SingleFile.git"
     "single-file": "git+https://github.com/gildas-lormeau/SingleFile.git"
   }
   }
 }
 }