poll.horse/package.json

74 lines
2.2 KiB
JSON
Raw Permalink Normal View History

{
"name": "poll-horse",
2022-01-29 22:27:47 +01:00
"version": "1.0.4",
"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",
"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": [
2022-01-06 21:28:32 +01:00
"/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",
2022-01-06 21:28:32 +01:00
"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",
2022-01-08 18:03:23 +01:00
"fs-extra": "^10.0.0",
"mysql2": "^2.3.3",
"node-fetch": "^2.6.6",
"node-persist": "^3.1.0"
}
}