2023-09-23 20:54:44 +02:00
|
|
|
{
|
|
|
|
"name": "simple-images-upload",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"description": "Simple application to store and share image with bbcode integration",
|
|
|
|
"main": "src/bin/www",
|
|
|
|
"scripts": {
|
2023-09-25 00:39:15 +02:00
|
|
|
"run:all": "npm-run-all build start",
|
|
|
|
"prebuild": "rm -rf ./dist",
|
|
|
|
"build:css": "npx sass sass/index.scss public/css/main.css -s compressed --color",
|
|
|
|
"build:app": "npx babel ./src --out-dir dist --copy-files",
|
2023-09-23 20:54:44 +02:00
|
|
|
"watch": "npx nodemon -e js,scss",
|
2023-09-25 00:39:15 +02:00
|
|
|
"build": "npm-run-all build:app build:css",
|
2023-09-23 20:54:44 +02:00
|
|
|
"start": "node ./dist/bin/www",
|
|
|
|
"lint": "npx eslint ./src --ext .js",
|
|
|
|
"lint:fix": "npx eslint --fix ./src --ext .js",
|
2023-09-24 22:11:32 +02:00
|
|
|
"prepare": "npx husky install"
|
2023-09-23 20:54:44 +02:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git@git.darkou.fr:dbroqua/simple-images-upload.git"
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"name": "Damien Broqua",
|
|
|
|
"email": "contact@darkou.fr",
|
2023-09-25 09:30:48 +02:00
|
|
|
"url": "https://www.darkou.link"
|
2023-09-23 20:54:44 +02:00
|
|
|
},
|
|
|
|
"license": "CC-BY-NC-SA-4.0",
|
|
|
|
"nodemonConfig": {
|
|
|
|
"exec": "npm run run:all",
|
|
|
|
"watch": [
|
|
|
|
"src/*",
|
|
|
|
"sass/*",
|
|
|
|
"javascripts/*"
|
|
|
|
],
|
|
|
|
"ignore": [
|
|
|
|
"**/__tests__/**",
|
|
|
|
"*.test.js",
|
|
|
|
"*.spec.js"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@babel/cli": "^7.22.15",
|
|
|
|
"@babel/preset-env": "^7.22.20",
|
|
|
|
"eslint": "^8.50.0",
|
|
|
|
"eslint-config-google": "^0.14.0",
|
|
|
|
"husky": "^8.0.3",
|
|
|
|
"nodemon": "^3.0.1",
|
|
|
|
"npm-run-all": "^4.1.5",
|
|
|
|
"sass": "^1.68.0"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"connect-ensure-login": "^0.1.1",
|
|
|
|
"connect-flash": "^0.1.1",
|
|
|
|
"connect-mongo": "^5.0.0",
|
|
|
|
"cookie-parser": "^1.4.6",
|
|
|
|
"debug": "^4.3.4",
|
|
|
|
"ejs": "^3.1.9",
|
|
|
|
"express": "^4.18.2",
|
|
|
|
"express-session": "^1.17.3",
|
|
|
|
"knacss": "^8.0.4",
|
2023-09-25 00:31:06 +02:00
|
|
|
"luxon": "^3.4.3",
|
2023-09-23 20:54:44 +02:00
|
|
|
"mongoose": "^7.5.2",
|
|
|
|
"mongoose-unique-validator": "^4.0.0",
|
|
|
|
"multer": "^1.4.5-lts.1",
|
|
|
|
"passport": "^0.6.0",
|
|
|
|
"passport-http": "^0.3.0",
|
|
|
|
"passport-local": "^1.0.0",
|
|
|
|
"rand-token": "^1.0.1",
|
|
|
|
"sharp": "^0.32.6"
|
|
|
|
}
|
|
|
|
}
|