aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2022-03-10 17:19:51 -0600
committerMatt Strapp <matt@mattstrapp.net>2022-03-10 17:19:51 -0600
commitd16cb71aa6b74358442dc38d87814c9f75662e93 (patch)
tree97968a863d0b43b1f88de25720ec26870f2df72a /package.json
parentBump @typescript-eslint/parser from 5.13.0 to 5.14.0 (#23) (diff)
downloadee4511w-web-d16cb71aa6b74358442dc38d87814c9f75662e93.tar
ee4511w-web-d16cb71aa6b74358442dc38d87814c9f75662e93.tar.gz
ee4511w-web-d16cb71aa6b74358442dc38d87814c9f75662e93.tar.bz2
ee4511w-web-d16cb71aa6b74358442dc38d87814c9f75662e93.tar.lz
ee4511w-web-d16cb71aa6b74358442dc38d87814c9f75662e93.tar.xz
ee4511w-web-d16cb71aa6b74358442dc38d87814c9f75662e93.tar.zst
ee4511w-web-d16cb71aa6b74358442dc38d87814c9f75662e93.zip
Add and run a formatter
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '')
-rw-r--r--package.json113
1 files changed, 58 insertions, 55 deletions
diff --git a/package.json b/package.json
index 74b1207..0c3368b 100644
--- a/package.json
+++ b/package.json
@@ -1,57 +1,60 @@
{
- "dependencies": {
- "cookie-parser": "^1.4.6",
- "csurf": "^1.11.0",
- "ejs": "^3.1.6",
- "express": "^4.17.3",
- "express-fileupload": "^1.3.1",
- "express-rate-limit": "^6.3.0",
- "helmet": "^5.0.2",
- "shell-quote": "^1.7.3"
- },
- "devDependencies": {
- "@types/cookie-parser": "^1.4.2",
- "@types/csurf": "^1.11.2",
- "@types/express": "^4.17.13",
- "@types/express-fileupload": "^1.2.2",
- "@types/node": "^17.0.21",
- "@types/shell-quote": "^1.7.1",
- "@typescript-eslint/eslint-plugin": "^5.14.0",
- "@typescript-eslint/parser": "^5.14.0",
- "eslint": "^8.10.0",
- "eslint-config-airbnb-base": "^15.0.0",
- "eslint-plugin-import": "^2.25.4",
- "install": "^0.13.0",
- "nodemon": "^2.0.15",
- "npm-run-all": "^4.1.5",
- "pkg": "^5.5.2",
- "typescript": "^4.6.2"
- },
- "scripts": {
- "build": "npm-run-all clean tsc copy-views",
- "build:ci": "npm-run-all clean lint tsc",
- "build:pack": "npm-run-all build pack",
- "copy-views": "cp -r ./src/views ./dist/views && cp -r ./src/public ./dist/public",
- "clean": "rm -rf dist",
- "dev": "nodemon --watch ./src -e ts,ejs,css,js --exec yarn dev:start",
- "dev:start": "npm-run-all build start",
- "lint": "eslint --ext .ts,.js ./src --fix",
- "lint:ci": "eslint --ext .ts,.js ./src",
- "pack": "pkg . -t node16-linux -o pend-server",
- "start": "node dist/index.js",
- "tsc": "tsc --project ./tsconfig.json"
- },
- "name": "4951w-pendulum-webapp",
- "version": "0.1.0",
- "description": "The webapp for Professor Lamperski's Pendulum",
- "main": "dist/index.js",
- "bin": "dist/index.js",
- "author": "Matt Strapp <matt@mattstrapp.net>",
- "repository": "https: //github.com/RosstheRoss/4951w-pendulum",
- "license": "MIT",
- "private": true,
- "pkg": {
- "scripts": "dist/**/*.js",
- "assets": "dist/**/*"
- }
+ "dependencies": {
+ "cookie-parser": "^1.4.6",
+ "csurf": "^1.11.0",
+ "ejs": "^3.1.6",
+ "express": "^4.17.3",
+ "express-fileupload": "^1.3.1",
+ "express-rate-limit": "^6.3.0",
+ "helmet": "^5.0.2",
+ "shell-quote": "^1.7.3"
+ },
+ "devDependencies": {
+ "@types/cookie-parser": "^1.4.2",
+ "@types/csurf": "^1.11.2",
+ "@types/express": "^4.17.13",
+ "@types/express-fileupload": "^1.2.2",
+ "@types/node": "^17.0.21",
+ "@types/shell-quote": "^1.7.1",
+ "@typescript-eslint/eslint-plugin": "^5.14.0",
+ "@typescript-eslint/parser": "^5.14.0",
+ "eslint": "^8.10.0",
+ "eslint-config-airbnb-base": "^15.0.0",
+ "eslint-config-prettier": "^8.5.0",
+ "eslint-plugin-import": "^2.25.4",
+ "eslint-plugin-prettier": "^4.0.0",
+ "install": "^0.13.0",
+ "nodemon": "^2.0.15",
+ "npm-run-all": "^4.1.5",
+ "pkg": "^5.5.2",
+ "prettier": "^2.5.1",
+ "typescript": "^4.6.2"
+ },
+ "scripts": {
+ "build": "npm-run-all clean tsc copy-views",
+ "build:ci": "npm-run-all clean tsc",
+ "build:pack": "npm-run-all build pack",
+ "copy-views": "cp -r ./src/views ./dist/views && cp -r ./src/public ./dist/public",
+ "clean": "rm -rf dist",
+ "dev": "nodemon --watch ./src -e ts,ejs,css,js --exec yarn dev:start",
+ "dev:start": "npm-run-all build start",
+ "lint": "eslint --ext .ts,.js ./src --fix && prettier --write ./src",
+ "lint:ci": "eslint --ext .ts,.js ./src && prettier ./src --check",
+ "pack": "pkg . -t node16-linux -o pend-server",
+ "start": "node dist/index.js",
+ "tsc": "tsc --project ./tsconfig.json"
+ },
+ "name": "4951w-pendulum-webapp",
+ "version": "0.1.0",
+ "description": "The webapp for Professor Lamperski's Pendulum",
+ "main": "dist/index.js",
+ "bin": "dist/index.js",
+ "author": "Matt Strapp <matt@mattstrapp.net>",
+ "repository": "https: //github.com/RosstheRoss/4951w-pendulum",
+ "license": "MIT",
+ "private": true,
+ "pkg": {
+ "scripts": "dist/**/*.js",
+ "assets": "dist/**/*"
+ }
}