forked from Greenstand/treetracker-query-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
97 lines (97 loc) · 3.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
{
"name": "treetracker-query-api",
"version": "1.35.0",
"private": false,
"keywords": [
"ecology"
],
"homepage": "https://github.com/Greenstand/treetracker-query-api#readme",
"bugs": {
"url": "https://github.com/Greenstand/treetracker-query-api/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Greenstand/treetracker-query-api"
},
"license": "GPL-3.0-or-later",
"author": "Greenstand Engineers",
"main": "server/server.js",
"directories": {
"doc": "docs"
},
"scripts": {
"build": "tsc -p tsconfig.build.json",
"db-migrate-ci": "cd database; db-migrate up",
"dev": "nodemon --watch 'server/**' --ext 'ts,json' --ignore 'server/**/*.spec.ts' --exec \"npm run start:dev\"",
"format": "prettier ./ --write",
"lint": "eslint . --cache",
"lint:fix": "eslint . --cache --fix",
"mock-server": "prism mock ./docs/api/spec/query-api.yaml",
"prepare": "husky install",
"server-test": "DEBUG=express:* NODE_LOG_LEVEL=debug nodemon server/serverTest.js",
"start": "NODE_TLS_REJECT_UNAUTHORIZED='0' NODE_PATH=dist/ node dist/server.js",
"start:dev": "NODE_PATH=server/ ts-node -r dotenv/config --project tsconfig.build.json server/server.ts",
"test": "npm run test-unit; npm run test-integration;npm run test-repository",
"test-e2e": "jest ./__tests__/e2e/",
"test-integration": "NODE_ENV=test mocha -r dotenv/config dotenv_config_path=.env.test --exit --timeout 20000 './__tests__/supertest.js'",
"test-repository": "jest ./server/infra/database/",
"test-seedDB": "NODE_ENV=test mocha -r dotenv/config dotenv_config_path=.env.test --timeout 10000 './**/*.spec.js'",
"test-unit": "jest ./server/models/",
"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 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'"
},
"dependencies": {
"@sentry/node": "^5.1.0",
"body-parser": "^1.18.2",
"cors": "^2.8.5",
"dotenv": "^10.0.0",
"expect-runtime": "^0.7.0",
"express": "^4.16.2",
"express-async-handler": "^1.1.4",
"express-validator": "^6.4.0",
"joi": "^17.5.0",
"knex": "^0.95.14",
"loglevel": "^1.6.8",
"pg": "^8.7.1",
"rascal": "^14.4.0",
"uuid": "^8.2.0"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@swc/core": "^1.2.133",
"@swc/jest": "^0.2.17",
"@types/express": "^4.17.13",
"@types/jest": "^27.0.3",
"@types/mock-knex": "^0.4.3",
"@types/node": "^16.11.6",
"@types/rascal": "^10.0.4",
"@types/supertest": "^2.0.11",
"@types/uuid": "^8.3.1",
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"db-migrate": "^0.11.12",
"db-migrate-pg": "^1.2.2",
"eslint": "^8.7.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^16.1.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.4",
"husky": "^7.0.4",
"is-ci": "^3.0.1",
"jest": "^27.4.7",
"lint-staged": "^11.2.6",
"mock-knex": "^0.4.10",
"node-cipher": "^5.0.1",
"nodemon": "^2.0.14",
"prettier": "^2.5.1",
"prettier-plugin-packagejson": "^2.2.15",
"supertest": "^4.0.2",
"ts-node": "^10.4.0",
"typescript": "^4.4.4"
},
"engines": {
"node": "^16",
"npm": ">=6.0.0"
}
}