Files
LicenseAPI/package.json
2024-07-20 13:17:34 +02:00

48 lines
1.7 KiB
JSON

{
"name": "licenseapi",
"version": "1.0.0-ALPHA",
"description": "A free, self-hosted licensing system for your software",
"main": "src/server.ts",
"repository": "https://github.com/gnmyt/LicenseAPI",
"scripts": {
"ci:eslint": "eslint \"**/*.{ts,tsx}\" --max-warnings=0",
"ci:tsc": "tsc --noemit",
"ci:install": "yarn install --immutable --immutable-cache --check-cache",
"backend:build": "tsc && tsc-alias",
"backend:dev": "PROJECT_VERSION=DEV nodemon --watch \"src/**\" -r tsconfig-paths/register src/server.ts",
"backend:start": "PROJECT_VERSION=$(node -p \"require('./package.json').version\") node dist/server.js",
"dashboard:build": "cd dashboard && yarn build",
"dashboard:dev": "cd dashboard && yarn dev",
"dev": "concurrently --kill-others-on-fail \"yarn backend:dev\" \"yarn dashboard:dev\"",
"start": "concurrently \"yarn backend:start\" \"yarn dashboard:dev\"",
"build": "yarn backend:build && yarn dashboard:build"
},
"dependencies": {
"bcrypt": "^5.1.1",
"cors": "^2.8.5",
"express": "^4.19.2",
"joi": "^17.13.3",
"mongoose": "^8.5.1",
"nodemailer": "^6.9.14",
"speakeasy": "^2.0.0",
"ts-md5": "^1.3.1"
},
"devDependencies": {
"@types/bcrypt": "^5.0.2",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/node": "^20.14.11",
"@types/nodemailer": "^6.4.15",
"@types/speakeasy": "^2.0.10",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"concurrently": "^8.2.2",
"eslint": "^9.7.0",
"nodemon": "^3.1.4",
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.10",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.5.3"
}
}