-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.77 KB
/
Copy pathpackage.json
File metadata and controls
84 lines (84 loc) · 2.77 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "alienworlds-api",
"version": "1.0.0",
"description": "API for AlienWorlds data",
"main": "index.js",
"engines": {
"node": ">=17.3.0 <18.0.0",
"npm": ">=8.3.0 <9.0.0"
},
"scripts": {
"prepare": "husky install",
"lint": "yarn lint-prettier && yarn lint-es",
"lint-fix": "yarn lint-prettier-fix && yarn lint-es-fix",
"lint-es": "eslint \"src/**/*\"",
"lint-es-fix": "eslint --fix \"src/**/*\"",
"lint-prettier": "yarn prettier --check \"src/\"",
"lint-prettier-fix": "yarn prettier --write \"src/\"",
"build": "yarn check-config && yarn clean && tsc && yarn copy-files && yarn abis",
"copy-files": "cp ./config.js ./dist/",
"clean": "rm -rf ./dist",
"test": "echo \"Error: no test specified\" && exit 1",
"abis": "mkdir -p ./dist/abis && node dist/fetch_abis.js ./dist/abis",
"check-config": "node ./scripts/check-config.js || (echo \"Create the config file by copying config.example.js to config.js\" && exit 1)",
"mongo-indexes": "node dist/mongo_setup.js",
"api": "tsc-watch --onSuccess \"node dist/api.js\"",
"blockrange": "tsc-watch --onSuccess \"node dist/blockrange.js\"",
"filler": "tsc-watch --onSuccess \"node dist/filler.js ${flags}\"",
"processor": "tsc-watch --onSuccess \"node dist/processor.js\""
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "lint-staged"
}
},
"lint-staged": {
"*": "prettier --write --ignore-unknown",
"*.{ts,tsx,js,jsx}": "eslint --fix'"
},
"author": "",
"license": "ISC",
"dependencies": {
"@eosdacio/eosio-statereceiver": "^1.1.0",
"@eosrio/node-abieos": "^2.1.0-beta.0",
"@newrelic/native-metrics": "^7.1.0",
"@types/node": "^14.14.22",
"amqplib": "^0.6.0",
"atomicassets": "^1.2.2",
"axon": "^2.0.3",
"commander": "^7.0.0",
"crypto": "^1.0.1",
"eosjs": "^21.0.3",
"ethers": "^5.1.0",
"fastify": "^3.11.0",
"fastify-autoload": "^3.4.2",
"fastify-cors": "^5.2.0",
"fastify-mongodb": "^2.0.1",
"fastify-oas": "^3.0.8",
"file-exists": "^5.0.1",
"http": "^0.0.1-security",
"mongodb": "^3.6.3",
"newrelic": "^8.7.1",
"node-fetch": "^2.6.1"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-recommended": "^4.1.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^5.2.0",
"husky": "^7.0.4",
"lint-staged": "^12.1.7",
"prettier": "2.5.1",
"redoc-cli": "^0.13.6",
"ts-jest": "^27.1.3",
"tsc-watch": "^4.6.0",
"typescript": "^4.5.4"
}
}