145 lines
4.3 KiB
JSON
145 lines
4.3 KiB
JSON
{
|
|
"name": "kutt",
|
|
"version": "1.2.1",
|
|
"description": "Modern URL shortener.",
|
|
"main": "./server/server.js",
|
|
"scripts": {
|
|
"test": "mocha --compilers js:@babel/register ./client/**/__test__/*.js",
|
|
"docker:build": "docker build -t kutt .",
|
|
"docker:run": "docker run -p 3000:3000 --env-file .env -d kutt:latest",
|
|
"dev": "nodemon server/server.ts",
|
|
"build": "next build client/ && rimraf production-server && tsc --project tsconfig.server.json && copyfiles -f \"server/mail/*.html\" production-server/mail",
|
|
"start": "NODE_ENV=production node production-server/server.js",
|
|
"lint": "eslint server/ --ext .js,.ts --fix",
|
|
"lint:nofix": "eslint server/ --ext .js,.ts"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run lint:nofix"
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/TheDevs-Network/kutt.git"
|
|
},
|
|
"keywords": [
|
|
"url-shortener"
|
|
],
|
|
"author": "Pouria Ezzati <ezzati.upt@gmail.com>",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/TheDevs-Network/kutt/issues"
|
|
},
|
|
"homepage": "https://github.com/TheDevs-Network/kutt#readme",
|
|
"dependencies": {
|
|
"axios": "^0.19.0",
|
|
"bcryptjs": "^2.4.3",
|
|
"cookie-parser": "^1.4.4",
|
|
"cors": "^2.8.5",
|
|
"date-fns": "^1.30.1",
|
|
"dotenv": "^8.0.0",
|
|
"email-validator": "^1.2.3",
|
|
"express": "^4.17.1",
|
|
"express-validator": "^4.3.0",
|
|
"geoip-lite": "^1.3.6",
|
|
"helmet": "^3.15.1",
|
|
"isbot": "^2.2.1",
|
|
"js-cookie": "^2.2.0",
|
|
"jsonwebtoken": "^8.4.0",
|
|
"jwt-decode": "^2.2.0",
|
|
"knex": "^0.19.2",
|
|
"lodash": "^4.17.11",
|
|
"mongoose": "^5.6.4",
|
|
"morgan": "^1.9.1",
|
|
"ms": "^2.1.1",
|
|
"nanoid": "^1.3.4",
|
|
"natives": "^1.1.6",
|
|
"neo4j-driver": "^1.7.5",
|
|
"next": "^7.0.3",
|
|
"next-redux-wrapper": "^2.1.0",
|
|
"node-cron": "^2.0.3",
|
|
"nodemailer": "^6.3.0",
|
|
"p-queue": "^6.1.1",
|
|
"passport": "^0.4.0",
|
|
"passport-jwt": "^4.0.0",
|
|
"passport-local": "^1.0.0",
|
|
"passport-localapikey-update": "^0.6.0",
|
|
"pg": "^7.12.1",
|
|
"pg-query-stream": "^2.0.0",
|
|
"prop-types": "^15.7.2",
|
|
"qrcode.react": "^0.8.0",
|
|
"raven": "^2.6.4",
|
|
"react": "^16.8.1",
|
|
"react-copy-to-clipboard": "^5.0.1",
|
|
"react-dom": "^16.8.1",
|
|
"react-ga": "^2.5.7",
|
|
"react-inlinesvg": "^0.7.5",
|
|
"react-redux": "^6.0.0",
|
|
"recharts": "^1.4.3",
|
|
"redis": "^2.8.0",
|
|
"redux": "^4.0.1",
|
|
"redux-devtools-extension": "^2.13.8",
|
|
"redux-thunk": "^2.3.0",
|
|
"styled-components": "^4.1.3",
|
|
"universal-analytics": "^0.4.20",
|
|
"url-regex": "^4.1.1",
|
|
"useragent": "^2.2.1",
|
|
"uuid": "^3.3.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.2.3",
|
|
"@babel/core": "^7.2.2",
|
|
"@babel/node": "^7.2.2",
|
|
"@babel/preset-env": "^7.3.1",
|
|
"@babel/register": "^7.0.0",
|
|
"@types/bcryptjs": "^2.4.2",
|
|
"@types/body-parser": "^1.17.0",
|
|
"@types/cookie-parser": "^1.4.1",
|
|
"@types/cors": "^2.8.5",
|
|
"@types/date-fns": "^2.6.0",
|
|
"@types/dotenv": "^4.0.3",
|
|
"@types/express": "^4.16.0",
|
|
"@types/helmet": "0.0.38",
|
|
"@types/jsonwebtoken": "^7.2.8",
|
|
"@types/jwt-decode": "^2.2.1",
|
|
"@types/mongodb": "^3.1.17",
|
|
"@types/mongoose": "^5.3.5",
|
|
"@types/morgan": "^1.7.36",
|
|
"@types/ms": "^0.7.30",
|
|
"@types/next": "^7.0.5",
|
|
"@types/node-cron": "^2.0.2",
|
|
"@types/nodemailer": "^6.2.1",
|
|
"@types/pg": "^7.11.0",
|
|
"@types/pg-query-stream": "^1.0.3",
|
|
"@types/redis": "^2.8.10",
|
|
"@typescript-eslint/eslint-plugin": "^2.0.0",
|
|
"@typescript-eslint/parser": "^2.0.0",
|
|
"@zeit/next-typescript": "^1.1.1",
|
|
"babel": "^6.23.0",
|
|
"babel-cli": "^6.26.0",
|
|
"babel-core": "^6.26.3",
|
|
"babel-eslint": "^8.2.6",
|
|
"babel-plugin-styled-components": "^1.10.0",
|
|
"babel-preset-env": "^1.7.0",
|
|
"chai": "^4.1.2",
|
|
"copyfiles": "^2.1.1",
|
|
"deep-freeze": "^0.0.1",
|
|
"eslint": "^5.4.0",
|
|
"eslint-config-airbnb": "^16.1.0",
|
|
"eslint-config-prettier": "^6.1.0",
|
|
"eslint-plugin-import": "^2.16.0",
|
|
"eslint-plugin-jsx-a11y": "^6.2.1",
|
|
"eslint-plugin-prettier": "^3.1.0",
|
|
"eslint-plugin-react": "^7.14.3",
|
|
"husky": "^0.15.0-rc.13",
|
|
"mocha": "^5.2.0",
|
|
"nock": "^9.3.3",
|
|
"nodemon": "^1.18.10",
|
|
"prettier": "^1.18.2",
|
|
"redux-mock-store": "^1.5.3",
|
|
"rimraf": "^3.0.0",
|
|
"sinon": "^6.0.0",
|
|
"typescript": "^3.5.3"
|
|
}
|
|
}
|