-
Notifications
You must be signed in to change notification settings - Fork 34
/
package.json
61 lines (61 loc) · 2.28 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
{
"name": "waves-api",
"version": "0.11.1",
"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/xenohunter/waves-api.git"
},
"main": "dist/waves-api.min.js",
"types": "raw/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-js": "^3.1.4"
},
"dependencies": {
"bignumber.js": "^4.1.0",
"crypto-js": "^3.1.9-1",
"node-fetch": "^1.7.3",
"ts-api-validator": "^2.0.0",
"ts-utils": "^5.3.0"
},
"scripts": {
"_build-partial": "node_modules/.bin/browserify raw/src/WavesAPI.js --im -s WavesAPI -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",
"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"
}
}