-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
110 lines (110 loc) · 4.02 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
106
107
108
109
110
{
"name": "edge-sync-server",
"version": "0.1.0",
"private": true,
"description": "A REST API for storing & syncing files",
"repository": "https://github.com/EdgeApp/edge-sync-server",
"license": "MIT",
"author": "Airbitz, Inc.",
"main": "lib/types.js",
"types": "lib/types.d.ts",
"bin": {
"mon.database": "./src/bin/database-mon/index.ts",
"mon.network": "./src/bin/network-mon/index.ts"
},
"files": [
"lib/*"
],
"scripts": {
"build.lib": "sucrase -q -t typescript,imports,jsx -d ./lib ./src",
"build.types": "tsc && cpr lib/src lib/ && rimraf lib/src",
"clean": "rimraf dist lib",
"fix": "npm run lint -- --fix",
"lint": "eslint .",
"mon.database": "node -r sucrase/register ./src/bin/database-mon/index.ts",
"mon.network": "node -r sucrase/register ./src/bin/network-mon/index.ts",
"precommit": "lint-staged && yarn test && yarn prepare",
"prepare": "husky install && configure && npm-run-all clean -p build.*",
"setup": "configure",
"start": "node -r sucrase/register src/index.ts",
"start.dev": "nodemon | pino-pretty",
"test": "NODE_ENV=test mocha 'test/**/*.test.ts' --timeout 20000",
"posttest": "nyc report --reporter=cobertura --reporter=html",
"test.load": "node -r sucrase/register src/bin/load-test/index.ts",
"test.load.console": "LOG_LEVEL=trace node -r sucrase/register src/bin/load-test/index.ts | node -r sucrase/register src/bin/utils/console.ts",
"test.post-report": "open ./coverage/index.html ./coverage/mochawesome.html",
"test.repo-sync": "node -r sucrase/register src/bin/repo-sync-test/index.ts",
"test.repo-sync.console": "LOG_LEVEL=trace node -r sucrase/register src/bin/repo-sync-test/index.ts | node -r sucrase/register src/bin/utils/console.ts",
"test.repo-sync.continuous": "node -r sucrase/register src/bin/repo-sync-test/continuous.ts | pino-pretty",
"test.report": "yarn test.with-report && yarn test.post-report",
"test.watch": "yarn test --watch --watch-files 'src/**/*, test/**/*'",
"test.with-report": "nyc yarn test --reporter mocha-multi-reporters --reporter-options configFile=./mocha-config.json"
},
"lint-staged": {
"*.{js,ts}": "eslint"
},
"dependencies": {
"biggystring": "^4.0.0",
"bs58": "^4.0.1",
"cleaner-config": "^0.1.4",
"cleaners": "^0.3.9",
"cors": "^2.8.5",
"edge-server-tools": "^0.2.3",
"edge-sync-client": "^0.1.0",
"express": "^4.17.1",
"express-promise-router": "^4.0.1",
"mkdirp": "^1.0.4",
"nano": "^9.0.3",
"path-to-regexp": "^7.1.0",
"pino": "^6.11.3",
"pino-http": "^5.5.0",
"serverlet": "^0.1.3",
"supertest": "^6.0.1",
"ws": "^8.18.0"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@types/bs58": "^4.0.1",
"@types/chai": "^4.2.9",
"@types/cors": "^2.8.9",
"@types/express": "^4.17.2",
"@types/log-update": "^3.1.0",
"@types/minimist": "^1.2.1",
"@types/mkdirp": "^1.0.1",
"@types/mocha": "^7.0.1",
"@types/node": "^14.18.63",
"@types/node-fetch": "^2.5.8",
"@types/pino": "^6.3.8",
"@types/pino-http": "^5.4.2",
"@types/supertest": "^2.0.10",
"@types/ws": "^8.5.12",
"@typescript-eslint/eslint-plugin": "^4.12.0",
"@typescript-eslint/parser": "^4.12.0",
"chai": "^4.2.0",
"cpr": "^3.0.1",
"eslint": "^7.17.0",
"eslint-config-standard-kit": "^0.15.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-simple-import-sort": "^7.0.0",
"husky": "^6.0.0",
"lint-staged": "^10.5.3",
"log-update": "^4.0.0",
"minimist": "^1.2.5",
"mocha": "^7.0.1",
"mocha-junit-reporter": "^2.0.0",
"mocha-multi-reporters": "^1.5.1",
"mochawesome": "^6.2.1",
"node-fetch": "^2.6.1",
"nodemon": "^2.0.6",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"pino-pretty": "^4.7.1",
"prettier": "^2.2.1",
"semaphore-async-await": "^1.5.1",
"sucrase": "^3.18.2",
"typescript": "^4.1.3"
}
}