forked from energywebfoundation/origin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 loc) · 5.26 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
{
"name": "root",
"private": true,
"devDependencies": {
"@openzeppelin/cli": "2.6.0",
"@openzeppelin/contracts-ethereum-package": "2.4.0",
"@openzeppelin/upgrades": "2.6.0",
"@types/chai": "4.2.8",
"@types/dotenv": "6.1.1",
"@types/mocha": "7.0.1",
"@types/node": "12.12.21",
"@typescript-eslint/eslint-plugin": "2.19.0",
"@typescript-eslint/parser": "2.19.0",
"chai": "4.2.0",
"concurrently": "5.1.0",
"cross-env": "7.0.0",
"dotenv": "8.2.0",
"eslint": "6.8.0",
"eslint-config-airbnb-base": "14.0.0",
"eslint-config-prettier": "6.10.0",
"eslint-plugin-import": "2.20.1",
"eslint-plugin-prettier": "3.1.2",
"ganache-cli": "6.8.2",
"husky": "4.2.1",
"lerna": "3.20.2",
"lint-staged": "10.0.7",
"mocha": "7.0.1",
"prettier": "1.19.1",
"shx": "0.3.2",
"solc": "0.5.16",
"truffle": "5.1.12",
"ts-node": "8.6.2",
"typescript": "3.7.5",
"typescript-json-schema": "0.42.0",
"wait-on": "4.0.0"
},
"scripts": {
"build": "yarn build:static && yarn build:ts",
"build:ui": "lerna run build --scope @energyweb/origin-ui-core --stream",
"lint": "lerna run lint --parallel --stream",
"lint-fix": "lerna run lint-fix --parallel --stream",
"clean": "lerna run clean --parallel",
"build:user-device-registry-origin": "lerna run build --scope @energyweb/user-registry build --scope @energyweb/device-registry build --scope @energyweb/origin --parallel",
"build:static": "lerna run build:static --parallel",
"build:ts": "lerna run build:ts --stream",
"run:demo": "lerna run start --scope @energyweb/migrations --stream",
"run:backend": "lerna run start --scope @energyweb/origin-backend --stream",
"run:ui": "lerna run start --scope @energyweb/origin-ui-core --stream",
"run:origin": "lerna run start-all --scope @energyweb/origin-ui --scope @energyweb/migrations --parallel",
"run:ganache": "ganache-cli -m \"chalk park staff buzz chair purchase wise oak receive avoid avoid home\" -l 8000000 -e 1000000 -a 40 -h 0.0.0.0",
"run:simulator": "lerna run start --scope @energyweb/solar-simulator --stream",
"run:matcher": "lerna run start --scope @energyweb/market-matcher --stream",
"run:event-listener": "lerna run start --scope @energyweb/event-listener --stream",
"run:mock-data": "lerna run deploy-mock-readings --scope @energyweb/solar-simulator --stream",
"run:exchange": "lerna run start --scope @energyweb/exchange --stream",
"test": "yarn test:ui && lerna run test:concurrent --stream --parallel --since master",
"test:serial": "lerna run test:concurrent --stream && yarn test:ui",
"test:ui": "lerna run test --scope @energyweb/origin-ui-core --stream --since master",
"test:contracts": "lerna run test:contracts --scope @energyweb/device-registry --scope @energyweb/market --scope @energyweb/origin --scope @energyweb/user-registry --stream --parallel",
"test:migrations": "lerna run test:all --scope @energyweb/migrations --stream",
"test:backend": "lerna run --scope @energyweb/origin-backend --stream test",
"test:device-registry": "lerna run --scope @energyweb/device-registry --stream test:concurrent",
"test:market": "lerna run --scope @energyweb/market --stream test:concurrent",
"test:origin": "lerna run --scope @energyweb/origin --stream test:concurrent",
"test:matcher": "lerna run test:concurrent --scope @energyweb/market-matcher --stream",
"test:user-registry": "lerna run test:concurrent --scope @energyweb/user-registry --stream",
"test:event-listener": "lerna run test:concurrent --scope @energyweb/event-listener --stream",
"test:utils-general": "lerna run test --scope @energyweb/utils-general --stream",
"test:ci:contracts": "lerna run --scope @energyweb/device-registry --scope @energyweb/origin --scope @energyweb/user-registry --scope @energyweb/market --scope @energyweb/utils-general --scope @energyweb/utils-general --scope @energyweb/market-matcher-core test:concurrent --since master --parallel --stream",
"test:ci:contracts:deployment": "yarn test:migrations",
"test:ci:apps": "lerna run --scope @energyweb/market-matcher --scope @energyweb/event-listener --scope @energyweb/origin-backend --scope @energyweb/migrations test:concurrent --since master --parallel --stream",
"test:ci:ui": "yarn test:ui",
"publish:canary": "lerna publish --yes --skip-git --exact --cd-version=prerelease --pre-dist-tag canary --preid=alpha.$TRAVIS_BUILD_NUMBER",
"publish:release": "lerna version --create-release github --conventional-commits --exact --yes --message \"chore(release): publish /skip-deploy\" && lerna publish from-git --yes",
"build:containers:canary": "lerna run build:container:canary --stream",
"build:containers:release": "lerna run build:container:latest --stream"
},
"workspaces": [
"packages/*"
],
"engines": {
"node": "12"
},
"husky": {
"hooks": {
"pre-commit": "lerna run --concurrency 1 --stream precommit"
}
}
}