npm package diff
Package: express-zod-api
Versions: 22.6.0 - 22.7.0-beta.0
File: package/package.json
Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
{
"name": "express-zod-api",
- "version": "22.6.0",
+ "version": "22.7.0-beta.0",
"description": "A Typescript framework to help you get an API server up and running with I/O schema validation and custom middlewares in minutes.",
"license": "MIT",
"repository": {
"type": "git",
@@ -15,30 +15,17 @@
},
"bugs": "https://github.com/RobinTail/express-zod-api/issues",
"funding": "https://github.com/sponsors/RobinTail",
"scripts": {
- "start": "tsx example/index.ts",
- "prebuild": "yarn build:docs && yarn build:client && yarn build:md",
- "build": "tsup && attw --pack",
- "postbuild": "tsx tools/make-tests.ts",
- "build:docs": "tsx example/generate-documentation.ts",
- "build:client": "tsx example/generate-client.ts",
- "build:md": "tsx tools/contributors.ts && tsx tools/license.ts",
+ "build": "tsup",
+ "postbuild": "yarn pack --filename release.tgz && attw release.tgz && rm release.tgz",
"pretest": "tsc --noEmit",
- "test": "vitest run --coverage tests/unit tests/system",
+ "test": "vitest run --coverage",
"posttest": "make-coverage-badge --output-path coverage.svg",
- "test:cjs": "yarn --cwd tests/cjs && vitest run -r tests/cjs",
- "test:esm": "yarn --cwd tests/esm && vitest run -r tests/esm",
- "test:952": "yarn --cwd tests/issue952 && yarn --cwd tests/issue952 test",
- "test:compat": "yarn --cwd tests/compat && yarn --cwd tests/compat test",
- "test:oas": "vitest run tests/oas",
- "bench": "vitest bench --run tests/bench",
- "lint": "eslint && yarn prettier *.md --check",
- "mdfix": "prettier *.md --write",
- "precommit": "yarn lint && yarn test && yarn build && git add *.md example/example.* LICENSE coverage.svg",
- "prepublishOnly": "yarn lint && yarn test && yarn build",
- "postversion": "git push && git push --tags",
- "install_hooks": "husky"
+ "bench": "vitest bench --run ./bench",
+ "prepublishOnly": "eslint && yarn test && yarn build",
+ "prepack": "cp ../*.md ../LICENSE ./",
+ "postversion": "git push && git push --tags"
},
"type": "module",
"sideEffects": true,
"main": "dist/index.cjs",
@@ -113,54 +100,22 @@
}
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.0",
- "@eslint/eslintrc": "^3",
- "@tsconfig/node20": "^20.1.4",
- "@types/compression": "^1.7.5",
"@types/cors": "^2.8.14",
"@types/depd": "^1.1.36",
- "@types/eslint": "^9.6.0",
- "@types/express": "^5.0.0",
- "@types/express-fileupload": "^1.5.0",
- "@types/http-errors": "^2.0.2",
- "@types/node": "^22.0.0",
"@types/node-forge": "^1.3.11",
"@types/ramda": "^0.30.0",
"@types/semver": "^7.5.8",
- "@types/swagger-ui-express": "^4.1.6",
- "@typescript-eslint/rule-tester": "^8.15.0",
- "@vitest/coverage-v8": "^3.0.5",
"camelize-ts": "^3.0.0",
- "compression": "^1.7.4",
"cors": "^2.8.5",
- "eslint": "^9.3.0",
- "eslint-config-prettier": "^10.0.1",
- "eslint-plugin-allowed-dependencies": "^1.0.0",
- "eslint-plugin-prettier": "^5.1.3",
- "eslint-plugin-unicorn": "^56.0.0",
- "express": "^5.0.0",
- "express-fileupload": "^1.5.0",
- "globals": "^15.3.0",
- "http-errors": "^2.0.0",
- "husky": "^9.0.5",
"make-coverage-badge": "^1.2.0",
"node-forge": "^1.3.1",
- "prettier": "3.4.2",
"semver": "^7.6.3",
"snakify-ts": "^2.3.0",
- "swagger-ui-express": "^5.0.0",
"tsup": "^8.0.0",
- "tsx": "^4.6.2",
- "typescript": "^5.5.2",
- "typescript-eslint": "^8.15.0",
- "undici": "^6.19.8",
- "vitest": "^3.0.5",
- "zod": "^3.23.0"
+ "undici": "^6.19.8"
},
- "resolutions": {
- "**/@scarf/scarf": "npm:[email protected]"
- },
"keywords": [
"nodejs",
"api",
"http",