mirror of
https://github.com/Wolvan/poll.horse.git
synced 2024-11-24 21:57:59 +01:00
afc7bbad01
Using the `helmet` package, a certain set of security critical headers are set to prevent XSS attacks and the like.
74 lines
2.2 KiB
JSON
74 lines
2.2 KiB
JSON
{
|
|
"name": "poll-horse",
|
|
"version": "1.0.4",
|
|
"description": "Make polls to vote on easily",
|
|
"main": "dist/main.js",
|
|
"types": "dist/main.d.ts",
|
|
"scripts": {
|
|
"find-todo": "node utils/todo-finder.js ./src && node utils/todo-finder.js ./frontend",
|
|
"mocha": "mocha",
|
|
"lint": "eslint .",
|
|
"build": "rimraf ./dist && tsc",
|
|
"test": "npm run lint && npm run find-todo && npm run mocha",
|
|
"debug": "ts-node-dev --inspect --respawn --clear ./src/main.ts",
|
|
"start:build": "npm test && npm run build && node ./dist/main.js",
|
|
"start": "node ./dist/main.js",
|
|
"heroku": "npm run start -- --port env:PORT --use-mysql --mysql-host env:MYSQL_HOST --mysql-port env:MYSQL_PORT --mysql-user env:MYSQL_USER --mysql-password env:MYSQL_PASSWORD --mysql-database env:MYSQL_DATABASE",
|
|
"prepublish": "npm test && npm run build"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://Wolvan@github.com/Wolvan/poll.horse.git"
|
|
},
|
|
"keywords": [
|
|
"voting",
|
|
"polls",
|
|
"democracy"
|
|
],
|
|
"author": "Wolvan",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/Wolvan/poll.horse/issues"
|
|
},
|
|
"files": [
|
|
"/dist",
|
|
"/frontend"
|
|
],
|
|
"homepage": "https://github.com/Wolvan/poll.horse#readme",
|
|
"devDependencies": {
|
|
"@types/chai": "^4.2.22",
|
|
"@types/chai-as-promised": "^7.1.4",
|
|
"@types/compression": "^1.7.2",
|
|
"@types/cookie-parser": "^1.4.2",
|
|
"@types/express": "^4.17.13",
|
|
"@types/fs-extra": "^9.0.13",
|
|
"@types/mocha": "^9.0.0",
|
|
"@types/node": "^16.11.10",
|
|
"@types/node-fetch": "^2.5.12",
|
|
"@types/node-persist": "^3.1.2",
|
|
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
|
"@typescript-eslint/parser": "^5.4.0",
|
|
"chai": "^4.3.4",
|
|
"chai-as-promised": "^7.1.1",
|
|
"eslint": "^8.3.0",
|
|
"eslint-plugin-chai-expect": "^3.0.0",
|
|
"eslint-plugin-mocha": "^9.0.0",
|
|
"klaw": "^4.0.1",
|
|
"mocha": "^9.1.3",
|
|
"rimraf": "^3.0.2",
|
|
"ts-node": "^10.4.0",
|
|
"ts-node-dev": "^1.1.8",
|
|
"typescript": "^4.5.2"
|
|
},
|
|
"dependencies": {
|
|
"commander": "^8.3.0",
|
|
"compression": "^1.7.4",
|
|
"cookie-parser": "^1.4.6",
|
|
"express": "^4.17.2",
|
|
"fs-extra": "^10.0.0",
|
|
"helmet": "^5.0.2",
|
|
"mysql2": "^2.3.3",
|
|
"node-fetch": "^2.6.6",
|
|
"node-persist": "^3.1.0"
|
|
}
|
|
}
|