-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 2.3 KB
/
package.json
File metadata and controls
68 lines (68 loc) · 2.3 KB
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
{
"name": "edge-rates-server",
"version": "0.2.0",
"private": true,
"description": "A REST API for retrieving and storing historical crypto and fiat exchange rates.",
"repository": "https://github.com/EdgeApp/edge-rates-server",
"license": "MIT",
"author": "Airbitz, Inc.",
"main": "lib/index.js",
"scripts": {
"build.lib": "sucrase -q -t typescript,imports,jsx -d ./lib ./src",
"build.types": "tsc",
"clean": "rimraf lib",
"fix": "npm run lint -- --fix",
"startEngines": "node -r sucrase/register src/indexEngines.ts",
"start": "node -r sucrase/register src/index.ts",
"startV3Engines": "node -r sucrase/register src/v3/indexEngines.ts",
"startV3": "node -r sucrase/register src/v3/index.ts",
"setup": "node -r sucrase/register src/v3/setupDatabases.ts",
"precommit": "lint-staged && yarn test && yarn prepare",
"prepare": "configure && npm-run-all clean -p build.* && cp ./src/utils/currencyCodeMaps.json ./lib/utils/currencyCodeMaps.json",
"test": "mocha -r sucrase/register 'test/**/*.test.ts' --exit",
"lint": "eslint --ext .js,.ts .",
"deploy": "npm run deploy:stop && npm run deploy:start",
"deploy:start": "pm2 start pm2.json",
"deploy:stop": "pm2 delete all || true",
"deploy:restart": "npm run deploy",
"deploy:status": "pm2 status",
"deploy:logs": "pm2 logs"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "eslint"
},
"devDependencies": {
"@types/chai": "^4.2.9",
"@types/express": "^4.17.13",
"@types/mocha": "^7.0.1",
"@types/node-fetch": "^2.6.12",
"@typescript-eslint/eslint-plugin": "^5.36.2",
"@typescript-eslint/parser": "^5.36.2",
"biggystring": "^4.2.3",
"chai": "^4.2.0",
"cleaner-config": "^0.1.10",
"compression": "^1.7.4",
"cors": "^2.8.5",
"edge-server-tools": "^0.2.24",
"eslint": "^9.31.0",
"eslint-config-standard-kit": "1.0.0",
"express": "^4.21.2",
"husky": "^5.2.0",
"lint-staged": ">=9.0.0",
"mocha": "^7.0.1",
"morgan": "^1.10.0",
"nano": "10.1.3",
"node-fetch": "^2.6.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"promisify-node": "^0.5.0",
"redis": "^4.0.4",
"rimraf": "^6.0.1",
"serverlet": "^0.1.3",
"sucrase": "^3.35.0",
"typescript": "5.0.4"
},
"dependencies": {
"cleaners": "^0.3.17"
}
}