From d16cb71aa6b74358442dc38d87814c9f75662e93 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Thu, 10 Mar 2022 17:19:51 -0600 Subject: Add and run a formatter Signed-off-by: Matt Strapp --- package.json | 113 ++++++++++++++++++++++++++++++----------------------------- 1 file changed, 58 insertions(+), 55 deletions(-) (limited to 'package.json') 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 ", - "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 ", + "repository": "https: //github.com/RosstheRoss/4951w-pendulum", + "license": "MIT", + "private": true, + "pkg": { + "scripts": "dist/**/*.js", + "assets": "dist/**/*" + } } -- cgit v1.2.3