build: update dependencies and run scripts

also remove app.json as it is no longer relevant
This commit is contained in:
zyachel 2023-01-07 23:43:01 +05:30
parent cca6f69ded
commit 7106a5e365
3 changed files with 408 additions and 257 deletions

View file

@ -1,8 +0,0 @@
{
"name": "Quetre",
"description": "A libre front-end for Quora.",
"keywords": ["front-end", "quora", "privacy", "foss"],
"website": "https://quetre.herokuapp.com/",
"repository": "https://github.com/zyachel/quetre",
"logo": "https://quetre.herokuapp.com/icon.svg"
}

View file

@ -10,9 +10,9 @@
"sass:build": "sass views/sass/main.scss:public/css/styles.css --style=compressed", "sass:build": "sass views/sass/main.scss:public/css/styles.css --style=compressed",
"server:dev": "NODE_ENV=development nodemon server.js", "server:dev": "NODE_ENV=development nodemon server.js",
"server:prod": "nodemon server.js", "server:prod": "nodemon server.js",
"dev": "(pnpm sass:watch) & (pnpm server:dev)", "dev": "pnpm sass:watch & pnpm server:dev",
"prod": "(pnpm sass:build) & (pnpm server:prod)", "prod": "pnpm sass:build && pnpm server:prod",
"start": "(npm run sass:build) & (node server.js)" "start": "pnpm run sass:build && node server.js"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@ -31,22 +31,22 @@
"axios": "^0.27.2", "axios": "^0.27.2",
"cheerio": "1.0.0-rc.12", "cheerio": "1.0.0-rc.12",
"compression": "^1.7.4", "compression": "^1.7.4",
"dotenv": "^16.0.1", "dotenv": "^16.0.3",
"express": "^4.18.1", "express": "^4.18.2",
"helmet": "^5.1.0", "helmet": "^5.1.1",
"morgan": "^1.10.0", "morgan": "^1.10.0",
"pug": "^3.0.2", "pug": "^3.0.2",
"sass": "^1.54.0" "sass": "^1.57.1"
}, },
"devDependencies": { "devDependencies": {
"@eslint/create-config": "^0.3.0", "@eslint/create-config": "^0.3.1",
"@types/express": "^4.17.13", "@types/express": "^4.17.15",
"eslint": "^8.20.0", "eslint": "^8.31.0",
"eslint-config-airbnb-base": "^15.0.0", "eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0", "eslint-config-prettier": "^8.6.0",
"eslint-plugin-import": "^2.26.0", "eslint-plugin-import": "^2.26.0",
"nodemon": "^2.0.19", "nodemon": "^2.0.20",
"prettier": "^2.7.1" "prettier": "^2.8.2"
}, },
"nodemonConfig": { "nodemonConfig": {
"ignore": [ "ignore": [

631
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff