71 lines
1.9 KiB
JSON
71 lines
1.9 KiB
JSON
{
|
|
"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 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",
|
|
"watch": "npx nodemon -e js,scss",
|
|
"build": "npm-run-all build:app build:css",
|
|
"start": "node ./dist/bin/www",
|
|
"lint": "npx eslint ./src --ext .js",
|
|
"lint:fix": "npx eslint --fix ./src --ext .js",
|
|
"prepare": "npx husky install"
|
|
},
|
|
"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.link"
|
|
},
|
|
"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",
|
|
"luxon": "^3.4.3",
|
|
"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"
|
|
}
|
|
}
|