This repository has been archived by the owner on Jan 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.json
139 lines (139 loc) · 3.66 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "origin",
"version": "0.8.5",
"description": "",
"engines": {
"node": "9.11.1"
},
"main": "./dist/index.js",
"scripts": {
"build": "node scripts/build.js",
"format": "npx prettier-eslint --write 'src/**/*.js' 'test/**/*test.js' 'contracts/test/**/*.js' 'scripts/**/*.js'",
"format:solidity": "solium -d contracts/contracts/ --fix",
"install:dev": "npm install && npm link",
"prepare": "npm run build",
"start": "node scripts/build.js serve",
"start:no-ganache": "node scripts/build.js serve no-ganache",
"test": "node scripts/test.js",
"test:truffle": "node scripts/test-truffle.js",
"test:js": "node scripts/test-js.js",
"test:jsw": "node scripts/test-js.js --watch",
"test:contracts": "mocha -r babel-register -r babel-polyfill -t 10000 --exit contracts/test-alt/",
"test:contractsw": "mocha -r babel-register -r babel-polyfill -t 10000 -w --watch-extensions sol contracts/test-alt/",
"test:contracts-coverage": "SOLIDITY_COVERAGE=1 npx solidity-coverage"
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "https://github.com/OriginProtocol/origin-js"
},
"author": "Stan James <[email protected]>",
"license": "MIT",
"dependencies": {
"ajv": "^6.5.0",
"babel-polyfill": "^6.26.0",
"bignumber.js": "^7.2.1",
"bs58": "^4.0.1",
"cross-fetch": "^2.1.1",
"crypto-js": "^3.1.9-1",
"crypto-random-string": "^1.0.0",
"ethereumjs-util": "^5.2.0",
"form-data": "^2.3.2",
"map-cache": "^0.2.2",
"openzeppelin-solidity": "1.10.0",
"rlp": "^2.0.0",
"store": "^2.0.12",
"truffle-privatekey-provider": "^0.1.0",
"url-parse": "^1.4.0",
"web3": "^1.0.0-beta.34"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.3",
"babel-loader": "^7.1.4",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-preset-env": "^1.6.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"chai-bignumber": "^2.0.2",
"chai-string": "1.4.0",
"chalk": "^2.4.1",
"eth-gas-reporter": "^0.1.2",
"fetch-mock": "^6.3.0",
"flow-bin": "^0.71.0",
"fs-extra": "^7.0.0",
"ganache-core": "^2.1.0",
"html-webpack-plugin": "^3.2.0",
"ipfs": "^0.28.2",
"ipfs-api": "^20.2.1",
"mocha": "^5.1.1",
"mocha-loader": "^1.1.3",
"node-watch": "^0.5.8",
"prettier-eslint-cli": "^4.7.1",
"sinon": "^5.1.1",
"solc": "^0.4.24",
"solidity-coverage": "^0.5.10",
"solium": "^1.1.7",
"truffle": "^4.1.8",
"truffle-contract": "^3.0.5",
"truffle-hdwallet-provider": "0.0.5",
"web3-provider-engine": "^14.0.6",
"webpack": "^4.8.1",
"webpack-cli": "^2.1.3",
"webpack-dev-server": "^3.1.4",
"webpack-node-externals": "^1.7.2"
},
"eslintConfig": {
"root": true,
"parser": "babel-eslint",
"extends": [
"eslint:recommended"
],
"env": {
"browser": true,
"es6": true,
"mocha": true,
"node": true
},
"globals": {
"artifacts": true,
"assert": true,
"contract": true,
"expect": true,
"web3": true
},
"rules": {
"indent": [
"error",
2
],
"no-console": [
"off"
],
"no-var": [
"error"
],
"prefer-const": [
"error"
],
"semi": [
"error",
"never"
],
"quotes": [
"error",
"single",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
]
}
}
}