fix: Remove setup script from package.json

This commit is contained in:
Cristian 2020-08-18 16:15:58 -05:00
parent 6af08ae9f2
commit 21ae8c8777

View file

@ -1,18 +1,17 @@
{ {
"name": "archivebox", "name": "archivebox",
"version": "0.4.14", "version": "0.4.14",
"description": "ArchiveBox: The self-hosted internet archive", "description": "ArchiveBox: The self-hosted internet archive",
"author": "Nick Sweeting <archivebox-npm@sweeting.me>", "author": "Nick Sweeting <archivebox-npm@sweeting.me>",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"setup": "node -e \"const {execSync} = require('child_process'); Object.entries(JSON.parse(fs.readFileSync('package.json')).dependencies).forEach(globaldep => execSync('npm i -g ' + globaldep[1]))\"", "archivebox": "./bin/archive"
"archivebox": "./bin/archive" },
}, "bin": {
"bin": { "archivebox": "./bin/archive"
"archivebox": "./bin/archive" },
}, "dependencies": {
"dependencies": { "readability-extractor": "git+https://github.com/pirate/readability-extractor.git",
"readability-extractor": "git+https://github.com/pirate/readability-extractor.git", "single-file": "git+https://github.com/gildas-lormeau/SingleFile.git"
"single-file": "git+https://github.com/gildas-lormeau/SingleFile.git" }
}
} }