forked from Greenstand/treetracker-microservice-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 3.62 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
87
88
89
90
91
92
93
94
95
{
"name": "treetracker",
"version": "1.13.3",
"private": true,
"engines": {
"node": ">=18.0.0",
"npm": ">=7.0.0"
},
"main": "server/server.js",
"scripts": {
"lint": "npm run eslint",
"lint:fix": "npm run eslint:fix && npm run prettier-fix",
"eslint": "eslint --report-unused-disable-directives .",
"eslint:fix": "npm run eslint -- --fix",
"test": "npm run test-integration && npm run test-repository",
"coverage": "nyc npm run test",
"test-unit": "NODE_ENV=test mocha -r dotenv/config --env dotenv_config_path=.env.test --exit ./server/models/**/*.spec.js",
"test-repository": "NODE_ENV=test mocha -r dotenv/config --env dotenv_config_path=.env.test --exit ./server/repositories/**/*.spec.js",
"server-test": "DEBUG=express:* NODE_LOG_LEVEL=debug nodemon server/serverTest.js",
"server": "NODE_ENV=development nodemon server/server.js",
"test-integration": "NODE_ENV=test mocha -r dotenv/config --env dotenv_config_path=.env.test --exit --timeout 30000 './__tests__'",
"test-integration-working": "NODE_ENV=test mocha -r dotenv/config --env dotenv_config_path=.env.test --exit --timeout 30000 ./__tests__/${npm_config_test}.spec.js",
"test-watch": "NODE_ENV=test NODE_LOG_LEVEL=info mocha -r dotenv/config --env dotenv_config_path=.env.test --timeout 10000 -w -b --ignore './server/repositories/**/*.spec.js' './server/setup.js' './server/**/*.spec.js' './__tests__/'",
"test-watch-debug": "NODE_ENV=test NODE_LOG_LEVEL=debug mocha -r dotenv/config --env dotenv_config_path=.env.test --timeout 10000 -w -b --ignore './server/repositories/**/*.spec.js' './server/setup.js' './server/**/*.spec.js' './__tests__/'",
"prettier-fix": "prettier ./ --write",
"db-migrate-ci": "cd database; db-migrate up",
"seed-dev": "NODE_ENV=development knex seed:run",
"seed-usertest": "NODE_ENV=usertest knex seed:run"
},
"keywords": [
"ecology"
],
"author": "Greenstand Engineers",
"license": "GPL-3.0-or-later",
"dependencies": {
"@sentry/node": "^5.1.0",
"amqplib": "^0.8.0",
"aws-sdk": "^2.1599.0",
"axios": "^1.6.8",
"body-parser": "^1.18.2",
"chai-like": "^1.1.1",
"chai-things": "^0.2.0",
"cors": "^2.8.5",
"db-migrate": "^0.11.12",
"db-migrate-pg": "^1.2.2",
"dotenv": "^8.2.0",
"expect": "^26.4.2",
"expect-runtime": "^0.7.0",
"express": "^4.16.2",
"express-async-handler": "^1.1.4",
"express-validator": "^6.4.0",
"joi": "^17.2.1",
"joi-to-swagger": "^6.2.0",
"knex": "^3.1.0",
"loglevel": "^1.8.0",
"pg": "^8.7.1",
"rascal": "^12.0.1",
"swagger-ui-express": "^5.0.0",
"uuid": "^8.2.0",
"uuid-by-string": "^3.0.6"
},
"devDependencies": {
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^11.0.0",
"chai": "^4.0.0",
"chai-http": "^4.3.0",
"database-cleaner": "^1.3.0",
"eslint": "^7.11.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-config-prettier": "^6.13.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.2.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"husky": "^4.3.5",
"mocha": "^10.4.0",
"mock-knex": "^0.4.10",
"nodemon": "^2.0.4",
"nyc": "^15.1.0",
"prettier": "^2.1.2",
"sinon": "^9.0.3",
"sinon-chai": "^3.7.0",
"supertest": "^4.0.2"
},
"directories": {
"doc": "docs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Greenstand/treetracker-field-data.git"
},
"bugs": {
"url": "https://github.com/Greenstand/treetracker-field-data/issues"
},
"homepage": "https://github.com/Greenstand/treetracker-field-data#readme"
}