This repository has been archived by the owner on Apr 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
107 lines (107 loc) · 2.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
{
"name": "rouge.js",
"version": "0.5.3",
"license": "AGPL-3.0-only",
"description": "[DEPRECATED] Javascript library for interacting with the Rouge Protocol V0",
"repository": "TheRougeProject/legacy-v0-rouge.js.git",
"keywords": [
"rouge.js",
"rge",
"ethereum",
"coupon",
"voucher",
"ticket"
],
"engines": {
"node": ">=10.0.0"
},
"main": "dist/rouge.cjs.js",
"module": "dist/rouge.esm.js",
"jsdelivr": "dist/rouge.umd.min.js",
"files": [
"dist",
"src",
"examples"
],
"authors": [
"Christophe Le Bars <[email protected]>",
"Valentin D. Guillois <[email protected]>"
],
"scripts": {
"prepublish": "npm run build",
"release": "release-it",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
"example-node": "babel-node examples/node.js",
"format": "prettier-standard --format src/**/*.js test/**/*.js",
"lint": "prettier-standard --lint src/**/*.js test/**/*.js",
"test": "jest --verbose",
"test:coverage": "jest --coverage",
"test:watch": "clear && jest --watch",
"test:create": "jest --testPathIgnorePatterns='[]' -- __tests__/create.js",
"build": "rimraf dist/ && cross-env VERSION=$npm_package_version rollup -c"
},
"release-it": {
"github": {
"release": true
}
},
"publishConfig": {
"access": "public"
},
"jest": {
"testEnvironment": "node",
"transform": {
".js$": "babel-jest"
},
"testPathIgnorePatterns": [
"/node_modules/"
]
},
"devDependencies": {
"@babel/cli": "^7.13.16",
"@babel/core": "^7.13.16",
"@babel/node": "^7.13.13",
"@babel/preset-env": "^7.13.15",
"@rollup/plugin-commonjs": "^18.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"@rollup/plugin-replace": "^2.4.2",
"babel-jest": "^26.6.3",
"babel-plugin-relative-path-import": "^2.0.1",
"coveralls": "^3.1.0",
"cross-env": "^7.0.3",
"dayjs": "^1.10.4",
"eth-sig-util": "^3.0.1",
"ganache-core": "^2.13.2",
"husky": "^4.3.8",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"nodemon": "^2.0.7",
"prettier-standard": "^16.4.1",
"release-it": "^14.6.1",
"rimraf": "^3.0.2",
"rollup": "^2.45.2",
"rollup-plugin-terser": "^7.0.2",
"web3": "^1.3.5"
},
"peerDependencies": {
"web3-eth": "1.3.x",
"web3-utils": "1.3.x"
},
"dependencies": {
"elliptic": "^6.5.3",
"hex64": "^0.4.0",
"rouge-protocol-solidity": "0.21.2"
},
"lint-staged": {
"src/**/*.js": [
"npm run format",
"npm run lint"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}