-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
130 lines (130 loc) · 9.75 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
128
129
130
{
"name": "cfd-js",
"version": "0.0.0",
"description": "cfd node.js api",
"scripts": {
"preinstall": "",
"install": "run-s cmake_clean cmake_install_configure cmake_compile",
"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",
"cmake_install_configure:linux": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDENABLE_TESTS=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 --CDTARGET_RPATH=\"@executable_path;./build/Release;./wrap_js/build/Release\" -C",
"example": "node wrap_js/example.js",
"elements_example": "node wrap_js/elements_example.js",
"elements_pegin_example": "node wrap_js/elements_pegin_example.js",
"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",
"format_all": "run-p code_format js_format",
"code_format": "clang-format -i --style=file src/*.cpp src/*.h include/cfdjs/*.h",
"js_format": "eslint wrap_js/ --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",
"cmake_configure:linux": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDTARGET_RPATH=./wrap_js/build/Release -g",
"cmake_configure:darwin": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDTARGET_RPATH=\"@executable_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=\"@executable_path;./wrap_js/build/Release\" -C -i",
"cmake_elem_off": "run-s cmake_elem_off_configure cmake_build",
"cmake_elem_off_configure": "run-script-os",
"cmake_elem_off_configure:win32": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDENABLE_ELEMENTS=off",
"cmake_elem_off_configure:linux": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDENABLE_ELEMENTS=off --CDTARGET_RPATH=./wrap_js/build/Release -g",
"cmake_elem_off_configure:darwin": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDENABLE_ELEMENTS=off --CDTARGET_RPATH=\"@executable_path;./wrap_js/build/Release\" -C",
"cmake_btc_off": "run-s cmake_btc_off_configure cmake_build",
"cmake_btc_off_configure": "run-script-os",
"cmake_btc_off_configure:win32": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDENABLE_BITCOIN=off",
"cmake_btc_off_configure:linux": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDENABLE_BITCOIN=off --CDTARGET_RPATH=./wrap_js/build/Release -g",
"cmake_btc_off_configure:darwin": "cmake-js configure -O wrap_js/build --CDENABLE_SHARED=on --CDENABLE_BITCOIN=off --CDTARGET_RPATH=\"@executable_path;./wrap_js/build/Release\" -C",
"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=\"@executable_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=\"@executable_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=\"@executable_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=\"@executable_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=\"@executable_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=\"@executable_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=\"@executable_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",
"test_all": "run-s ctest test",
"ctest": "cd wrap_js/build && ctest -C Release",
"ctest_debug": "cd wrap_js/build && ctest -C Debug",
"ctest_quiet": "cd wrap_js/build && ctest --quiet -C Release",
"test_cfdcore": "run-script-os",
"test_cfdcore:win32": "cd wrap_js/build/Release && cfdcore_test.exe",
"test_cfdcore:linux": "cd wrap_js/build/Release && ./cfdcore_test",
"test_cfdcore:darwin": "cd wrap_js/build/Release && ./cfdcore_test",
"test_cfd": "run-script-os",
"test_cfd:win32": "cd wrap_js/build/Release && cfd_test.exe",
"test_cfd:linux": "cd wrap_js/build/Release && ./cfd_test",
"test_cfd:darwin": "cd wrap_js/build/Release && ./cfd_test",
"lcov_output": "cd wrap_js/build && make lcov_cfdcore lcov_cfd",
"coverage": "run-s ctest_debug lcov_output",
"coverage_all": "run-s cmake_clean cmake_gcov_configure cmake_debug_build ctest_debug lcov_output",
"doxygen_check": "run-script-os",
"doxygen_check:win32": "cd doc && doxygen Doxyfile_quiet_all && rmdir /S /Q html_all_quiet",
"doxygen_check:linux": "cd doc && doxygen Doxyfile_quiet_all && rm -rf html_all_quiet",
"doxygen_check:darwin": "cd doc && doxygen Doxyfile_quiet_all && rm -rf html_all_quiet",
"lint_all": "run-s lint_check eslint_check",
"lint_check": "run-script-os",
"lint_check:win32": "cd tools && lint_all_quiet.bat",
"lint_check:linux": "cd tools && ./lint_quiet.sh",
"lint_check:darwin": "cd tools && ./lint_quiet.sh",
"eslint_check": "eslint wrap_js/ --quiet",
"git_subm_update": "git submodule -q foreach git fetch -q && git submodule -q update -i",
"check": "run-s doxygen_check ctest_quiet test_quiet example elements_example lint_all",
"check_all": "run-s cmake_clean git_subm_update cmake_quiet doxygen_check ctest_quiet test_quiet example elements_example lint_all"
},
"author": "",
"license": "MIT",
"gypfile": false,
"dependencies": {
"big-integer": "^1.6.26",
"bindings": "*",
"cmake-js": "^7.3.0",
"nan": "^2.14.0",
"node-addon-api": "^1.6.3",
"node-gyp": "^10.1.0",
"npm-run-all": "^4.1.5",
"run-script-os": "^1.0.5",
"tape": "^4.11.0"
},
"devDependencies": {
"eslint": "^6.5.1",
"eslint-config-google": "^0.14.0",
"jest": "^29.3.1"
}
}