-
Notifications
You must be signed in to change notification settings - Fork 53
/
package.json
105 lines (105 loc) · 4.75 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
96
97
98
99
100
101
102
103
104
105
{
"name": "treetracker",
"version": "1.40.4",
"description": "https://documenter.getpostman.com/view/10112806/SWTD8H5x?version=latest",
"private": true,
"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-unit-ci && npm run test-integration-ci && npm run test-repository",
"coverage": "nyc npm run test",
"test-unit": "NODE_ENV=test DOTENV_CONFIG_PATH=.env.test mocha -r dotenv/config --exit --ignore './server/repositories/**/*.spec.js' './server/setup.js' './server/**/*.spec.js'",
"test-unit-ci": "NODE_ENV=test DOTENV_CONFIG_PATH=.env.ci mocha -r dotenv/config --exit --ignore './server/repositories/**/*.spec.js' './server/setup.js' './server/**/*.spec.js'",
"test-repository": "NODE_ENV=test DOTENV_CONFIG_PATH=.env.test mocha -r dotenv/config --exit ./server/repositories/**/*.spec.js",
"server-test": "npm run test-seed and npm run server",
"server": "NODE_ENV=development nodemon server/server.js",
"server-debug": "NODE_ENV=development nodemon --inspect=9229 server/server.js",
"test-seed": "NODE_ENV=test DOTENV_CONFIG_PATH=.env.test mocha -r dotenv/config --timeout 10000 './__tests__/seed.spec.js'",
"test-seed-ci": "NODE_ENV=test DOTENV_CONFIG_PATH=.env.ci mocha -r dotenv/config --timeout 10000 './__tests__/seed.spec.js'",
"test-integration": "NODE_ENV=test DOTENV_CONFIG_PATH=.env.test mocha -r dotenv/config --exit --timeout 20000 './__tests__/*.spec.js' './__tests__/integration/*.spec.js'",
"test-integration-ci": "NODE_ENV=test DOTENV_CONFIG_PATH=.env.ci mocha -r dotenv/config --exit --timeout 20000 --parallel=false './__tests__/*.spec.js' './__tests__/integration/*.spec.js'",
"test-watch": "NODE_ENV=test NODE_LOG_LEVEL=info mocha -r dotenv/config 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 DOTENV_CONFIG_PATH=.env.test mocha -r dotenv/config --timeout 10000 -w -b --ignore './server/repositories/**/*.spec.js' './server/setup.js' './server/**/*.spec.js' './__tests__/seed.spec.js' './__tests__/**/*.spec.js'",
"test-e2e": "NODE_TLS_REJECT_UNAUTHORIZED='0' mocha --config ./__tests__/e2e/.mocharc.js",
"test-e2e-locally": "RUN_E2E_LOCALLY=true DB_SSL=false NODE_ENV=test NODE_LOG_LEVEL=debug NODE_TLS_REJECT_UNAUTHORIZED='0' mocha --config ./__tests__/e2e/.mocharc.js ./server/setup.js",
"prettier-fix": "prettier ./ --write",
"db-migrate-ci": "cd database; db-migrate up",
"start-db": "docker-compose up"
},
"keywords": [
"ecology"
],
"author": "Greenstand Engineers",
"license": "GPL-3.0-or-later",
"dependencies": {
"@aws-sdk/client-s3": "^3.556.0",
"@sentry/node": "^5.1.0",
"axios": "^1.5.1",
"bcryptjs": "^2.4.3",
"chai-uuid": "^1.0.6",
"cors": "^2.8.5",
"csvtojson": "^2.0.10",
"dotenv": "^8.2.0",
"expect": "^26.4.2",
"expect-runtime": "^0.7.0",
"express": "^4.16.2",
"express-async-handler": "^1.1.4",
"express-bearer-token": "^2.1.1",
"express-validator": "^6.4.0",
"joi": "^17.2.1",
"jsonwebtoken": "8.1.0",
"knex": "^0.21.5",
"loglevel": "^1.6.8",
"morgan": "^1.9.1",
"multer": "^1.4.5-lts.1",
"nodemon": "^2.0.4",
"pg": "^8.5.1",
"uuid": "^8.2.0"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"assert": "1.5.0",
"chai": "^4.0.0",
"chai-as-promised": "^7.1.1",
"chai-http": "^4.3.0",
"database-cleaner": "^1.3.0",
"db-migrate": "^0.11.12",
"db-migrate-pg": "^1.2.2",
"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",
"faker": "^5.3.1",
"generate-password": "^1.6.0",
"http-status-codes": "1.4.0",
"husky": "^3.1.0",
"mocha": "^10.1.0",
"mock-knex": "^0.4.9",
"nyc": "^15.1.0",
"prettier": "^2.1.2",
"set-cookie-parser": "2.4.6",
"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-wallet-api.git"
},
"bugs": {
"url": "https://github.com/Greenstand/treetracker-wallet-api/issues"
},
"homepage": "https://github.com/Greenstand/treetracker-wallet-api#readme",
"engines": {
"node": ">= 16"
}
}