monkeytype/package.json
Jack cf8d258400
Quote submission (#1984)
* added new-quotes get and add routes

* added new-quotes/approve route to api

* Added front-end for quote submission

* fix language typo, force lowercase language

* Check for duplicate quote

* added unknown language handling to quote-submit

* npm i

* npm i

* language dropdown instead of input field

* mouse down instead click

* styling changes

* moved quotemod check to the controller,
added refuse endpoint,
added ability to approve and edit

* limiting quotes

* added log to quote approve

* added approve quotes button

* typo

* using the correct function, lowered limit

* added quote approve popup

* getting quotes and showing them

* error checking

* error checking

* removed console log

* stylng changes,
added refresh list button

* added disabled class

* styling changes

* handling button clicks
showing langauge and timestamp

* check if user is a quote mod

* approve button handling

* handling quote edit

* showing short quotes in red

* post, not get

* not parsing quote id to int

* parsing to objectid

* updated styling

* fixed lint warnings

* fixed up new quotes dao

* showing loader

* calling function correctly

* typo fix

* fixed wrong path,
fix broken newid,
saving file when file exists,
searching for the quote correctly when attempting to delete

* showing message

* blocking buttons and inputs when waiting for response,
unlocking after response

* deleted workflow

Co-authored-by: lukew3 <lukew25073@gmail.com>
2021-10-10 22:46:35 +01:00

76 lines
2.2 KiB
JSON

{
"name": "monkeytype",
"version": "1.5.6",
"license": "GPL-3.0",
"private": true,
"scripts": {
"build": "npx gulp build",
"start:dev": "npm run build && concurrently --kill-others \"npx gulp watch\" \"nodemon --watch ./backend ./backend/server.js\" \"firebase serve --only hosting\"",
"start:dev:nodb": "npm run build && concurrently --kill-others \"npx gulp watch\" \"firebase serve --only hosting\"",
"deploy:live": "npm run build && firebase deploy -P live --only hosting"
},
"engines": {
"node": "14.17.3",
"npm": "7.19.1"
},
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"babel-eslint": "^10.1.0",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"concurrently": "^5.3.0",
"dart-sass": "^1.25.0",
"del": "^6.0.0",
"eslint": "^7.28.0",
"eslint-config-standard": "^16.0.3",
"eslint-formatter-github": "^1.0.11",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"gulp": "^4.0.2",
"gulp-concat": "^2.6.1",
"gulp-eslint": "^6.0.0",
"gulp-sass": "^5.0.0",
"husky": "^4.3.0",
"prettier": "2.1.2",
"pretty-quick": "^3.1.0",
"vinyl-buffer": "^1.0.1",
"vinyl-paths": "^3.0.1",
"vinyl-source-stream": "^2.0.0"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"dependencies": {
"@babel/runtime": "^7.12.5",
"axios": "^0.21.2",
"chart.js": "^2.9.4",
"chartjs-plugin-annotation": "^0.5.7",
"chartjs-plugin-trendline": "^0.2.2",
"cors": "^2.8.5",
"cron": "^1.8.2",
"dom-to-image": "^2.6.0",
"dotenv": "^10.0.0",
"express": "^4.17.1",
"express-rate-limit": "^5.3.0",
"firebase-admin": "^9.11.0",
"helmet": "^4.6.0",
"howler": "^2.2.1",
"moment-timezone": "^0.5.33",
"mongodb": "^3.6.9",
"node-fetch": "^2.6.1",
"nodemon": "^2.0.7",
"object-hash": "^2.2.0",
"path": "^0.12.7",
"simple-git": "^2.45.1",
"string-similarity": "^4.0.4",
"tinycolor2": "^1.4.2",
"ua-parser-js": "^0.7.28",
"uuid": "^8.3.2"
}
}