2021-12-28 21:11:19 +01:00
|
|
|
{
|
|
|
|
"name": "poll-horse",
|
2022-06-30 19:26:10 +02:00
|
|
|
"version": "1.3.3",
|
2021-12-28 21:11:19 +01:00
|
|
|
"description": "Make polls to vote on easily",
|
|
|
|
"main": "dist/main.js",
|
|
|
|
"types": "dist/main.d.ts",
|
|
|
|
"scripts": {
|
2022-01-06 21:28:32 +01:00
|
|
|
"find-todo": "node utils/todo-finder.js ./src && node utils/todo-finder.js ./frontend",
|
2021-12-28 21:11:19 +01:00
|
|
|
"mocha": "mocha",
|
|
|
|
"lint": "eslint .",
|
2022-02-04 22:10:58 +01:00
|
|
|
"build:release-zip": "node utils/create-release-zip",
|
|
|
|
"build:release": "npm test && npm run build && npm run build:release-zip",
|
2022-02-02 21:42:18 +01:00
|
|
|
"build:favicons": "node utils/create-favicons",
|
|
|
|
"build": "rimraf ./dist && npm run build:favicons && tsc",
|
2021-12-28 21:11:19 +01:00
|
|
|
"test": "npm run lint && npm run find-todo && npm run mocha",
|
2022-01-06 14:33:12 +01:00
|
|
|
"debug": "ts-node-dev --inspect --respawn --clear ./src/main.ts",
|
2022-01-08 17:43:08 +01:00
|
|
|
"start:build": "npm test && npm run build && node ./dist/main.js",
|
|
|
|
"start": "node ./dist/main.js",
|
2022-01-30 19:31:53 +01:00
|
|
|
"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 --mysql-table-prefix env:MYSQL_TABLE_PREFIX",
|
2021-12-28 21:11:19 +01:00
|
|
|
"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": [
|
2022-01-06 21:28:32 +01:00
|
|
|
"/dist",
|
|
|
|
"/frontend"
|
2021-12-28 21:11:19 +01:00
|
|
|
],
|
|
|
|
"homepage": "https://github.com/Wolvan/poll.horse#readme",
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/chai": "^4.2.22",
|
|
|
|
"@types/chai-as-promised": "^7.1.4",
|
2021-12-28 23:47:30 +01:00
|
|
|
"@types/compression": "^1.7.2",
|
2021-12-29 01:02:18 +01:00
|
|
|
"@types/cookie-parser": "^1.4.2",
|
2021-12-28 23:47:30 +01:00
|
|
|
"@types/express": "^4.17.13",
|
2021-12-28 21:11:19 +01:00
|
|
|
"@types/fs-extra": "^9.0.13",
|
|
|
|
"@types/mocha": "^9.0.0",
|
|
|
|
"@types/node": "^16.11.10",
|
2021-12-29 18:21:22 +01:00
|
|
|
"@types/node-fetch": "^2.5.12",
|
2021-12-29 01:02:18 +01:00
|
|
|
"@types/node-persist": "^3.1.2",
|
2022-02-02 21:42:18 +01:00
|
|
|
"@types/serve-favicon": "^2.5.3",
|
2021-12-28 21:11:19 +01:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
|
|
|
"@typescript-eslint/parser": "^5.4.0",
|
2022-02-04 22:10:58 +01:00
|
|
|
"archiver": "^5.3.0",
|
2021-12-28 21:11:19 +01:00
|
|
|
"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",
|
2022-02-04 21:57:16 +01:00
|
|
|
"favicons": "^6.2.2",
|
2021-12-28 21:11:19 +01:00
|
|
|
"klaw": "^4.0.1",
|
|
|
|
"mocha": "^9.1.3",
|
|
|
|
"rimraf": "^3.0.2",
|
2022-01-06 21:28:32 +01:00
|
|
|
"ts-node": "^10.4.0",
|
2022-01-06 14:33:12 +01:00
|
|
|
"ts-node-dev": "^1.1.8",
|
2021-12-28 21:11:19 +01:00
|
|
|
"typescript": "^4.5.2"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-12-28 23:47:30 +01:00
|
|
|
"commander": "^8.3.0",
|
|
|
|
"compression": "^1.7.4",
|
2021-12-29 01:02:18 +01:00
|
|
|
"cookie-parser": "^1.4.6",
|
|
|
|
"express": "^4.17.2",
|
2022-01-08 18:03:23 +01:00
|
|
|
"fs-extra": "^10.0.0",
|
2022-01-30 16:59:11 +01:00
|
|
|
"helmet": "^5.0.2",
|
2022-01-08 14:32:25 +01:00
|
|
|
"mysql2": "^2.3.3",
|
2021-12-29 18:21:22 +01:00
|
|
|
"node-fetch": "^2.6.6",
|
2022-02-02 21:42:18 +01:00
|
|
|
"node-persist": "^3.1.0",
|
|
|
|
"serve-favicon": "^2.5.0"
|
2021-12-28 21:11:19 +01:00
|
|
|
}
|
|
|
|
}
|