1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{
"dependencies": {
"csurf": "^1.11.0",
"ejs": "^3.1.6",
"express": "^4.17.2",
"express-rate-limit": "^6.2.0",
"express-session": "^1.17.2",
"express-slow-down": "^1.4.0",
"helmet": "^5.0.2"
},
"devDependencies": {
"@types/csurf": "^1.11.2",
"@types/express": "^4.17.13",
"@types/express-session": "^1.17.4",
"@types/express-slow-down": "^1.3.2",
"@types/node": "^17.0.16",
"@typescript-eslint/eslint-plugin": "^5.11.0",
"@typescript-eslint/parser": "^5.11.0",
"eslint": "^8.8.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",
"typescript": "^4.5.5"
},
"scripts": {
"build": "npm-run-all clean tsc copy-views",
"build:ci": "npm-run-all clean tsc",
"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 --exec yarn dev:start",
"dev:start": "npm-run-all build start",
"lint": "eslint --ext .ts,.js ./src --fix",
"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",
"author": "Matt Strapp <matt@mattstrapp.net>",
"license": "MIT",
"private": true
}
|