82 lines
2.6 KiB
JSON
82 lines
2.6 KiB
JSON
{
|
|
"name": "@thream/file-uploads-api",
|
|
"version": "1.1.5",
|
|
"description": "Thream's application programming interface to upload files.",
|
|
"private": true,
|
|
"type": "module",
|
|
"imports": {
|
|
"#src/*": "./build/*"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Thream/file-uploads-api"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.0.0",
|
|
"npm": ">=8.0.0"
|
|
},
|
|
"scripts": {
|
|
"build": "rimraf ./build && swc ./src --out-dir ./build",
|
|
"build:dev": "swc ./src --out-dir ./build --watch",
|
|
"build:typescript": "tsc",
|
|
"start": "node --enable-source-maps build/index.js",
|
|
"dev": "concurrently -k -n \"TypeScript,Node\" -p \"[{name}]\" -c \"blue,green\" \"npm run build:dev\" \"cross-env NODE_ENV=development node --watch --enable-source-maps build/index.js\"",
|
|
"lint:commit": "commitlint",
|
|
"lint:editorconfig": "editorconfig-checker",
|
|
"lint:markdown": "markdownlint-cli2",
|
|
"lint:eslint": "eslint . --max-warnings 0 --report-unused-disable-directives --ignore-path .gitignore",
|
|
"lint:prettier": "prettier . --check",
|
|
"lint:staged": "lint-staged",
|
|
"release": "semantic-release",
|
|
"postinstall": "husky install"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cors": "8.3.0",
|
|
"@fastify/helmet": "11.0.0",
|
|
"@fastify/multipart": "7.6.0",
|
|
"@fastify/rate-limit": "8.0.3",
|
|
"@fastify/sensible": "5.2.0",
|
|
"@fastify/static": "6.10.2",
|
|
"@fastify/swagger": "8.8.0",
|
|
"@fastify/swagger-ui": "1.9.2",
|
|
"@sinclair/typebox": "0.29.6",
|
|
"dotenv": "16.3.1",
|
|
"fastify": "4.20.0",
|
|
"fastify-plugin": "4.5.1",
|
|
"http-errors": "2.0.0",
|
|
"read-pkg": "8.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "17.6.7",
|
|
"@commitlint/config-conventional": "17.6.7",
|
|
"@saithodev/semantic-release-backmerge": "3.2.0",
|
|
"@semantic-release/git": "10.0.1",
|
|
"@swc/cli": "0.1.62",
|
|
"@swc/core": "1.3.70",
|
|
"@tsconfig/strictest": "2.0.1",
|
|
"@types/busboy": "1.5.0",
|
|
"@types/http-errors": "2.0.1",
|
|
"@types/node": "20.4.3",
|
|
"@typescript-eslint/eslint-plugin": "6.1.0",
|
|
"chokidar": "3.5.3",
|
|
"concurrently": "8.2.0",
|
|
"cross-env": "7.0.3",
|
|
"editorconfig-checker": "5.1.1",
|
|
"eslint": "8.45.0",
|
|
"eslint-config-conventions": "11.0.1",
|
|
"eslint-config-prettier": "8.8.0",
|
|
"eslint-plugin-import": "2.27.5",
|
|
"eslint-plugin-prettier": "5.0.0",
|
|
"eslint-plugin-promise": "6.1.1",
|
|
"eslint-plugin-unicorn": "48.0.0",
|
|
"husky": "8.0.3",
|
|
"lint-staged": "13.2.3",
|
|
"markdownlint-cli2": "0.8.1",
|
|
"markdownlint-rule-relative-links": "2.1.0",
|
|
"prettier": "3.0.0",
|
|
"rimraf": "5.0.1",
|
|
"semantic-release": "21.0.7",
|
|
"typescript": "5.1.6"
|
|
}
|
|
}
|