]> git.codecow.com Git - buffer.git/commitdiff
Reorganize package file according to npm documentation. main
authorChris Duncan <chris@zoso.dev>
Fri, 4 Jul 2025 20:35:04 +0000 (13:35 -0700)
committerChris Duncan <chris@zoso.dev>
Fri, 4 Jul 2025 20:35:04 +0000 (13:35 -0700)
package.json

index ed1b8c9e354bd61b1389d7fcf410fd9987d3fccc..bad1076bed31e5d9129f04693db8197a3918f43e 100644 (file)
@@ -1,20 +1,67 @@
 {
-       "name": "buffer",
-       "description": "Node.js Buffer API, for the browser",
+       "name": "@zoso.dev/buffer",
        "version": "6.0.3",
-       "author": {
-               "name": "Feross Aboukhadijeh",
-               "email": "feross@feross.org",
-               "url": "https://feross.org"
-       },
+       "description": "Node.js Buffer API, for the browser",
+       "keywords": [
+               "arraybuffer",
+               "browser",
+               "browserify",
+               "buffer",
+               "compatible",
+               "dataview",
+               "uint8array"
+       ],
+       "homepage": "https://github.com/feross/buffer",
        "bugs": {
                "url": "https://github.com/feross/buffer/issues"
        },
+       "repository": {
+               "type": "git",
+               "url": "git://github.com/feross/buffer.git"
+       },
+       "funding": [
+               {
+                       "type": "github",
+                       "url": "https://github.com/sponsors/feross"
+               },
+               {
+                       "type": "patreon",
+                       "url": "https://www.patreon.com/feross"
+               },
+               {
+                       "type": "consulting",
+                       "url": "https://feross.org/support"
+               }
+       ],
+       "license": "MIT",
+       "author": "Feross Aboukhadijeh <feross@feross.org> (https://feross.org)",
        "contributors": [
-               "Daniel Cousens",
-               "Romain Beauxis <toots@rastageeks.org>",
-               "James Halliday <mail@substack.net>"
+               {
+                       "name": "Daniel Cousens"
+               },
+               {
+                       "name": "Romain Beauxis",
+                       "email": "toots@rastageeks.org"
+               },
+               {
+                       "name": "James Halliday",
+                       "email": "mail@substack.net"
+               }
        ],
+       "main": "index.js",
+       "types": "index.d.ts",
+       "scripts": {
+               "perf": "browserify --debug perf/bracket-notation.js > perf/bundle.js && open perf/index.html || xdg-open perf/index.html",
+               "perf-node": "node perf/bracket-notation.js && node perf/concat.js && node perf/copy-big.js && node perf/copy.js && node perf/new-big.js && node perf/new.js && node perf/readDoubleBE.js && node perf/readFloatBE.js && node perf/readUInt32LE.js && node perf/slice.js && node perf/writeFloatBE.js && node perf/write-hex.js",
+               "size": "browserify -r ./ | uglifyjs -c -m | gzip | wc -c",
+               "standard": "standard",
+               "test": "tape test/*.js test/node/*.js",
+               "test-browser-old": "airtap -- test/*.js",
+               "test-browser-old-local": "airtap --local -- test/*.js",
+               "test-browser-new": "airtap -- test/*.js test/node/*.js",
+               "test-browser-new-local": "airtap --local -- test/*.js test/node/*.js",
+               "update-authors": "./bin/update-authors.sh"
+       },
        "dependencies": {
                "base64-js": "^1.5.1",
                "ieee754": "^1.2.1"
@@ -33,7 +80,6 @@
                "through2": "^4.0.2",
                "uglify-js": "^3.19.3"
        },
-       "homepage": "https://github.com/feross/buffer",
        "jspm": {
                "map": {
                        "./index.js": {
                        }
                }
        },
-       "keywords": [
-               "arraybuffer",
-               "browser",
-               "browserify",
-               "buffer",
-               "compatible",
-               "dataview",
-               "uint8array"
-       ],
-       "license": "MIT",
-       "main": "index.js",
-       "types": "index.d.ts",
-       "repository": {
-               "type": "git",
-               "url": "git://github.com/feross/buffer.git"
-       },
-       "scripts": {
-               "perf": "browserify --debug perf/bracket-notation.js > perf/bundle.js && open perf/index.html || xdg-open perf/index.html",
-               "perf-node": "node perf/bracket-notation.js && node perf/concat.js && node perf/copy-big.js && node perf/copy.js && node perf/new-big.js && node perf/new.js && node perf/readDoubleBE.js && node perf/readFloatBE.js && node perf/readUInt32LE.js && node perf/slice.js && node perf/writeFloatBE.js && node perf/write-hex.js",
-               "size": "browserify -r ./ | uglifyjs -c -m | gzip | wc -c",
-               "standard": "standard",
-               "test": "tape test/*.js test/node/*.js",
-               "test-browser-old": "airtap -- test/*.js",
-               "test-browser-old-local": "airtap --local -- test/*.js",
-               "test-browser-new": "airtap -- test/*.js test/node/*.js",
-               "test-browser-new-local": "airtap --local -- test/*.js test/node/*.js",
-               "update-authors": "./bin/update-authors.sh"
-       },
        "standard": {
                "ignore": [
                        "test/node/**/*.js",
                        "test/_polyfill.js",
                        "perf/**/*.js"
                ]
-       },
-       "funding": [
-               {
-                       "type": "github",
-                       "url": "https://github.com/sponsors/feross"
-               },
-               {
-                       "type": "patreon",
-                       "url": "https://www.patreon.com/feross"
-               },
-               {
-                       "type": "consulting",
-                       "url": "https://feross.org/support"
-               }
-       ]
+       }
 }