This repository has been archived by the owner on Feb 17, 2021. It is now read-only.
/
package.json
68 lines (68 loc) · 2.28 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
{
"name": "@transmute/element-api",
"version": "0.8.4",
"description": "Node.js REST API For Element / Sidetree Ethereum",
"author": "Orie Steele",
"private": true,
"license": "Apache-2.0",
"scripts": {
"env:create:local": "node ./scripts/env_to_json_config.js local ../../example.env ./local.runtimeconfig.json && ./scripts/update_runtimeconfig_contract.sh ./local.runtimeconfig.json",
"env:create:prod": "node ./scripts/env_to_json_config.js production ../../.env ./.runtimeconfig.json && cat ./.runtimeconfig.json",
"lint": "eslint ./src --fix",
"pretest": "cd ../../ && npm run services:start && cd -",
"test": "NODE_ENV='test' jest --runInBand",
"precoverage": "cd ../../ && npm run services:start && cd -",
"coverage": "NODE_ENV='test' jest --runInBand --coverage",
"serve": "firebase serve --only functions --port=5002",
"start": "NODE_ENV='development' npm run serve",
"start:standalone": "STANDALONE=true node express.js",
"deploy": "firebase deploy --only functions",
"docker:build": "./build-docker.sh",
"docker:push": "npm run docker:build && docker push gjgd/element-api",
"logs": "firebase functions:log"
},
"dependencies": {
"@google-cloud/logging-winston": "^0.10.2",
"@transmute/element-lib": "^0.8.4",
"base64url": "^3.0.1",
"cors": "^2.8.5",
"express": "^4.16.4",
"firebase": "^7.14.0",
"firebase-admin": "^8.10.0",
"firebase-functions": "^3.6.0",
"morgan": "^1.9.1",
"swagger-jsdoc": "^3.2.6",
"swagger-ui-express": "^4.0.2",
"tar": ">=2.2.2",
"winston": "^3.1.0"
},
"engines": {
"node": "10"
},
"devDependencies": {
"@transmute/eslint-config": "0.1.0",
"dotenv": "^7.0.0",
"eslint": "^5.10.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-config-prettier": "^6.9.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jest": "^22.6.4",
"eslint-plugin-node": "^8.0.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-security": "^1.4.0",
"faker": "^4.1.0",
"firebase-tools": "^7.16.0",
"jest": "^23.6.0",
"prettier": "^1.19.1",
"supertest": "^4.0.2"
},
"jest": {
"setupFiles": [
"./src/setupFiles.js"
],
"testPathIgnorePatterns": [
"__fixtures__",
"./src/__tests__/box"
]
}
}