/
package.json
37 lines (37 loc) · 1.34 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
{
"name": "root",
"private": true,
"scripts": {
"setup": "yarn util:install && yarn util:link && yarn util:build",
"build": "yarn util:build",
"lint": "prettier --check .",
"lint:fix": "prettier --write .",
"test": "lerna run test --stream",
"test:core": "cd packages/core && yarn build && yarn test",
"run:chat": "lerna exec --scope @hoprnet/hopr-chat -- yarn start:basodino",
"run:hoprd": "lerna exec --scope @hoprnet/hoprd -- yarn start --host 0.0.0.0:9092",
"run:chatbot": "lerna exec --scope @hoprnet/chat-bot -- yarn start:basodino",
"util:clean": "lerna exec --stream -- rimraf node_modules/@hoprnet",
"util:reset": "lerna clean --yes",
"util:regenerate": "yarn util:clean && lerna exec --concurrency 1 --stream -- yarn --check-files",
"util:install": "yarn util:clean && lerna exec --concurrency 1 --stream -- yarn --frozen-lockfile --check-files",
"util:build": "lerna exec --stream -- yarn build",
"util:link": "lerna link",
"version": "yarn util:regenerate && git add packages/*/package-lock.json"
},
"dependencies": {
"lerna": "^3.22.1"
},
"devDependencies": {
"husky": "^4.2.5",
"prettier": "^2.0.5",
"rimraf": "^3.0.2"
},
"prettier": {
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"printWidth": 120,
"trailingComma": "none"
}
}