From: Chris Duncan Date: Fri, 4 Jul 2025 20:35:04 +0000 (-0700) Subject: Reorganize package file according to npm documentation. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=2c5963dacab27c1f6e3fab305278c4063fead879;p=buffer.git Reorganize package file according to npm documentation. --- diff --git a/package.json b/package.json index ed1b8c9..bad1076 100644 --- a/package.json +++ b/package.json @@ -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 (https://feross.org)", "contributors": [ - "Daniel Cousens", - "Romain Beauxis ", - "James Halliday " + { + "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": { @@ -41,34 +87,6 @@ } } }, - "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", @@ -76,19 +94,5 @@ "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" - } - ] + } }