forked from energywebfoundation/origin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
63 lines (63 loc) · 2.23 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
{
"name": "@energyweb/device-registry",
"description": "",
"license": "GPL-3.0",
"author": "",
"homepage": "https://github.com/energywebfoundation/origin/tree/master/packages/device-registry",
"repository": {
"type": "git",
"url": "git+https://github.com/energywebfoundation/origin.git"
},
"bugs": {
"url": "https://github.com/energywebfoundation/origin/issues"
},
"version": "5.0.0",
"main": "dist/js/src/index.js",
"files": [
"dist/js/build",
"dist/js/src"
],
"directories": {
"test": "test"
},
"scripts": {
"build": "yarn build:static && yarn build:ts",
"build:static": "yarn compile && yarn extractABI",
"build:ts": "tsc -b tsconfig.build.json --verbose --pretty",
"build-and-deploy": "yarn build && yarn deploy-contracts",
"compile": "truffle compile",
"compile-contracts": "node build/ts/utils/deployment/compile",
"deploy-contracts": "truffle migrate",
"extractABI": "node ./scripts/extractABI.js",
"lint": "solium -d contracts",
"lint-fix": "solium -d contracts --fix",
"start-ganache": "ganache-cli -q -m 'chalk park staff buzz chair purchase wise oak receive avoid avoid home' -l 8000000 -e 1000000 -a 20 -p 8551",
"test": "mocha -r ts-node/register src/test/*.test.ts --timeout 60000 --exit",
"test:concurrent": "concurrently --success first --kill-others -n eth,test \"yarn start-ganache\" \"wait-on tcp:8551 && yarn test\"",
"test:contracts": "yarn test:concurrent",
"prettier": "prettier --write --config-precedence file-override './src/**/*'",
"clean": "shx rm -rf build dist dist-shakeable schemas db.sqlite"
},
"types": "dist/js/src/index.d.ts",
"dependencies": {
"@energyweb/user-registry": "3.0.1",
"@energyweb/utils-general": "6.0.0",
"moment": "2.24.0",
"polly-js": "^1.6.5",
"web3": "1.2.4",
"web3-core": "1.2.4",
"web3-eth-contract": "1.2.4",
"winston": "3.2.1"
},
"devDependencies": {
"@energyweb/origin-backend-client": "3.1.0",
"@energyweb/origin-backend-client-mocks": "0.2.0",
"ethlint": "1.2.5",
"fs-extra": "8.1.0"
},
"gitHead": "54beaf7fe6686810de74ca290daf99cbde510f9d",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
}
}