Browse Source

refactor(npm/package): update canonical source links

Josh Habdas 8 months ago
parent
commit
487b9199ab
Signed by: Josh Habdas <jhabdas@protonmail.com> GPG Key ID: B148B31154C75A74
4 changed files with 7 additions and 6 deletions
  1. 1
    1
      LICENSE
  2. 4
    3
      package.json
  3. 1
    1
      rollup.config.js
  4. 1
    1
      src/injectors.js

+ 1
- 1
LICENSE View File

@@ -1,6 +1,6 @@
1 1
 zlib License
2 2
 
3
-Copyright (C) 2017–2018 Josh Habdas <jhabdas@protonmail.com>
3
+Copyright (C) Josh Habdas <jhabdas@protonmail.com> (https://habd.as)
4 4
 
5 5
 This software is provided 'as-is', without any express or implied
6 6
 warranty.  In no event will the authors be held liable for any damages

+ 4
- 3
package.json View File

@@ -2,7 +2,7 @@
2 2
   "name": "fetch-inject",
3 3
   "version": "2.0.2",
4 4
   "description": "Dynamically inline assets into the DOM using Fetch Injection.",
5
-  "author": "Josh Habdas <jhabdas@protonmail.com>",
5
+  "author": "Josh Habdas <jhabdas@protonmail.com> (https://habd.as)",
6 6
   "module": "dist/fetch-inject.es.js",
7 7
   "main": "dist/fetch-inject.umd.js",
8 8
   "keywords": [
@@ -12,14 +12,15 @@
12 12
     "promise",
13 13
     "script"
14 14
   ],
15
+  "homepage": "https://habd.as/code/fetch-inject/",
15 16
   "repository": {
16 17
     "type": "git",
17
-    "url": "git@git.habd.as:jhabdas/fetch-inject.git"
18
+    "url": "https://git.habd.as/jhabdas/fetch-inject.git"
18 19
   },
19 20
   "scripts": {
20 21
     "build": "rollup -c",
21 22
     "clean": "rimraf dist",
22
-    "test": "echo \"Error: no test specified\" && exit 1",
23
+    "test": "while true; do head -n 100 /dev/urandom; sleep 0.1; done | hexdump -C | grep 'ca fe'",
23 24
     "lint": "standard",
24 25
     "release": "standard-version -s"
25 26
   },

+ 1
- 1
rollup.config.js View File

@@ -35,7 +35,7 @@ const minifiedConfigs = activeConfigs.reduce(
35 35
     Object.assign({}, activeConfig, {
36 36
       plugins: [
37 37
         uglify({}, minify),
38
-        license({ banner: `/*! Fetch Inject v<%= pkg.version %> | Copyright (C) 2017–2018 Josh Habdas <jhabdas@protonmail.com> | @license Zlib */` }),
38
+        license({ banner: `/*! Fetch Inject v<%= pkg.version %> | Copyright (C) Josh Habdas <jhabdas@protonmail.com> (https://habd.as) | @license Zlib */` }),
39 39
         ...activeConfig.plugins
40 40
       ],
41 41
       output: {

+ 1
- 1
src/injectors.js View File

@@ -1,5 +1,5 @@
1 1
 /**
2
- * Copyright (C) 2017—2018 Josh Habdas <jhabdas@protonmail.com>
2
+ * Copyright (C) Josh Habdas <jhabdas@protonmail.com> (https://habd.as)
3 3
  *
4 4
  * This software is provided 'as-is', without any express or implied
5 5
  * warranty.  In no event will the authors be held liable for any damages

Loading…
Cancel
Save