66 lines
2.2 KiB
JSON
66 lines
2.2 KiB
JSON
{
|
|
"name": "api",
|
|
"version": "1.0.0",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"build": "npx tsc",
|
|
"start": "node dist/index.js",
|
|
"dev": "nodemon src/index.ts",
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"formatter:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,html,css,sass,less,yml,md,graphql}\"",
|
|
"formatter:fix": "prettier --write \"src/**/*.{ts,tsx,js,jsx,html,css,sass,less,yml,md,graphql}\"",
|
|
"formatter:staged": "prettier --write --ignore-unknown",
|
|
"release": "commit-and-tag-version",
|
|
"license-checker": "node licenseChecker.cjs",
|
|
"lint": "eslint . --ext ts --report-unused-disable-directives --max-warnings 0",
|
|
"lint:fix": "eslint . --fix --ext ts --report-unused-disable-directives --max-warnings 0",
|
|
"lint:staged": "eslint --fix --ext ts --report-unused-disable-directives --max-warnings 0",
|
|
"lint-staged": "lint-staged",
|
|
"start:db": "docker compose -f mongo-docker-compose.yml up -d",
|
|
"preinstall": "git config core.hooksPath .git-hooks"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "ssh://git@git.nostrdev.com:29418/cellar/cs-backend.git"
|
|
},
|
|
"author": "NostrDev",
|
|
"license": "ISC",
|
|
"description": "Cellar Social API",
|
|
"dependencies": {
|
|
"currency-codes-ts": "^3.0.0",
|
|
"dotenv": "^16.4.7",
|
|
"express": "^4.21.2",
|
|
"i18n-iso-countries": "^7.14.0",
|
|
"joi": "^17.13.3",
|
|
"mongodb": "^6.15.0",
|
|
"nostr-tools": "^2.11.1"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.23.0",
|
|
"@saithodev/semantic-release-gitea": "^2.1.0",
|
|
"@semantic-release/changelog": "^6.0.3",
|
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
"@semantic-release/git": "^10.0.1",
|
|
"@semantic-release/npm": "^12.0.1",
|
|
"@semantic-release/release-notes-generator": "^14.0.3",
|
|
"@types/express": "^5.0.1",
|
|
"@types/node": "^22.13.12",
|
|
"concurrently": "^9.1.2",
|
|
"eslint": "^9.23.0",
|
|
"globals": "^16.0.0",
|
|
"license-checker": "^25.0.1",
|
|
"lint-staged": "^15.5.0",
|
|
"nodemon": "^3.1.9",
|
|
"prettier": "^3.5.3",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.8.2",
|
|
"typescript-eslint": "^8.28.0"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts}": [
|
|
"npm run lint:staged"
|
|
],
|
|
"*.{ts,js,yml,md}": "npm run formatter:staged"
|
|
}
|
|
}
|