Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2018-04-25 04:03:43 +0300
committerFeross Aboukhadijeh <feross@feross.org>2018-04-25 04:03:43 +0300
commit352c52792002dc2efd9e2e6b72982ef3297b68fd (patch)
tree75d3760b0db5d522618ca10a3d969e17b3a8cb4e
parent4022debc25b88a4f4e92d5f37ae5803fe3aa097e (diff)
Move internal scripts from bin/ to scripts/
By convention the bin/ folder is for user-facing command line scripts. Let's use scripts/ for internal scripts that don't need to be published.
-rw-r--r--.npmignore7
-rw-r--r--AUTHORS.md2
-rw-r--r--package.json2
-rwxr-xr-xscripts/update-authors.sh (renamed from bin/update-authors.sh)2
4 files changed, 10 insertions, 3 deletions
diff --git a/.npmignore b/.npmignore
new file mode 100644
index 0000000..70b0f8f
--- /dev/null
+++ b/.npmignore
@@ -0,0 +1,7 @@
+.airtap.yml
+.appveyor.yml
+.github/
+.travis.yml
+CONTRIBUTING.md
+scripts/
+test/
diff --git a/AUTHORS.md b/AUTHORS.md
index 04b0b9f..ba883f0 100644
--- a/AUTHORS.md
+++ b/AUTHORS.md
@@ -130,4 +130,4 @@
- Raymond Tan (now-raymond@users.noreply.github.com)
- Kaylee (34007889+KayleePop@users.noreply.github.com)
-#### Generated by bin/update-authors.sh.
+#### Generated by scripts/update-authors.sh.
diff --git a/package.json b/package.json
index 2c111c1..70b0c3e 100644
--- a/package.json
+++ b/package.json
@@ -119,6 +119,6 @@
"test-browser": "airtap -- test/*.js test/browser/*.js",
"test-browser-local": "airtap --local -- test/*.js test/browser/*.js",
"test-node": "tape test/*.js test/node/*.js",
- "update-authors": "./bin/update-authors.sh"
+ "update-authors": "./scripts/update-authors.sh"
}
}
diff --git a/bin/update-authors.sh b/scripts/update-authors.sh
index 6735eb4..07c04f5 100755
--- a/bin/update-authors.sh
+++ b/scripts/update-authors.sh
@@ -18,6 +18,6 @@ END {
print "# Authors\n\n";
print "#### Ordered by first contribution.\n\n";
print @authors, "\n";
- print "#### Generated by bin/update-authors.sh.\n";
+ print "#### Generated by scripts/update-authors.sh.\n";
}
' > AUTHORS.md