This repository has been archived by the owner on Jun 7, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy pathpackage.json
91 lines (91 loc) · 3.68 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
{
"name": "@liskhq/lisk-client",
"version": "2.0.0",
"description": "A default set of Elements for use by clients of the Lisk network",
"author": "Lisk Foundation <[email protected]>, lightcurve GmbH <[email protected]>",
"license": "GPL-3.0",
"keywords": [
"lisk",
"blockchain"
],
"homepage": "https://github.com/LiskHQ/lisk-elements/tree/master/packages/lisk-client#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/LiskHQ/lisk-elements.git"
},
"bugs": {
"url": "https://github.com/LiskHQ/lisk-elements/issues"
},
"engines": {
"node": ">=8.10 <=10",
"npm": ">=5"
},
"main": "dist-node/index.js",
"scripts": {
"prestart": "./scripts/prestart.sh",
"start": "./scripts/start.sh",
"transpile": "tsc",
"transpile:browsertest": "tsc -p tsconfig.browsertest.json",
"browserify": "browserify ./dist-node/index.js -o ./dist-browser/index.js -s lisk",
"browserify:browsertest": "browserify ./browsertest.build/test/*.js -o ./browsertest.build/browsertest.js -s lisk",
"uglify": "uglifyjs -nm -o ./dist-browser/index.min.js ./dist-browser/index.js",
"uglify:browsertest": "uglifyjs -o ./browsertest.build/browsertest.min.js ./browsertest.build/browsertest.js",
"clean": "./scripts/clean.sh",
"format": "prettier --write \"*.{js,json}\" \"{src,test}/**/*.{js,json}\"",
"lint": "tslint --format verbose --project .",
"lint:fix": "npm run lint -- --fix",
"test": "TS_NODE_PROJECT=./test/tsconfig.json nyc mocha test/**/*.ts test/**/**/*.ts",
"test:watch": "npm test -- --watch",
"test:watch:min": "npm run test:watch -- --reporter=min",
"test:node": "npm run build:check",
"serve:start": "http-server -p 11546 ./browsertest &",
"serve:stop": "kill $(lsof -t -i:11546) || true",
"pretest:browser": "npm run serve:stop && npm run build:browsertest && npm run serve:start",
"test:browser": "wait-on http://localhost:11546 && cypress run --config baseUrl=http://localhost:11546 --env ROOT_DIR=\"${PWD##*/}\"",
"posttest:browser": "npm run serve:stop",
"cover": "if [ -z $JENKINS_HOME ]; then npm run cover:local; else npm run cover:ci; fi",
"cover:base": "NODE_ENV=test nyc report",
"cover:local": "npm run cover:base -- --reporter=html --reporter=text",
"cover:ci": "npm run cover:base -- --reporter=text",
"build:browsertest": "npm run transpile:browsertest && npm run browserify:browsertest && npm run uglify:browsertest",
"postbuild:browsertest": "rm -r browsertest.build/src browsertest.build/test",
"prebuild:node": "rm -r dist-node/* || mkdir dist-node || true",
"build:node": "npm run transpile",
"prebuild:browser": "rm ./dist-browser/index.js ./dist-browser/index.min.js || true",
"build:browser": "npm run build:node && npm run browserify && npm run uglify",
"prebuild": "npm run prebuild:browser",
"build": "npm run build:browser",
"build:check": "node -e \"require('./dist-node')\"",
"prepublishOnly": "npm run lint && npm test && npm run build && npm run build:check"
},
"dependencies": {
"@liskhq/lisk-api-client": "2.0.0",
"@liskhq/lisk-constants": "1.2.0",
"@liskhq/lisk-cryptography": "2.0.0",
"@liskhq/lisk-passphrase": "2.0.0",
"@liskhq/lisk-transactions": "2.0.0",
"@types/node": "10.10.1"
},
"devDependencies": {
"@types/chai": "4.1.5",
"@types/expect": "1.20.3",
"@types/jquery": "3.3.22",
"@types/mocha": "5.2.5",
"browserify": "16.2.2",
"chai": "4.1.2",
"cypress": "3.1.0",
"http-server": "0.11.1",
"mocha": "5.2.0",
"nyc": "13.0.1",
"prettier": "1.14.2",
"source-map-support": "0.5.9",
"ts-node": "7.0.1",
"tsconfig-paths": "3.6.0",
"tslint": "5.11.0",
"tslint-config-prettier": "1.15.0",
"tslint-immutable": "4.7.0",
"typescript": "3.0.3",
"uglify-es": "3.3.9",
"wait-on": "3.0.1"
}
}