-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
127 lines (127 loc) · 10.3 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "cfd-dlc-js",
"version": "0.0.10",
"description": "cfd-dlc node.js api",
"domain": "p2pderivatives",
"main": "index.js",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/cryptogarageinc/cfd-dlc-js.git"
},
"binary": {
"napi_versions": [
2,
3
]
},
"scripts": {
"postinstall": "if [ ! -f .no-postinstall ];then npm run install:prod;fi",
"install:prod": "prebuild-install --verbose && mkdir -p wrap_js/build && cp -r build/* wrap_js/build/ || run-s install_cmake",
"install_cmake": "run-s cmake_clean cmake_install_configure cmake_compile",
"prebuild_all": "run-s prebuild_nodejs prebuild_electron",
"prebuild_nodejs": "prebuild --backend cmake-js -t 12.18.1 -r node --verbose --include-regex \".*(node|a|so|dll|dylib)$\" -- -O build --CDENABLE_SHARED=off --CDENABLE_CAPI=off --CDENABLE_TESTS=off --CDENABLE_JSONAPI=off --CDENABLE_JS_WRAPPER=off --CDTARGET_RPATH=\"@executable_path;/usr/local/lib;/usr/local/lib64;./node_modules/cfd-dlc-js/wrap_js/build/Release;../node_modules/cfd-dlc-js/wrap_js/build/Release;../../node_modules/cfd-dlc-js/wrap_js/build/Release;../../../node_modules/cfd-dlc-js/wrap_js/build/Release;../../../../node_modules/cfd-dlc-js/wrap_js/build/Release;../../../../../node_modules/cfd-dlc-js/wrap_js/build/Release;../../../../../../node_modules/cfd-dlc-js/wrap_js/build/Release;./build/Release;./wrap_js/build/Release;./wrap_js/dl_lib/lib\" -C --CDnapi_build_version=3",
"prebuild_electron": "prebuild --backend cmake-js -t 7.0.0 -t 7.3.0 -t 8.0.0 -t 9.0.0 -r electron --verbose --include-regex \".*(node|a|so|dll|dylib)$\" -- -O build --CDENABLE_SHARED=off --CDENABLE_CAPI=off --CDENABLE_TESTS=off --CDENABLE_JSONAPI=off --CDENABLE_JS_WRAPPER=off --CDTARGET_RPATH=\"@executable_path;/usr/local/lib;/usr/local/lib64;\\$\\$ORIGIN/node_modules/cfd-dlc-js/wrap_js/build/Release;\\$ORIGIN/node_modules/cfd-dlc-js/wrap_js/build/Release;\\$ORIGIN/../node_modules/cfd-dlc-js/wrap_js/build/Release;\\$ORIGIN/../../node_modules/cfd-dlc-js/wrap_js/build/Release;\\$ORIGIN/../../../node_modules/cfd-dlc-js/wrap_js/build/Release;\\$ORIGIN/../../../../node_modules/cfd-dlc-js/wrap_js/build/Release;\\$ORIGIN/../../../../../node_modules/cfd-dlc-js/wrap_js/build/Release;\\$ORIGIN/../../../../../../node_modules/cfd-dlc-js/wrap_js/build/Release;\\$ORIGIN/build/Release;\\$ORIGIN/wrap_js/build/Release;\\$ORIGIN/wrap_js/dl_lib/lib\" -C --CDnapi_build_version=3",
"prebuild_upload_all": "prebuild --upload-all",
"cmake_compile": "cmake-js compile -O wrap_js/build",
"cmake_install_configure": "run-script-os",
"cmake_install_configure:win32": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDENABLE_TESTS=off --CDENABLE_CAPI=off --CDENABLE_JSONAPI=off --CDENABLE_JS_WRAPPER=off",
"cmake_install_configure:linux": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDENABLE_TESTS=off --CDENABLE_CAPI=off --CDENABLE_JSONAPI=off --CDENABLE_JS_WRAPPER=off --CDTARGET_RPATH=\"./build/Release;./wrap_js/build/Release\" -g",
"cmake_install_configure:darwin": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDENABLE_TESTS=off --CDENABLE_CAPI=off --CDENABLE_JSONAPI=off --CDENABLE_JS_WRAPPER=off --CDTARGET_RPATH=\"@loader_path;./build/Release;./wrap_js/build/Release\" -C",
"test": "jest --no-cache",
"test_watch": "jest --no-cache --watch",
"test_quiet": "jest --no-cache --silent",
"test_logging": "jest --no-cache --silent=false --verbose false",
"test_report": "cross-env JEST_JUNIT_OUTPUT_DIR=./reports/jest jest --reporters=default --reporters=jest-junit",
"test_integration": "jest --config jest.integration.config.js",
"format_all": "run-p code_format ts_format",
"code_format": "clang-format -i --style=file src/*.cpp src/*.h include/cfddlcjs/*.h",
"ts_format": "tslint -c tslint.json 'wrap_js/**/*.ts' 'integration_tests/__tests__/**/*.ts' --fix",
"cmake_all": "run-s cmake_configure cmake_build",
"cmake_configure": "run-script-os",
"cmake_configure:win32": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDENABLE_TESTS=off --CDENABLE_JSONAPI=off --CDENABLE_JS_WRAPPER=off",
"cmake_configure:linux": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDENABLE_TESTS=off --CDENABLE_JSONAPI=off --CDENABLE_JS_WRAPPER=off --CDTARGET_RPATH=./wrap_js/build/Release -g",
"cmake_configure:darwin": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDENABLE_TESTS=off --CDENABLE_JSONAPI=off --CDENABLE_JS_WRAPPER=off --CDTARGET_RPATH=\"@loader_path;./wrap_js/build/Release\" -C",
"cmake_quiet": "run-s cmake_quiet_configure cmake_quiet_build",
"cmake_quiet_configure": "run-script-os",
"cmake_quiet_configure:win32": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on -i",
"cmake_quiet_configure:linux": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDTARGET_RPATH=./wrap_js/build/Release -g -i",
"cmake_quiet_configure:darwin": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDTARGET_RPATH=\"@loader_path;./wrap_js/build/Release\" -C -i",
"cmake_log_all": "run-s cmake_log_configure cmake_build",
"cmake_log_configure": "run-script-os",
"cmake_log_configure:win32": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDCFDCORE_DEBUG=on",
"cmake_log_configure:linux": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDTARGET_RPATH=./wrap_js/build/Release --CDCFDCORE_DEBUG=on -g",
"cmake_log_configure:darwin": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDTARGET_RPATH=\"@loader_path;./wrap_js/build/Release\" --CDCFDCORE_DEBUG=on -C",
"cmake_con_all": "run-s cmake_con_configure cmake_build",
"cmake_con_configure": "run-script-os",
"cmake_con_configure:win32": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDCFDCORE_DEBUG=on --CDCFDCORE_LOG_CONSOLE=on",
"cmake_con_configure:linux": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDTARGET_RPATH=./wrap_js/build/Release --CDCFDCORE_DEBUG=on --CDCFDCORE_LOG_CONSOLE=on -g",
"cmake_con_configure:darwin": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDTARGET_RPATH=\"@loader_path;./wrap_js/build/Release\" --CDCFDCORE_DEBUG=on --CDCFDCORE_LOG_CONSOLE=on -C",
"cmake_debug_all": "run-s cmake_debug_configure cmake_debug_build",
"cmake_debug_configure": "run-script-os",
"cmake_debug_configure:win32": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on -D",
"cmake_debug_configure:linux": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDTARGET_RPATH=./wrap_js/build/Debug -g -D",
"cmake_debug_configure:darwin": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDTARGET_RPATH=\"@loader_path;./wrap_js/build/Debug\" -C -D",
"cmake_gcov_all": "run-s cmake_gcov_configure cmake_debug_build",
"cmake_gcov_configure": "run-script-os",
"cmake_gcov_configure:win32": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDENABLE_COVERAGE=on -D",
"cmake_gcov_configure:linux": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDENABLE_COVERAGE=on --CDTARGET_RPATH=./wrap_js/build/Debug -g -D",
"cmake_gcov_configure:darwin": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDENABLE_COVERAGE=on --CDTARGET_RPATH=\"@loader_path;./wrap_js/build/Debug\" -C -D",
"cmake_clang": "run-s cmake_clang_configure cmake_build",
"cmake_clang_configure": "run-script-os",
"cmake_clang_configure:win32": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on -C",
"cmake_clang_configure:linux": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDTARGET_RPATH=./wrap_js/build/Release -C",
"cmake_clang_configure:darwin": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDTARGET_RPATH=\"@loader_path;./wrap_js/build/Release\" -C",
"cmake_static": "run-s cmake_static_configure cmake_build",
"cmake_static_configure": "run-script-os",
"cmake_static_configure:win32": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=off",
"cmake_static_configure:linux": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=off --CDTARGET_RPATH=./wrap_js/build/Release -g",
"cmake_static_configure:darwin": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=off --CDTARGET_RPATH=\"@loader_path;./wrap_js/build/Release\" -C",
"cmake_static_debug": "run-s cmake_static_debug_configure cmake_debug_build",
"cmake_static_debug_configure": "run-script-os",
"cmake_static_debug_configure:win32": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=off --CDCFDCORE_DEBUG=on -D",
"cmake_static_debug_configure:linux": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=off --CDCFDCORE_DEBUG=on --CDTARGET_RPATH=./wrap_js/build/Release -g -D",
"cmake_static_debug_configure:darwin": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=off --CDCFDCORE_DEBUG=on --CDTARGET_RPATH=\"@loader_path;./wrap_js/build/Release\" -C -D",
"cmake_build": "cmake-js build -O wrap_js/build",
"cmake_debug_build": "cmake-js build -O wrap_js/build -D",
"cmake_quiet_build": "cmake-js build -O wrap_js/build -i",
"cmake_clean": "cmake-js clean -O wrap_js/build",
"tslint_check": "tslint -c tslint.json 'wrap_js/**/*.ts' 'integration_tests/**/*.ts' --quiet",
"convert_json": "ts-node ./tools/generate_json_map_class.ts",
"convert_json_debug": "ts-node ./tools/generate_json_map_class.ts mode=debug"
},
"author": "Crypto Garage Inc.",
"license": "MIT",
"gypfile": false,
"dependencies": {
"big-integer": "^1.6.26",
"cmake-js": "^6.1.0",
"nan": "^2.14.2",
"node-addon-api": "^1.6.3",
"node-gyp": "^5.0.2",
"npm-run-all": "^4.1.5",
"prebuild-install": "^5.3.5",
"run-script-os": "^1.1.5"
},
"devDependencies": {
"@types/jest": "^25.1.4",
"@types/node": "^13.13.18",
"@typescript-eslint/eslint-plugin": "^4.22.1",
"@typescript-eslint/parser": "^4.22.1",
"cfd-js": "github:cryptogarageinc/cfd-js#v0.3.6",
"cross-env": "^7.0.3",
"eslint": "^6.5.1",
"eslint-config-google": "^0.14.0",
"jest": "^26.6.3",
"jest-junit": "^10.0.0",
"prebuild": "^10.0.1",
"prettier": "^2.1.1",
"ts-jest": "^25.3.0",
"ts-morph": "^6.0.2",
"ts-node": "^8.6.2",
"tslint": "^6.1.3",
"tslint-plugin-prettier": "^2.3.0",
"typescript": "^3.9.7",
"wallet-for-testing-js": "git+https://github.com/cryptogarageinc/wallet-for-testing-js.git#v0.1.1"
}
}