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
/
package.json
93 lines (93 loc) · 3.65 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
{
"name": "@liskhq/lisk-cryptography",
"version": "2.0.0",
"description": "General cryptographic functions for use with Lisk-related software",
"author": "Lisk Foundation <admin@lisk.io>, lightcurve GmbH <admin@lightcurve.io>",
"license": "GPL-3.0",
"keywords": [
"lisk",
"blockchain"
],
"homepage": "https://github.com/LiskHQ/lisk-elements/tree/master/packages/lisk-cryptography#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": {
"transpile": "tsc",
"transpile:browsertest": "tsc -p tsconfig.browsertest.json",
"browserify": "browserify ./dist-node/index.js -o ./dist-browser/index.js -s liskCryptography",
"browserify:browsertest": "browserify ./browsertest.build/test/*.js -o ./browsertest.build/browsertest.js -s liskCryptography",
"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 \"*.{ts,json}\" \"{src,test}/**/*.{ts,json}\"",
"lint": "tslint --format verbose --project .",
"lint:fix": "npm run lint -- --fix",
"test": "TS_NODE_PROJECT=./test/tsconfig.json nyc mocha 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 11543 ./browsertest &",
"serve:stop": "kill $(lsof -t -i:11543) || true",
"pretest:browser": "npm run serve:stop && npm run build:browsertest && npm run serve:start",
"test:browser": "wait-on http://localhost:11543 && cypress run --config baseUrl=http://localhost:11543 --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": {
"@types/ed2curve": "0.2.2",
"@types/node": "10.12.0",
"browserify-bignum": "1.3.0-2",
"buffer-reverse": "1.0.1",
"ed2curve": "0.2.1",
"tweetnacl": "1.0.0",
"varuint-bitcoin": "1.1.0"
},
"optionalDependencies": {
"sodium-native": "2.2.1"
},
"devDependencies": {
"@types/jquery": "3.3.22",
"@types/mocha": "5.2.5",
"benchmark": "2.1.4",
"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",
"sinon": "6.2.0",
"sodium-native": "2.2.1",
"source-map-support": "0.5.9",
"ts-node": "7.0.1",
"tsconfig-paths": "3.6.0",
"tslint": "5.11.0",
"tslint-immutable": "4.8.0",
"typescript": "3.0.3",
"uglify-es": "3.3.9",
"wait-on": "3.0.1"
}
}