chore(release): 0.4.0
[risinglegends.git] / package.json
index d059682fb77e1f7141aff0b05ce4bdbd58d58151..7c8a2eb1603d6c620f7fea880492835be3411d44 100644 (file)
@@ -1,19 +1,21 @@
 {
   "name": "rising-legends",
   "private": true,
-  "version": "0.1.0",
+  "version": "0.4.0",
   "scripts": {
     "up": "npx prisma migrate dev --name \"init\"",
     "start": "pm2 start dist/server/api.js",
-    "build": "npx webpack && npx tsc",
+    "build:prod": "npx tsc",
+    "postbuild:prod": "cp -R public dist/",
     "migrate": "npx ts-node ./node_modules/knex/bin/cli.js migrate:latest",
-    "migrate:prod": "NODE_ENV=production npx ts-node ./node_modules/knex/bin/cli.js migrate:up",
+    "migrate:prod": "NODE_ENV=production npx ts-node ./node_modules/knex/bin/cli.js migrate:latest",
     "seed": "npx ts-node ./node_modules/knex/bin/cli.js seed:run",
     "seed:prod": "NODE_ENV=production npm run seed",
     "dev:client": "npx webpack -w",
-    "dev:server": "npx nodemon src/server/api.ts",
+    "dev": "npx nodemon src/server/api.ts",
     "prepare": "husky install",
-    "release": "npx standard-version",
+    "release": "npx standard-version && npm run copy-changelog",
+    "copy-changelog": "cp ./CHANGELOG.md ~/repos/xangelo.ca/static/",
     "release:minor": "npx standard-version --release-as minor",
     "release:patch": "npx standard-version --release-as patch",
     "release:major": "npx standard-version --release-as major"
     "@types/bcrypt": "^5.0.0",
     "@types/body-parser": "^1.19.2",
     "@types/express": "^4.17.17",
+    "@types/jest": "^29.5.3",
+    "@types/jquery": "^3.5.16",
+    "@types/lodash": "^4.14.195",
+    "@types/marked": "^5.0.1",
     "husky": "^8.0.0",
+    "jest": "^29.6.2",
+    "jquery": "^3.7.0",
+    "marked": "^9.0.0",
     "nodemon": "^2.0.20",
-    "prisma": "^4.11.0",
     "standard-version": "^9.5.0",
+    "ts-jest": "^29.1.1",
     "ts-loader": "^9.4.3",
     "ts-node": "^10.9.1",
     "tsconfig-paths": "^3.14.2",
   "dependencies": {
     "@honeycombio/opentelemetry-node": "^0.4.0",
     "@opentelemetry/auto-instrumentations-node": "^0.37.0",
-    "@prisma/client": "^4.11.0",
     "@sinclair/typebox": "^0.25.24",
-    "@types/jquery": "^3.5.16",
-    "@types/lodash": "^4.14.195",
     "@types/uuid": "^9.0.1",
-    "@widgetbot/embed-api": "^1.2.9",
     "airtable": "^0.12.1",
     "bcrypt": "^5.1.0",
     "body-parser": "^1.20.2",
     "csv-parse": "^5.4.0",
     "dotenv": "^16.0.3",
     "express": "^4.18.2",
+    "express-rate-limit": "^6.9.0",
     "ioredis": "^5.3.2",
-    "jquery": "^3.7.0",
     "knex": "^2.4.2",
     "lodash": "^4.17.21",
     "pg": "^8.11.0",
     "socket.io-client": "^4.6.1",
     "uuid": "^9.0.0",
     "webpack": "^5.84.1",
-    "webpack-cli": "^5.1.1"
+    "webpack-cli": "^5.1.1",
+    "xss": "^1.0.14"
   },
   "nodemonConfig": {
     "ignore": [
       "src/client/**",
       "**/client.ts",
       "public/**",
-      "**.test.ts"
+      "**.test.ts",
+      "migrations/**"
     ]
   },
   "volta": {