-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
112 lines (112 loc) · 2.84 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
{
"name": "quasar",
"version": "0.0.1",
"description": "Smart contract based file storage",
"main": "server/index.js",
"scripts": {
"cleanDB": "node ./scripts/cleanDB.js",
"compile": "truffle compile",
"migrate": "truffle migrate",
"emit:pinHashEvent": "node ./scripts/createPinEvent.js",
"emit:registerEvent": "node ./scripts/createRegisterContractEvent.js",
"prepare:local:dev": "scripts/start.sh && jsipfs shutdown",
"start": "node server",
"start:dev": "node ./scripts/setDevEnvVars.js && nodemon server",
"stop": "killall node && ipfs shutdown && killall mongod",
"test": "scripts/test.sh && jsipfs shutdown",
"test:watch": "scripts/start_test_env_watch.sh && jsipfs shutdown && killall mongod",
"test:docker": "jest",
"lint": "eslint ./ --ignore-path .gitignore",
"lint-fix": "npm run lint -- --fix",
"prettify": "prettier --write \"**/*.{js,jsx,json,md}\""
},
"lint-staged": {
"*.{js}": [
"prettier --write",
"npm run lint-fix",
"git add"
],
"*.{json,md}": [
"prettier --write",
"git add"
]
},
"jest": {
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"globalSetup": "./setup.js",
"setupFiles": [
"dotenv/config"
],
"testEnvironment": "node"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/openworklabs/quasar.git"
},
"keywords": [
"ethereum",
"ipfs",
"smart",
"contracts",
"distributed",
"file",
"storage"
],
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/openworklabs/Quasar/issues"
},
"homepage": "https://github.com/openworklabs/Quasar#readme",
"dependencies": {
"@truffle/hdwallet-provider": "^1.0.18",
"bluebird": "^3.7.1",
"chalk": "^2.4.2",
"cors": "^2.8.5",
"cross-env": "^6.0.0",
"dotenv": "^8.1.0",
"express": "^4.17.1",
"express-rate-limit": "^5.0.0",
"immutable": "^4.0.0-rc.12",
"ipfs-http-client": "39.0.2",
"is-ipfs": "^0.6.1",
"mongoose": "^5.7.3",
"morgan": "^1.9.1",
"multer": "^1.4.2",
"object-sizeof": "^1.5.1",
"path": "^0.12.7",
"web3": "1.2.2",
"websocket": "^1.0.30"
},
"devDependencies": {
"axios": "^0.19.0",
"eslint": "^6.3.0",
"eslint-config-prettier": "^6.3.0",
"eslint-plugin-jest": "^22.17.0",
"eslint-plugin-prettier": "^3.1.0",
"form-data": "^2.5.1",
"ganache-cli": "^6.7.0",
"husky": "^3.0.5",
"ipfs": "^0.37.1",
"jest": "^24.9.0",
"lint-staged": "^9.2.5",
"nodemon": "^1.19.2",
"prettier": "^1.18.2",
"supertest": "^4.0.2",
"truffle": "^5.0.35"
},
"nodemonConfig": {
"ignore": [
"build/*",
"contracts/*",
"migrations/*",
"scripts/*",
"accounts.json"
]
}
}