201 lines
4.3 KiB
JSON
201 lines
4.3 KiB
JSON
{
|
|
"name": "lolisafe",
|
|
"version": "4.0.0",
|
|
"description": "Blazing fast file uploader and bunker written in node! 🚀",
|
|
"license": "MIT",
|
|
"author": {
|
|
"name": "Pitu",
|
|
"email": "heyitspitu@gmail.com",
|
|
"url": "https://github.com/Pitu"
|
|
},
|
|
"main": "src/_scripts/start.js",
|
|
"scripts": {
|
|
"setup": "node src/setup.js && yarn build && yarn migrate && yarn seed",
|
|
"build": "nuxt build",
|
|
"start": "cross-env NODE_ENV=production node src/api/structures/Server",
|
|
"dev": "nuxt",
|
|
"migrate": "yarn knex migrate:latest",
|
|
"seed": "yarn knex seed:run",
|
|
"api": "node src/api/structures/Server",
|
|
"update": "git pull && yarn install && yarn migrate && yarn build && yarn restart",
|
|
"restart": "pm2 restart lolisafe-api && pm2 restart lolisafe-website"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/WeebDev/lolisafe"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/WeebDev/lolisafe/issues"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@mdi/font": "^5.3.45",
|
|
"@nuxtjs/axios": "^5.4.1",
|
|
"adm-zip": "^0.4.13",
|
|
"bcrypt": "^4.0.1",
|
|
"body-parser": "^1.18.3",
|
|
"buefy": "^0.8.20",
|
|
"busboy": "^0.2.14",
|
|
"chalk": "^2.4.1",
|
|
"compression": "^1.7.2",
|
|
"cookie-universal-nuxt": "^2.0.14",
|
|
"cors": "^2.8.5",
|
|
"dotenv": "^6.2.0",
|
|
"dumper.js": "^1.3.1",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"eslint-plugin-prettier": "^3.1.4",
|
|
"express": "^4.16.4",
|
|
"express-rate-limit": "^3.4.0",
|
|
"ffmpeg-generate-video-preview": "^1.0.3",
|
|
"file-saver": "^2.0.1",
|
|
"flexsearch": "^0.6.22",
|
|
"fluent-ffmpeg": "^2.1.2",
|
|
"fs-jetpack": "^2.2.2",
|
|
"helmet": "^3.15.1",
|
|
"imagesloaded": "^4.1.4",
|
|
"jsonwebtoken": "^8.5.0",
|
|
"knex": "^0.16.3",
|
|
"masonry-layout": "^4.2.2",
|
|
"moment": "^2.24.0",
|
|
"morgan": "^1.10.0",
|
|
"multer": "^1.4.1",
|
|
"mysql": "^2.16.0",
|
|
"nuxt": "2.12.2",
|
|
"nuxt-dropzone": "^0.2.8",
|
|
"one-liner": "^1.3.0",
|
|
"path": "^0.12.7",
|
|
"pg": "^7.8.1",
|
|
"qoa": "^0.2.0",
|
|
"randomstring": "^1.1.5",
|
|
"serve-static": "^1.13.2",
|
|
"sharp": "^0.25.2",
|
|
"sqlite3": "^4.0.6",
|
|
"uuid": "^3.3.2",
|
|
"v-clipboard": "^2.2.1",
|
|
"vue-axios": "^2.1.4",
|
|
"vue-isyourpasswordsafe": "^1.0.2",
|
|
"vue-plyr": "^5.1.0",
|
|
"vue-timeago": "^3.4.4",
|
|
"vue2-transitions": "^0.2.3",
|
|
"vuebar": "^0.0.20"
|
|
},
|
|
"devDependencies": {
|
|
"@nuxtjs/eslint-config": "^3.0.0",
|
|
"autoprefixer": "^9.4.7",
|
|
"babel-eslint": "^10.0.1",
|
|
"cross-env": "^5.2.0",
|
|
"eslint": "^5.13.0",
|
|
"eslint-config-airbnb-base": "^14.2.0",
|
|
"eslint-config-aqua": "^4.4.1",
|
|
"eslint-import-resolver-nuxt": "^1.0.1",
|
|
"eslint-plugin-vue": "^5.2.1",
|
|
"node-sass": "^4.11.0",
|
|
"nodemon": "^1.19.3",
|
|
"postcss-css-variables": "^0.11.0",
|
|
"postcss-nested": "^3.0.0",
|
|
"prettier": "adamjlev/prettier",
|
|
"sass-loader": "^7.1.0"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"airbnb-base",
|
|
"plugin:eslint-plugin-vue/recommended"
|
|
],
|
|
"parserOptions": {
|
|
"parser": "babel-eslint",
|
|
"sourceType": "module"
|
|
},
|
|
"rules": {
|
|
"max-len": [
|
|
"error",
|
|
{
|
|
"code": 120,
|
|
"ignoreUrls": true,
|
|
"ignoreStrings": true,
|
|
"ignoreTemplateLiterals": true,
|
|
"ignoreRegExpLiterals": true
|
|
}
|
|
],
|
|
"class-methods-use-this": "off",
|
|
"no-param-reassign": "off",
|
|
"no-plusplus": [
|
|
"error",
|
|
{
|
|
"allowForLoopAfterthoughts": true
|
|
}
|
|
],
|
|
"no-underscore-dangle": [
|
|
"error",
|
|
{
|
|
"allow": [
|
|
"_id"
|
|
]
|
|
}
|
|
],
|
|
"import/extensions": [
|
|
"error",
|
|
"always",
|
|
{
|
|
"js": "never",
|
|
"ts": "never"
|
|
}
|
|
],
|
|
"vue/attribute-hyphenation": 0,
|
|
"vue/html-closing-bracket-newline": [
|
|
"error",
|
|
{
|
|
"singleline": "never",
|
|
"multiline": "never"
|
|
}
|
|
],
|
|
"vue/max-attributes-per-line": [
|
|
"error",
|
|
{
|
|
"singleline": 5,
|
|
"multiline": {
|
|
"max": 1,
|
|
"allowFirstLine": false
|
|
}
|
|
}
|
|
],
|
|
"quote-props": 0,
|
|
"indent": [
|
|
"error",
|
|
"tab"
|
|
],
|
|
"no-tabs": "off",
|
|
"vue/html-indent": [
|
|
"error",
|
|
"tab"
|
|
],
|
|
"import/no-extraneous-dependencies": "off",
|
|
"no-restricted-syntax": "off",
|
|
"no-continue": "off",
|
|
"no-await-in-loop": "off"
|
|
},
|
|
"settings": {
|
|
"import/resolver": {
|
|
"nuxt": {
|
|
"nuxtSrcDir": "./src/site",
|
|
"extensions": [
|
|
".js",
|
|
".vue"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"keywords": [
|
|
"lolisafe",
|
|
"upload",
|
|
"uploader",
|
|
"file",
|
|
"vue",
|
|
"ssr",
|
|
"file uploader",
|
|
"images"
|
|
]
|
|
}
|