-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 3.5 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "pilas-bloques-backend",
"version": "1.1.1",
"description": "Pilas bloques backend",
"main": "index.js",
"scripts": {
"build": "rm -rf dist && tsc",
"test": "npm run test:analytics && npm run test:api && npm run test:consumer:CI",
"test:api": "npm run test:api:noTimeout -- --testTimeout 5000",
"test:api:noTimeout": "DOTENV_CONFIG_PATH=./test/api/.env.test jest ./test/api --setupFiles dotenv/config --colors --testPathIgnorePatterns dist --runInBand",
"test:analytics": "jest ./test/analytics --colors --testPathIgnorePatterns dist --testTimeout 5000 --runInBand",
"test:consumer": "npm run test:consumer:CI -- -- --watch",
"test:consumer:CI": "npm run seed:consumer && npm run test:consumer:unit",
"test:consumer:unit": "DOTENV_CONFIG_PATH=./test/consumer/.env.test jest ./test/consumer --setupFiles dotenv/config --colors --testPathIgnorePatterns dist --testTimeout 5000 --runInBand",
"seed:consumer": "seed --drop-database --replace-id --set-timestamps --db-name pilas-bloques-consumer-test ./test/consumer/persistence",
"start:analytics": "node dist/analytics/index.js",
"start:api": "node dist/api/index.js",
"start:consumer": "ts-node src/consumer/index.ts",
"dev": "bash ./scripts/runBackend.sh",
"dev:analytics": "nodemon --watch 'src/analytics/**/*.ts' --ignore 'src/analytics/**/*.spec.ts' --exec 'ts-node' src/analytics/index.ts",
"dev:api": "nodemon --watch 'src/api/**/*.ts' --ignore 'src/api/**/*.spec.ts' --exec 'ts-node' src/api/index.ts",
"lint": "eslint .",
"prepackage": "rm -Rf dist && npm run build && cp -R node_modules dist/",
"package": "npm run package:api && npm run package:analytics",
"package:api": "tar -czf pilasbloques-api.tar.gz dist/node_modules dist/api dist/models dist/utils",
"package:analytics": "tar -czf pilasbloques-analytics.tar.gz dist/node_modules dist/analytics dist/models dist/utils",
"release:patch": "release patch",
"release:minor": "release minor"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Program-AR/pilas-bloques-backend.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/Program-AR/pilas-bloques-backend/issues"
},
"homepage": "https://github.com/Program-AR/pilas-bloques-backend#readme",
"devDependencies": {
"@types/cors": "^2.8.7",
"@types/express": "^4.17.7",
"@types/jest": "^29.5.12",
"@types/jsonwebtoken": "^8.5.0",
"@types/mongodb": "^3.5.26",
"@types/node": "^14.6.1",
"@types/node-fetch": "^2.5.7",
"@types/nodemailer": "^6.4.1",
"@types/sinon": "^10.0.0",
"@types/supertest": "^2.0.10",
"@typescript-eslint/eslint-plugin": "^4.0.1",
"@typescript-eslint/parser": "^4.0.1",
"eslint": "^7.8.1",
"fetch-mock": "^9.11.0",
"jest": "^29.7.0",
"mongo-seeding": "^3.7.0",
"mongo-seeding-cli": "^3.7.0",
"nodemon": "^2.0.4",
"release": "^6.3.1",
"sinon": "^10.0.0",
"supertest": "^7.0.0",
"ts-jest": "^29.1.5",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
},
"dependencies": {
"@typegoose/typegoose": "^8.3.0",
"bluebird": "^3.5.1",
"cookie-parser": "^1.4.7",
"cors": "^2.8.5",
"dotenv": "^16.0.3",
"dotenv-expand": "^9.0.0",
"express": "^4.21.1",
"jsonwebtoken": "^9.0.0",
"mongoose": "^5.13.20",
"node-fetch": "^2.6.7",
"nodemailer": "^6.6.1",
"uuid": "^9.0.0",
"yargs": "^15.4.1"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"collectCoverage": false
}
}