forked from X3I/waves-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 2.45 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
{
"name": "@waves/waves-api",
"version": "1.4.0",
"description": "Waves client-side API library",
"keywords": [
"cryptocurrency",
"waves",
"api",
"seed",
"transactions",
"cryptography",
"signature"
],
"author": {
"name": "Phil Filippak",
"email": "[email protected]",
"url": "https://github.com/xenohunter"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/wavesplatform/waves-api.git"
},
"main": "dist/waves-api.min.js",
"types": "raw/src/WavesAPI.d.ts",
"devDependencies": {
"@types/chai": "^4.0.4",
"@types/mocha": "^2.2.43",
"browserify": "^14.4.0",
"chai": "^4.1.2",
"karma": "^1.7.1",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^2.2.0",
"karma-commonjs": "^1.0.0",
"karma-mocha": "^1.3.0",
"karma-requirejs": "^1.1.0",
"karma-typescript": "^3.0.7",
"mocha": "^4.0.1",
"mock-require": "^2.0.2",
"requirejs": "^2.3.5",
"typescript": "^2.5.3",
"uglify-es": "^3.3.9"
},
"dependencies": {
"@waves/waves-signature-generator": "0.14.0",
"bignumber.js": "7.0.1",
"crypto-js": "3.1.9-1",
"node-fetch": "1.7.3",
"parse-json-bignumber": "0.0.2",
"ts-api-validator": "2.1.2",
"ts-utils": "6.0.1"
},
"scripts": {
"_build-partial": "node_modules/.bin/browserify raw/src/WavesAPI.js --im -s WavesAPI -u parse-json-bignumber -u bignumber.js -u crypto -u node-fetch -u ts-utils -u ts-api-validator > ./dist/waves-api.partial.js",
"_build-full": "node_modules/.bin/browserify raw/src/WavesAPI.js --im -s WavesAPI -u crypto -u node-fetch > ./dist/waves-api.js",
"build": "npm run compile && mkdir -p dist && npm run _build-partial && npm run _build-full && npm run uglifyjs && cp ./interfaces.d.ts ./raw/interfaces.d.ts",
"compile": "mkdir -p raw && ./node_modules/.bin/tsc -p ./tsconfig.json --declaration --outDir raw",
"uglifyjs": "node_modules/.bin/uglifyjs ./dist/waves-api.js -o ./dist/waves-api.min.js && node_modules/.bin/uglifyjs ./dist/waves-api.partial.js -o ./dist/waves-api.partial.min.js",
"prepublishOnly": "npm run build && npm run test && npm run test-browser",
"test": "npm run build && ./node_modules/.bin/tsc -p ./test/tsconfig.json && ./node_modules/.bin/mocha $(find ./tmp-node/test -name '*.spec.js')",
"test-browser": "npm run build && ./node_modules/.bin/tsc -p ./test/tsconfig.browser.json && ./node_modules/.bin/karma start karma.conf.js"
}
}