From f2a9037848c1e98455d6d710e87b85781e7f4d66 Mon Sep 17 00:00:00 2001 From: Tony133 Date: Wed, 21 Oct 2026 16:39:47 +0200 Subject: [PATCH] chore: remove files field from package.json and updated --- package.json | 83 ++++++++++++++++++++-------------------------------- 1 file changed, 31 insertions(+), 52 deletions(-) diff --git a/package.json b/package.json index 58859dc..880bc55 100644 --- a/package.json +++ b/package.json @@ -1,19 +1,6 @@ { "name": "@fastify/busboy", "version": "3.2.3", - "author": "Brian White ", - "contributors": [ - { - "name": "Igor Savin", - "email": "kibertoad@gmail.com", - "url": "https://github.com/kibertoad" - }, - { - "name": "Aras Abbasi", - "email": "aras.abbasi@gmail.com", - "url": "https://github.com/uzlopak" - } - ], "description": "A streaming parser for HTML form data for node.js", "main": "index.js", "type": "commonjs", @@ -21,25 +8,15 @@ "scripts": { "bench:busboy": "cd benchmarks && npm install && npm run benchmark-fastify", "bench:dicer": "node bench/dicer/dicer-bench-multipart-parser.js", - "coveralls": "nyc report --reporter=lcov", "lint": "eslint", "lint:fix": "eslint --fix", - "test:unit": "c8 --check-coverage --statements 100 --branches 100 --functions 100 --lines 100 node --test", + "test": "npm run test:unit && npm run test:types", "test:types": "tstyche", - "test": "npm run test:unit && npm run test:types" + "test:unit": "c8 --check-coverage --statements 100 --branches 100 --functions 100 --lines 100 node --test" }, - "devDependencies": { - "@types/node": "^26.0.1", - "busboy": "^1.6.0", - "c8": "^12.0.0", - "photofinish": "^1.8.0", - "snazzy": "^9.0.0", - "eslint": "^9.39.0", - "neostandard": "^0.12.0", - "tinybench": "^6.0.0", - "tstyche": "^7.0.0", - "tslib": "^2.8.1", - "typescript": "~6.0.2" + "repository": { + "type": "git", + "url": "git+https://github.com/fastify/busboy.git" }, "keywords": [ "uploads", @@ -47,33 +24,35 @@ "multipart", "form-data" ], + "author": "Brian White ", + "contributors": [ + { + "name": "Igor Savin", + "email": "kibertoad@gmail.com", + "url": "https://github.com/kibertoad" + }, + { + "name": "Aras Abbasi", + "email": "aras.abbasi@gmail.com", + "url": "https://github.com/uzlopak" + } + ], "license": "MIT", - "repository": { - "type": "git", - "url": "git+https://github.com/fastify/busboy.git" - }, "bugs": { "url": "https://github.com/fastify/busboy/issues" }, "homepage": "https://github.com/fastify/busboy#readme", - "standard": { - "globals": [ - "describe", - "it" - ], - "ignore": [ - "bench" - ] - }, - "files": [ - "README.md", - "LICENSE", - "index.js", - "lib/*", - "types/*", - "deps/encoding/*", - "deps/dicer/lib", - "deps/streamsearch/", - "deps/dicer/LICENSE" - ] + "devDependencies": { + "@types/node": "^26.0.1", + "busboy": "^1.6.0", + "c8": "^12.0.0", + "eslint": "^9.39.0", + "neostandard": "^0.12.0", + "photofinish": "^1.8.0", + "snazzy": "^9.0.0", + "tinybench": "^6.0.0", + "tslib": "^2.8.1", + "tstyche": "^7.0.0", + "typescript": "~6.0.2" + } }