74 lines
1.9 KiB
JSON
74 lines
1.9 KiB
JSON
{
|
|
"name": "haste",
|
|
"version": "0.2.0",
|
|
"private": true,
|
|
"description": "Modern Self Destructing Pastebin Server with KeyDB support",
|
|
"keywords": [
|
|
"paste",
|
|
"pastebin",
|
|
"code sharing"
|
|
],
|
|
"author": {
|
|
"name": "Colin_",
|
|
"email": "hastebin@c.nixc.us",
|
|
"url": "https://colinknapp.com/"
|
|
},
|
|
"contributors": [
|
|
{
|
|
"name": "Hastebin",
|
|
"url": "https://git.nixc.us/Nixius/hastebin"
|
|
}
|
|
],
|
|
"main": "server.js",
|
|
"dependencies": {
|
|
"connect-ratelimit": "0.0.7",
|
|
"connect-route": "0.1.5",
|
|
"connect": "^3.7.0",
|
|
"st": "^2.0.0",
|
|
"winston": "^3.8.2",
|
|
"redis-url": "0.1.0",
|
|
"redis": "^4.6.6",
|
|
"uglify-js": "^3.17.4",
|
|
"busboy": "^1.6.0",
|
|
"pg": "^8.11.0"
|
|
},
|
|
"devDependencies": {
|
|
"mocha": "^10.2.0"
|
|
},
|
|
"bundledDependencies": [],
|
|
"engines": {
|
|
"node": ">=18",
|
|
"npm": ">=9"
|
|
},
|
|
"bin": {
|
|
"haste-server": "./server.js"
|
|
},
|
|
"files": [
|
|
"server.js",
|
|
"lib",
|
|
"static"
|
|
],
|
|
"directories": {
|
|
"lib": "./lib"
|
|
},
|
|
"scripts": {
|
|
"start": "node server.js",
|
|
"start:file": "NODE_ENV=development HASTEBIN_STORAGE_TYPE=file node server.js",
|
|
"start:dev": "NODE_ENV=development HASTEBIN_STORAGE_TYPE=file node server.js",
|
|
"test": "mocha --recursive",
|
|
"test:core": "mocha test/core/core_functionality_spec.js",
|
|
"test:security": "node test/security/security_spec.js --test=basic,csp,noCsp,cors,hsts,devMode,devBypass,combinedSecurity",
|
|
"test:all": "npm run test && npm run test:security",
|
|
"test:security:bash": "./test/security/security_shell_spec.sh",
|
|
"test:security:csp": "node test/security/security_spec.js --test=csp",
|
|
"test:security:cors": "node test/security/security_spec.js --test=cors",
|
|
"test:security:combined": "node test/security/security_spec.js --test=combinedSecurity",
|
|
"build": "node update-js.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.nixc.us/Nixius/hastebin"
|
|
},
|
|
"license": "AGPL-3.0-only"
|
|
}
|