This repository has been archived by the owner on Sep 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 66
/
Copy pathpackage.json
85 lines (85 loc) · 3.03 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
{
"name": "@dydxprotocol/perpetual",
"version": "1.2.1",
"description": "Ethereum Smart Contracts and TypeScript library used for the dYdX Perpetual Contracts",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"files": [
"dist/build/",
"dist/src/",
"LICENSE",
"README.md"
],
"scripts": {
"test": "npm run deploy_test && npm run test_only",
"test_only": "truffle test",
"clean_contract_json": "ts-node ./scripts/CleanBuild.ts",
"coverage": "RPC_NODE_URI=http://0.0.0.0:8555 COVERAGE=true truffle run coverage --network coverage",
"compile": "truffle compile",
"build": "npm run compile -- --all && npm run clean_contract_json && npm run build:js",
"build:js": "rm -rf dist/ && tsc",
"lint": "npm run lint:ts && npm run lint:js && npm run lint:sol && npm run lint:dydx",
"lint:ts": "tslint --project . -t verbose 'src/**/*.ts' 'test/**/*.ts'",
"lint:js": "eslint --ext .js --ignore-path .gitignore migrations/**/*.js",
"lint:sol": "solium -d contracts/",
"lint:dydx": "python util/lintcontracts.py",
"docker_node": "ganache-cli -i 1313 -d -k=istanbul -p 8545 -h 0.0.0.0 --db=/home/.ganache",
"deploy": "truffle migrate --network=$NETWORK --reset && npm run save_deployed_addresses",
"deploy_kovan": "NETWORK=kovan npm run deploy",
"deploy_mainnet": "NETWORK=mainnet npm run deploy",
"deploy_test": "npm run reset_test_evm && NETWORK=test npm run deploy && npm run clean_contract_json && npm run snapshot_test_evm",
"migrate": "truffle migrate",
"reset_test_evm": "node scripts/reset-test-evm.js",
"save_deployed_addresses": "ts-node ./scripts/SaveDeployedAddresses.ts",
"snapshot_test_evm": "node scripts/snapshot-test-evm.js"
},
"repository": {
"type": "git",
"url": "https://github.com/dydxprotocol/perpetual"
},
"keywords": [
"dydx",
"ethereum"
],
"author": "dYdX Trading Inc.",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/dydxprotocol/perpetual/issues"
},
"homepage": "https://github.com/dydxprotocol/perpetual#readme",
"dependencies": {
"@openzeppelin/contracts": "2.5.0",
"@openzeppelin/upgrades": "2.6.0",
"bignumber.js": "^8.1.1",
"canonical-weth": "^1.4.0",
"lodash": "^4.17.15",
"web3": "1.2.4"
},
"devDependencies": {
"@truffle/hdwallet-provider": "^1.0.33",
"@types/chai": "^4.2.7",
"@types/lodash": "^4.14.149",
"@types/mocha": "^5.2.7",
"babel-cli": "^6.26.0",
"babel-eslint": "^10.0.3",
"chai": "^4.2.0",
"chai-bignumber": "^3.0.0",
"coveralls": "^3.0.9",
"dotenv-flow": "^3.1.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.20.0",
"ethlint": "^1.2.5",
"ganache-cli": "6.8.2",
"mocha": "^7.0.0",
"nyc": "^15.0.0",
"solidity-coverage": "^0.7.1",
"solium": "^1.2.5",
"truffle": "^5.1.19",
"ts-node": "^8.6.2",
"tslint": "^5.20.1",
"tslint-config-airbnb": "^5.11.2",
"tslint-no-focused-test": "^0.5.0",
"typescript": "^3.7.4"
}
}