You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

65 lines
1.8 KiB

{
"name": "koa3-demo",
"module": "index.js",
"version": "0.0.1-alpha",
"type": "module",
"scripts": {
"dev": "bun --hot src/main.js",
"start": "cross-env NODE_ENV=production bun run src/main.js",
"build": "vite build",
"migrate:make": "npx knex migrate:make ",
"migrate": "npx knex migrate:latest",
"seed:make": "npx knex seed:make ",
"seed": "npx knex seed:run ",
"dev:init": "bun run scripts/init.js",
"init": "cross-env NODE_ENV=production bun run scripts/init.js",
"test:env": "bun run scripts/test-env-validation.js",
"test": "bun test",
"test:db": "bun test tests/db",
"test:db:run": "bun run scripts/run-db-tests.js",
"test:db:benchmark": "bun run scripts/db-benchmark.js"
},
"devDependencies": {
"@types/bun": "latest",
"@types/node": "^24.0.1",
"cross-env": "^10.0.0",
"module-alias": "^2.2.3",
"node-gyp": "^11.4.2",
"vite": "^7.0.0",
"vite-plugin-static-copy": "^3.1.0"
},
"dependencies": {
"@koa/etag": "^5.0.1",
"bcryptjs": "^3.0.2",
"consolidate": "^1.0.4",
"formidable": "^3.5.4",
"get-paths": "^0.0.7",
"image-thumbnail": "^1.0.17",
"jsonwebtoken": "^9.0.0",
"knex": "^3.1.0",
"koa": "^3.0.0",
"koa-bodyparser": "^4.4.1",
"koa-conditional-get": "^3.0.0",
"koa-session": "^7.0.2",
"lodash": "^4.17.21",
"log4js": "^6.9.1",
"marked": "^16.2.1",
"minimatch": "^9.0.0",
"node-cron": "^4.1.0",
"path-to-regexp": "^8.2.0",
"pretty": "^2.0.0",
"pug": "^3.0.3",
"sqlite3": "^5.1.7",
"svg-captcha": "^1.4.0"
},
"_moduleAliases": {
"@": "./src",
"config": "./src/config",
"db": "./src/db",
"utils": "./src/utils",
"services": "./src/services"
},
"peerDependencies": {
"typescript": "^5.0.0"
}
}