mirror of
https://github.com/gnmyt/LicenseAPI.git
synced 2026-01-10 18:21:47 +00:00
Create package.json & yarn.lock file
This commit is contained in:
47
package.json
Normal file
47
package.json
Normal 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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user