generated from Greenstand/treetracker-microservice-template
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
94 lines (94 loc) · 3.72 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
{
"name": "treetracker",
"version": "1.18.16",
"private": true,
"engines": {
"node": ">=16.0.0",
"npm": ">=6.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-unit-ci": "NODE_ENV=test mocha -r dotenv/config --env dotenv_config_path=.env.test --exit ./server/models/**/*.spec.js ./server/routes/**/*.spec.js",
"test-repository-ci": "NODE_ENV=test mocha -r dotenv/config --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-seedDB": "NODE_ENV=test mocha -r dotenv/config --env dotenv_config_path=.env.test --timeout 10000 './**/*.spec.js'",
"test-integration-ci": "NODE_ENV=test mocha -r dotenv/config --env dotenv_config_path=.env.test --exit --timeout 30000 './api-tests'",
"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__/seed.spec.js' './__tests__/supertest.js'",
"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__/seed.spec.js' './__tests__/supertest.js'",
"prettier-fix": "prettier ./ --write",
"db-migrate-ci": "cd database; db-migrate up",
"prepare": "husky install",
"db-migrate-dev": "cd database; echo \"Migrating dev\"; db-migrate --env dev up; echo \"Migrating integration\"; db-migrate --env integration up",
"seed-cli": "node ./database/seed-cli.js",
"seed-dev": "NODE_ENV=development knex seed:run",
"seed-test": "NODE_ENV=test knex seed:run"
},
"keywords": [
"ecology"
],
"author": "Greenstand Engineers",
"license": "GPL-3.0-or-later",
"dependencies": {
"@fast-csv/format": "^4.3.5",
"@sentry/node": "^5.1.0",
"aws-sdk": "^2.1004.0",
"axios": "^0.24.0",
"body-parser": "^1.18.2",
"commander": "^9.0.0",
"cors": "^2.8.5",
"csvtojson": "^2.0.10",
"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.4.2",
"jwt-decode": "^3.1.2",
"knex": "^0.95.11",
"loglevel": "^1.6.8",
"multer": "^1.4.3",
"pg": "^8.0.3",
"pg-query-stream": "^4.2.1",
"uuid": "^8.2.0"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@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": "^7.0.2",
"mocha": "^8.1.3",
"mock-knex": "^0.4.9",
"nodemon": "^2.0.4",
"prettier": "^2.1.2",
"sinon": "^9.2.4",
"sinon-chai": "^3.7.0",
"supertest": "^4.0.2"
},
"directories": {
"doc": "docs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Greenstand/treetracker-earnings.git"
},
"bugs": {
"url": "https://github.com/Greenstand/treetracker-earnings/issues"
},
"homepage": "https://github.com/Greenstand/treetracker-earnings#readme"
}