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
46
47
48
49
50
51
52
53
54
55
56
57
|
{
"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.12.1",
"@typescript-eslint/parser": "^5.12.1",
"eslint": "^8.9.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.5.5"
},
"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/**/*"
}
}
|