MangoRecipe/package.json

56 lines
2.0 KiB
JSON

{
"name": "mangorecipe",
"version": "1.0.0",
"description": "A recipe manager with nextjs",
"main": "index.js",
"scripts": {
"build": "tsc",
"build:purgecss": "cross-env purgecss -c purgecss.config.js -o ./Source/Webserver/public/css/",
"build:scss": "cross-env sass --no-source-map ./Source/Webserver/public/scss/:./Source/Webserver/public/css/ && npm run build:purgecss",
"build:static": "cross-env copyfiles './Source/Webserver/**/**/*.{css,liquid,jpg,js,png}' './dist/'",
"dev": "cross-env concurrently \"cross-env sass ./Source/Webserver/public/scss/:./Source/Webserver/public/css/ --watch\" \"cross-env nodemon\"",
"format": "cross-env prettier --config .prettierrc 'Source/**/*.{liquid,js,json,scss,ts}' --write",
"lint": "eslint --fix .",
"prebuild": "cross-env rimraf ./dist/",
"postbuild": "npm run build:scss && npm run build:static",
"postinstall": "cross-env copyfiles './node_modules/bulmaselect/dist/index.js' './Source/Webserver/public/js/bulmaselect/' -f",
"start": "npm run build && cross-env NODE_ENV=production node dist/Source/index.js",
"pm2": "npm run build && pm2 start pm2.config.json",
"test": "tsc && eslint ."
},
"repository": {
"type": "git",
"url": "https://tea.nightly.town/Mangoberry/MangoRecipe"
},
"keywords": [
"recipemanager"
],
"author": "nightlymania",
"license": "GPL-2.0-or-later",
"devDependencies": {
"@types/ejs": "^3.1.1",
"@types/express": "^4.17.14",
"eslint": "8.25.0",
"eslint-config-next": "12.3.1",
"eslint-config-prettier": "^8.5.0",
"typescript": "^4.8.4"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^5.40.1",
"concurrently": "^7.4.0",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"express": "^4.18.2",
"express-rate-limit": "^6.6.0",
"express-session": "^1.17.3",
"liquidjs": "^9.42.0",
"nodemon": "^2.0.20",
"path": "^0.12.7",
"prettier": "^2.7.1",
"purgecss": "^5.0.0",
"sass": "^1.55.0",
"terser": "^5.15.1",
"ts-node": "^10.9.1"
}
}