-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 2.26 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
53
54
{
"name": "node-sequelize",
"version": "0.0.0",
"private": true,
"scripts": {
"start": "nodemon ./bin/www",
"db:create": "npx sequelize-cli db:create",
"migrate": "npx sequelize-cli db:migrate",
"migrate:reset": "npx sequelize-cli db:migrate:undo:all && npm run migrate",
"seed": "npx sequelize-cli db:seed:all",
"seed:reset": "npx sequelize-cli db:seed:undo && npm run seed",
"db:drop": "npx sequelize-cli db:drop",
"start:test": "cross-env NODE_ENV=test nodemon ./bin/www",
"db:create:test": "cross-env NODE_ENV=test npx sequelize-cli db:create",
"migrate:test": "cross-env NODE_ENV=test npx sequelize-cli db:migrate",
"migrate:reset:test": "npx sequelize-cli db:migrate:undo:all && npm run migrate",
"seed:test": "cross-env NODE_ENV=test npx sequelize-cli db:seed:all",
"seed:reset:test": "cross-env NODE_ENV=test npx sequelize-cli db:seed:undo && npm run seed",
"db:drop:test": "cross-env NODE_ENV=test npx sequelize-cli db:drop",
"pretest": "cross-env NODE_ENV=test npm run db:drop:test && npm run db:create:test && npm run migrate:test && npm run seed:test",
"test": "cross-env NODE_ENV=test jest --testTimeout=10000",
"posttest": "cross-env NODE_ENV=test npm run db:drop:test",
"db:create:ci": "cross-env NODE_ENV=ci npx sequelize-cli db:create",
"migrate:ci": "cross-env NODE_ENV=ci npx sequelize-cli db:migrate",
"seed:ci": "cross-env NODE_ENV=ci npx sequelize-cli db:seed:all",
"test:ci": "npm run db:create:ci && npm run migrate:ci && npm run seed:ci && cross-env NODE_ENV=ci jest --testTimeout=10000"
},
"dependencies": {
"cookie-parser": "~1.4.4",
"cross-env": "^7.0.3",
"debug": "~4.3.4",
"ejs": "~3.1.8",
"express": "~4.18.1",
"http-errors": "~2.0.0",
"jest": "^28.1.0",
"jest-snapshot": "^29.5.0",
"morgan": "~1.10.0",
"pg": "^8.7.3",
"pg-hstore": "^2.3.4",
"sequelize": "^6.32.0",
"sequelize-cli": "^6.6.1",
"supertest": "^6.3.3",
"ts-node": "^10.8.0",
"typescript": "^5.1.3"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.59.11",
"@typescript-eslint/parser": "^5.27.0",
"audit-ci": "^6.6.1",
"eslint": "^8.44.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.26.0"
}
}