mirror of
https://github.com/Wolvan/poll.horse.git
synced 2024-11-21 20:47:59 +01:00
81 lines
2.6 KiB
JSON
81 lines
2.6 KiB
JSON
{
|
|
"name": "poll-horse",
|
|
"version": "1.3.3",
|
|
"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:release-zip": "node utils/create-release-zip",
|
|
"build:release": "npm test && npm run build && npm run build:release-zip",
|
|
"build:favicons": "node utils/create-favicons",
|
|
"build": "rimraf ./dist && npm run build:favicons && 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 --mysql-table-prefix env:MYSQL_TABLE_PREFIX",
|
|
"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",
|
|
"@types/serve-favicon": "^2.5.3",
|
|
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
|
"@typescript-eslint/parser": "^5.4.0",
|
|
"archiver": "^5.3.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",
|
|
"favicons": "^6.2.2",
|
|
"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",
|
|
"serve-favicon": "^2.5.0"
|
|
}
|
|
}
|