aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
blob: cc358273718145a3be1a6d4d3652ea2b0d0f513d (plain) (blame)
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
58
59
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.23",
    "@types/shell-quote": "^1.7.1",
    "@typescript-eslint/eslint-plugin": "^5.17.0",
    "@typescript-eslint/parser": "^5.17.0",
    "eslint": "^8.12.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.6.1",
    "typescript": "^4.6.3"
  },
  "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/**/*"
  }
}