forked from gzelda/stacks-blockchain-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
169 lines (169 loc) · 6.25 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
{
"name": "@blockstack/stacks-blockchain-api",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"dev": "cross-env NODE_ENV=development STACKS_BLOCKCHAIN_API_DB=pg ts-node src/index.ts",
"dev:watch": "cross-env NODE_ENV=development STACKS_BLOCKCHAIN_API_DB=pg nodemon -e ts -x 'ts-node src/index.ts'",
"dev:integrated": "npm run devenv:build && concurrently npm:dev npm:devenv:deploy",
"dev:follower": "npm run devenv:build && concurrently npm:dev npm:devenv:follower",
"test": "cross-env NODE_ENV=development jest --config ./jest.config.js --coverage --runInBand",
"test:rosetta": "cross-env NODE_ENV=development jest --config ./jest.config.rosetta.js --coverage --runInBand",
"test:watch": "cross-env NODE_ENV=development jest --config ./jest.config.js --watch",
"test:integration": "npm run devenv:deploy -- -d && cross-env NODE_ENV=development jest --config ./jest.config.js --coverage --no-cache --runInBand; npm run devenv:stop",
"test:integration:rosetta": "npm run devenv:deploy -- -d && cross-env NODE_ENV=development jest --config ./jest.config.rosetta.js --coverage --no-cache --runInBand; npm run devenv:stop",
"build": "rimraf ./lib && tsc",
"start": "node ./lib/index.js",
"lint": "npm run lint:eslint && npm run lint:prettier",
"lint:eslint": "eslint . --ext .js,.jsx,.ts,.tsx -f codeframe",
"lint:prettier": "prettier --check src/**/*.{ts,json}",
"lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx -f codeframe --fix",
"migrate": "node-pg-migrate -m src/migrations",
"devenv:build": "docker-compose -f docker-compose.dev.postgres.yml -f docker-compose.dev.stacks-blockchain.yml -f docker-compose.dev.bitcoind.yml build --no-cache",
"devenv:deploy": "docker-compose -f docker-compose.dev.postgres.yml -f docker-compose.dev.stacks-blockchain.yml -f docker-compose.dev.bitcoind.yml up",
"devenv:follower": "docker-compose -f docker-compose.dev.postgres.yml -f docker-compose.dev.stacks-blockchain-follower.yml up",
"devenv:stop": "docker-compose -f docker-compose.dev.postgres.yml -f docker-compose.dev.stacks-blockchain.yml -f docker-compose.dev.bitcoind.yml down -v -t 0",
"devenv:logs": "docker-compose -f docker-compose.dev.postgres.yml -f docker-compose.dev.stacks-blockchain.yml -f docker-compose.dev.bitcoind.yml logs -t -f",
"docs:generate": "cd docs && npm run generate:types && npm run generate:docs && cd ../client && typedoc",
"docs:deploy": "npm run docs:generate && cd docs && gulp deployDocs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/blockstack/stacks-blockchain-api.git"
},
"author": "Blockstack PBC <[email protected]> (https://blockstack.org)",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/blockstack/stacks-blockchain-api/issues"
},
"homepage": "https://github.com/blockstack/stacks-blockchain-api#readme",
"prettier": "@blockstack/prettier-config",
"engines": {
"node": ">=13.11"
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/exec",
{
"execCwd": "client",
"prepareCmd": "npm install"
}
],
[
"@semantic-release/npm",
{
"pkgRoot": "./docs"
}
],
[
"@semantic-release/npm",
{
"pkgRoot": "./client"
}
],
"@semantic-release/github",
"@semantic-release/changelog",
"@semantic-release/git",
[
"semantic-release-slack-bot",
{
"notifyOnSuccess": true,
"notifyOnFail": true,
"markdownReleaseNotes": true
}
]
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"dependencies": {
"@apidevtools/json-schema-ref-parser": "^9.0.1",
"@awaitjs/express": "^0.5.1",
"@blockstack/stacks-blockchain-api-types": "file:docs",
"@blockstack/stacks-transactions": "0.6.0-beta.1",
"@types/express-list-endpoints": "^4.0.1",
"@types/ws": "^7.2.5",
"big-integer": "^1.6.48",
"bitcoinjs-lib": "^5.1.7",
"bluebird": "^3.7.2",
"bn.js": "^4.11.8",
"c32check": "^1.1.2",
"coinselect": "^3.1.12",
"compression": "^1.7.4",
"cors": "^2.8.5",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"escape-goat": "^3.0.0",
"express": "^4.17.1",
"express-list-endpoints": "^5.0.0",
"express-winston": "^4.0.3",
"http-proxy-middleware": "^1.0.4",
"jsonrpc-lite": "^2.1.0",
"node-fetch": "^2.6.0",
"node-pg-migrate": "^4.2.3",
"p-queue": "^6.3.0",
"pg": "^8.2.1",
"rpc-bitcoin": "^2.0.0",
"smart-buffer": "^4.1.0",
"strict-event-emitter-types": "^2.0.0",
"typescript": "^3.9.5",
"uuid": "^8.0.0",
"winston": "^3.2.1",
"ws": "^7.3.0"
},
"devDependencies": {
"@actions/core": "^1.2.4",
"@actions/exec": "^1.0.4",
"@actions/github": "^2.2.0",
"@actions/io": "^1.0.2",
"@blockstack/eslint-config": "^1.0.5",
"@blockstack/prettier-config": "0.0.6",
"@commitlint/cli": "^9.1.2",
"@commitlint/config-conventional": "^10.0.0",
"@stacks/blockchain-api-client": "file:client",
"@types/ajv": "^1.0.0",
"@types/bluebird": "^3.5.30",
"@types/bn.js": "^4.11.6",
"@types/compression": "^1.7.0",
"@types/cors": "^2.8.6",
"@types/express": "^4.17.3",
"@types/jest": "^25.1.4",
"@types/node": "^13.13.4",
"@types/node-fetch": "^2.5.6",
"@types/pg": "^7.14.3",
"@types/supertest": "^2.0.9",
"@types/uuid": "^7.0.3",
"@typescript-eslint/eslint-plugin": "^2.25.0",
"@typescript-eslint/parser": "^2.25.0",
"compare-versions": "^3.6.0",
"concurrently": "^5.2.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-tsdoc": "^0.2.4",
"gulp": "^4.0.2",
"husky": "^4.2.5",
"jest": "^25.2.1",
"nodemon": "^2.0.3",
"npm-api": "^1.0.0",
"prettier": "2.0.2",
"redoc-cli": "^0.9.12",
"rimraf": "^3.0.2",
"rpc-websocket-client": "^1.1.4",
"supertest": "^4.0.2",
"ts-jest": "^25.2.1",
"ts-node": "^8.8.1",
"typedoc": "^0.18.0"
}
}