-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 1.82 KB
/
package.json
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
{
"name": "objection-knex",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"down": "knex --knexfile ./src/db/knexfile.js --esm migrate:down",
"rollback": "knex --knexfile ./src/db/knexfile.js --esm migrate:rollback",
"migrate": "knex --knexfile ./src/db/knexfile.js --esm migrate:latest",
"seed": "knex --knexfile ./src/db/knexfile.js --esm seed:run",
"nodemon": "nodemon --exec babel-node ./src",
"dev": "npm run nodemon",
"start:dev": "npm run migrate && npm run seed && npm run nodemon",
"clean": "rm -rf ./dist",
"build:babel": "babel ./src --out-dir dist --copy-files --source-maps",
"build": "npm run clean && npm run build:babel",
"start": "npm run build && node ./dist",
"down:prod": "knex --knexfile ./dist/db/knexfile.js --esm migrate:down",
"rollback:prod": "knex --knexfile ./dist/db/knexfile.js --esm migrate:rollback",
"migrate:prod": "knex --knexfile ./dist/db/knexfile.js --esm migrate:latest",
"seed:prod": "knex --knexfile ./dist/db/knexfile.js --esm seed:run",
"start:prod": "node ./dist"
},
"keywords": [],
"author": "Mugilan <mugilancodes@gmail.com>",
"license": "ISC",
"dependencies": {
"@babel/runtime": "^7.14.0",
"bcryptjs": "^2.4.3",
"compression": "^1.7.4",
"connect-redis": "^6.0.0",
"cors": "^2.8.5",
"express": "^4.17.1",
"express-rate-limit": "^5.2.6",
"express-session": "^1.17.2",
"helmet": "^4.6.0",
"knex": "^0.21.19",
"morgan": "^1.10.0",
"mysql2": "^2.2.5",
"objection": "^2.2.15",
"redis": "^3.1.2",
"winston": "^3.3.3"
},
"devDependencies": {
"@babel/cli": "^7.14.3",
"@babel/core": "^7.14.3",
"@babel/node": "^7.14.2",
"@babel/plugin-transform-runtime": "^7.14.3",
"@babel/preset-env": "^7.14.4",
"nodemon": "^2.0.7"
}
}