Create package.json & yarn.lock file

This commit is contained in:
Mathias Wagner
2024-07-20 12:29:03 +02:00
parent 863d52b1de
commit 1ef3b6ab97
2 changed files with 2281 additions and 0 deletions

47
package.json Normal file
View File

@ -0,0 +1,47 @@
{
"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.18.2",
"joi": "^17.10.1",
"mongoose": "^7.5.1",
"nodemailer": "^6.9.5",
"speakeasy": "^2.0.0",
"ts-md5": "^1.3.1"
},
"devDependencies": {
"@types/bcrypt": "^5.0.0",
"@types/cors": "^2.8.14",
"@types/express": "^4.17.17",
"@types/node": "^20.6.2",
"@types/nodemailer": "^6.4.10",
"@types/speakeasy": "^2.0.7",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"concurrently": "^8.2.2",
"eslint": "^8.49.0",
"nodemon": "^3.0.1",
"ts-node": "^10.9.1",
"tsc-alias": "^1.8.7",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.2.2"
}
}