-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
106 lines (106 loc) · 3.71 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
{
"name": "peerplaysjs-lib",
"version": "0.8.3",
"description": "Pure JavaScript Peerplaysjs library for node.js and browsers.",
"browser": {
"ws": false,
"crypto": false
},
"scripts": {
"sonar": "node scripts/sonar.js",
"lint": "eslint lib/**/*.js --fix",
"init": "npm i",
"test": "cross-env BABEL_ENV=test mocha --require @babel/register --recursive",
"test:chain": "cross-env BABEL_ENV=test mocha --require @babel/register ./test/chain --recursive --watch",
"test:trxbuilder": "cross-env BABEL_ENV=test mocha --require @babel/register ./test/chain/TransactionBuilder.js --watch",
"test:ecc": "cross-env BABEL_ENV=test mocha --require @babel/register ./test/ecc --recursive --watch",
"test:serializer": "cross-env BABEL_ENV=test mocha --require @babel/register ./test/serializer --recursive",
"test:watch": "npm test -- --watch",
"clean": "rm -rf ./dist/* & rm -rf ./build/*",
"prebuild": "npm run clean",
"build": "babel lib -d dist",
"postbuild": "npm run browserify",
"build:watch": "babel lib -d dist --watch",
"prebrowserify": "rm -rf ./build/*",
"browserify": "browserify -t [browserify-package-json --global=true] -p [bundle-collapser/plugin] dist/browser.js --full-path=false --standalone peerplays_js -o build/peerplaysjs-lib.js -d",
"postbrowserify": "uglifyjs --compress --mangle --output build/peerplaysjs-lib.min.js -- build/peerplaysjs-lib.js && npm run lint",
"example:transfer": "babel-node examples/transfer",
"example:chainStore": "babel-node examples/chainStore",
"example:privKey": "babel-node examples/privKey",
"prepare": "husky install",
"pre-commit": "npm run lint"
},
"repository": {
"type": "git",
"url": "git+https://github.com/peerplays-network/peerplaysjs-lib"
},
"author": "Sigve Kvalsvik <[email protected]> (https://github.com/svk31)",
"contributors": [
"James Calfee <[email protected]> (https://github.com/jcalfee/)",
"Daniel Larimer <[email protected]> (https://github.com/bytemaster/)",
"Valentine Zavgorodnev <[email protected]> (https://github.com/valzav/)"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/peerplays-network/peerplaysjs-lib/issues"
},
"engines": {
"node": ">= 6.0.0"
},
"main": "dist/index.js",
"jsnext:main": "lib/index.js",
"dependencies": {
"@babel/cli": "^7.18.10",
"@babel/core": "^7.18.10",
"@babel/eslint-parser": "^7.18.9",
"@babel/node": "^7.18.10",
"@babel/preset-env": "^7.18.10",
"@babel/register": "^7.18.9",
"assert": "^2.0.0",
"bigi": "^1.4.2",
"bs58": "^4.0.1",
"buffer": "^5.4.3",
"bytebuffer": "^5.0.0",
"create-hash": "^1.1.2",
"create-hmac": "^1.1.4",
"cross-env": "^7.0.3",
"crypto-js": "^4.1.1",
"deep-equal": "^1.1.0",
"ecurve": "^1.0.2",
"eslint-config-prettier": "^8.5.0",
"event-emitter": "^0.3.4",
"immutable": "^3.7.6",
"inquirer": "^7.0.0",
"secure-random": "^1.1.2",
"uglify-js": "^3.16.3",
"ws": "^7.2.0"
},
"devDependencies": {
"browserify": "^17.0.0",
"browserify-package-json": "^1.0.1",
"bundle-collapser": "^1.3.0",
"cz-conventional-changelog": "^3.2.0",
"eslint": "^8.21.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.30.1",
"git-commit-msg-linter": "^4.4.0",
"husky": "^8.0.0",
"lint-staged": "^13.0.3",
"mocha": "^10.0.0",
"prettier": "^2.7.1"
},
"lint-staged": {
"linters": {
"lib/**/*.js": [
"eslint --fix",
"git add"
]
},
"ignore": [
"**/dist/*.min.js"
]
}
}