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": {
|
|
|
|
"run:all": "npm-run-all build sass start",
|
|
|
|
"build": "npx babel ./src --out-dir dist --copy-files",
|
|
|
|
"sass": "npx sass sass/index.scss public/css/main.css -s compressed --color",
|
|
|
|
"watch": "npx nodemon -e js,scss",
|
|
|
|
"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",
|
|
|
|
"url": "https://www.darkou.fr"
|
|
|
|
},
|
|
|
|
"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",
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|