2011-11-18 20:44:28 +00:00
|
|
|
{
|
2012-09-19 18:28:52 +00:00
|
|
|
"name": "haste",
|
2012-09-27 15:51:15 +00:00
|
|
|
"version": "0.1.0",
|
2012-09-19 18:28:52 +00:00
|
|
|
"private": true,
|
|
|
|
"description": "Private Pastebin Server",
|
|
|
|
"keywords": [
|
|
|
|
"paste",
|
|
|
|
"pastebin"
|
|
|
|
],
|
|
|
|
"author": {
|
|
|
|
"name": "John Crepezzi",
|
|
|
|
"email": "john.crepezzi@gmail.com",
|
|
|
|
"url": "http://seejohncode.com/"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-10-06 03:50:28 +00:00
|
|
|
"busboy": "0.2.4",
|
|
|
|
"connect": "^3.7.0",
|
2022-05-27 09:00:09 +00:00
|
|
|
"connect-ratelimit": "^0.0.7",
|
2016-03-06 21:20:40 +00:00
|
|
|
"connect-route": "0.1.5",
|
2022-05-27 09:00:09 +00:00
|
|
|
"dotenv": "^16.0.1",
|
|
|
|
"express": "^4.18.1",
|
|
|
|
"st": "^3.0.0",
|
2017-11-01 01:19:22 +00:00
|
|
|
"uglify-js": "3.1.6",
|
2020-10-06 03:50:28 +00:00
|
|
|
"winston": "^2.0.0"
|
2012-09-19 18:28:52 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-06-08 12:11:33 +00:00
|
|
|
"@types/aws-sdk": "^2.7.0",
|
2022-05-27 09:00:09 +00:00
|
|
|
"@types/busboy": "^1.5.0",
|
|
|
|
"@types/express": "^4.17.13",
|
2022-06-08 12:26:00 +00:00
|
|
|
"@types/google-cloud__datastore": "^1.3.6",
|
2022-05-27 13:04:54 +00:00
|
|
|
"@types/jest": "^27.5.1",
|
2022-05-27 09:00:09 +00:00
|
|
|
"@types/memcached": "^2.2.7",
|
2022-06-08 12:11:33 +00:00
|
|
|
"@types/mongodb": "^4.0.7",
|
2022-05-27 09:00:09 +00:00
|
|
|
"@types/node": "^17.0.35",
|
|
|
|
"@types/pg": "^8.6.5",
|
2022-06-06 19:36:48 +00:00
|
|
|
"@types/redis": "^4.0.11",
|
2022-05-27 09:00:09 +00:00
|
|
|
"@types/uglify-js": "^3.13.2",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.26.0",
|
|
|
|
"@typescript-eslint/parser": "^5.26.0",
|
|
|
|
"concurrently": "^7.2.1",
|
2022-05-27 13:04:54 +00:00
|
|
|
"copyfiles": "^2.4.1",
|
2022-05-27 09:00:09 +00:00
|
|
|
"eslint": "^8.10.0",
|
|
|
|
"eslint-config-airbnb": "^19.0.4",
|
|
|
|
"eslint-config-airbnb-typescript": "^17.0.0",
|
|
|
|
"eslint-config-prettier": "^8.5.0",
|
|
|
|
"eslint-import-resolver-typescript": "^2.7.1",
|
|
|
|
"eslint-plugin-import": "^2.26.0",
|
|
|
|
"eslint-plugin-jest": "^26.2.2",
|
2022-05-27 13:04:54 +00:00
|
|
|
"jest": "^28.1.0",
|
2022-05-27 09:00:09 +00:00
|
|
|
"mocha": "^8.1.3",
|
|
|
|
"module-resolver": "^1.0.0",
|
|
|
|
"nodemon": "^2.0.16",
|
|
|
|
"prettier": "^2.5.1",
|
|
|
|
"rimraf": "^3.0.2",
|
2022-06-02 08:57:42 +00:00
|
|
|
"ts-auto-mock": "^3.6.2",
|
2022-05-27 13:04:54 +00:00
|
|
|
"ts-jest": "^28.0.3",
|
2022-05-27 09:00:09 +00:00
|
|
|
"ts-node": "^9.1.1",
|
2022-06-07 08:50:51 +00:00
|
|
|
"tsconfig-paths": "^4.0.0",
|
|
|
|
"tscpaths": "^0.0.9",
|
2022-05-27 09:00:09 +00:00
|
|
|
"typescript": "^4.6.4"
|
2011-11-18 20:44:28 +00:00
|
|
|
},
|
2012-09-19 18:28:52 +00:00
|
|
|
"bundledDependencies": [],
|
2022-05-27 09:00:09 +00:00
|
|
|
"main": "haste",
|
2012-09-19 18:28:52 +00:00
|
|
|
"bin": {
|
2022-06-06 19:36:48 +00:00
|
|
|
"haste-server": "./dist/src/server.js"
|
2012-09-19 18:28:52 +00:00
|
|
|
},
|
|
|
|
"files": [
|
2022-05-27 09:00:09 +00:00
|
|
|
"src",
|
2012-09-19 18:28:52 +00:00
|
|
|
"static"
|
|
|
|
],
|
2022-06-06 19:36:48 +00:00
|
|
|
"nodemonConfig": {
|
2022-06-07 08:50:51 +00:00
|
|
|
"ignore": [
|
|
|
|
"test/**/*.test.ts",
|
|
|
|
".git",
|
|
|
|
"node_modules"
|
|
|
|
],
|
2022-06-06 19:36:48 +00:00
|
|
|
"watch": [
|
2022-06-07 10:22:45 +00:00
|
|
|
"src",
|
|
|
|
"config"
|
2022-06-06 19:36:48 +00:00
|
|
|
],
|
|
|
|
"exec": "node -r tsconfig-paths/register -r ts-node/register ./src/server.ts",
|
|
|
|
"ext": "ts, js"
|
|
|
|
},
|
2012-09-19 18:28:52 +00:00
|
|
|
"scripts": {
|
2022-05-27 13:04:54 +00:00
|
|
|
"copy:files": "copyFiles -u 1 static/**/* dist/static",
|
2022-06-06 19:36:48 +00:00
|
|
|
"remove:files": "rimraf dist",
|
|
|
|
"test:unit": "jest --config config/jest.config.js",
|
2022-06-07 09:22:50 +00:00
|
|
|
"build:typescript": "tsc --project tsconfig.json",
|
2022-06-07 08:50:51 +00:00
|
|
|
"build": "yarn remove:files && yarn copy:files && yarn build:typescript",
|
2022-06-07 09:22:50 +00:00
|
|
|
"start": "TS_NODE_BASEURL=./dist node -r tsconfig-paths/register ./dist/src/server.js",
|
2022-06-06 19:36:48 +00:00
|
|
|
"dev": "nodemon",
|
2022-05-27 09:00:09 +00:00
|
|
|
"lint": "eslint src --fix",
|
2022-06-06 17:44:11 +00:00
|
|
|
"types:check": "tsc --noEmit --pretty",
|
2022-06-08 09:26:32 +00:00
|
|
|
"pretty": "prettier --write ."
|
2012-09-27 15:38:14 +00:00
|
|
|
}
|
2011-11-18 20:44:28 +00:00
|
|
|
}
|