forked from cryptogarageinc/cfd-js-wasm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 3.92 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
{
"name": "cfd-js-wasm",
"version": "0.4.3",
"domain": "cryptogarageinc",
"repository": {
"type": "git",
"url": "https://github.com/cryptogarageinc/cfd-js-wasm.git"
},
"description": "Crypto Finance Development Kit for WebAssembly.",
"author": "Crypto Garage",
"homepage": "https://github.com/p2pderivatives/cfd-js-wasm",
"bugs": {
"url": "https://github.com/p2pderivatives/cfd-js-wasm/issues"
},
"license": "MIT",
"main": "index.js",
"types": "index.d.ts",
"gypfile": false,
"scripts": {
"check_version": "node ./tools/checker.js version",
"example": "node wrap_js/example.js example",
"elements_example": "node wrap_js/example.js elements_example",
"ts_example": "ts-node wrap_js/ts_example.ts",
"test": "jest --no-cache",
"test_single": "jest --no-cache --runInBand",
"test_watch": "jest --no-cache --watch",
"test_quiet": "jest --no-cache --silent",
"test_logging": "jest --no-cache --silent=false --verbose false",
"format": "run-p format_cpp_all format_js_all",
"format_cpp_all": "run-s code_format lint_check",
"format_js_all": "run-s js_format eslint_check",
"format_all": "run-p code_format js_format",
"code_format": "clang-format -i --style=file src/*.cpp",
"js_format": "eslint --ext .js,.ts *.js tools/ wrap_js/ --fix",
"emcmake": "run-s cmake_clean emcmake_configure cmake_build_parallel",
"emcmake_configure": "run-script-os",
"emcmake_configure:win32": "emcmake cmake -S . -B build -G \"MinGW Makefiles\" -DENABLE_EMSCRIPTEN=on -DENABLE_SHARED=off -DENABLE_CAPI=off -DENABLE_TESTS=off -DENABLE_ELEMENTS=on -DGENERATE_WALLY=on -DENABLE_JS_WRAPPER=off -DCMAKE_BUILD_TYPE=Release",
"emcmake_configure:linux": "emcmake cmake -S . -B build -G \"Unix Makefiles\" -DENABLE_EMSCRIPTEN=on -DENABLE_SHARED=off -DENABLE_CAPI=off -DENABLE_TESTS=off -DENABLE_ELEMENTS=on -DGENERATE_WALLY=on -DENABLE_JS_WRAPPER=off -DCMAKE_BUILD_TYPE=Release",
"emcmake_configure:darwin": "emcmake cmake -S . -B build -G \"Unix Makefiles\" -DENABLE_EMSCRIPTEN=on -DENABLE_SHARED=off -DENABLE_CAPI=off -DENABLE_TESTS=off -DENABLE_ELEMENTS=on -DGENERATE_WALLY=on -DENABLE_JS_WRAPPER=off -DCMAKE_BUILD_TYPE=Release",
"cmake_build_parallel": "cmake --build build --parallel 2 --config Release",
"cmake_build_parallel_quick": "cmake --build build --parallel --config Release",
"cmake_clean": "del -d -f build",
"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",
"doxygen_dev": "cd doc && doxygen Doxyfile_quiet_all",
"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 --ext .js,.ts *.js wrap_js/",
"check_local": "run-p doxygen_dev format_cpp_all format_js_all",
"check": "run-p doxygen_check lint_all example elements_example ts_example test",
"test_example": "run-p example elements_example ts_example test",
"convert_json": "ts-node ./tools/generate_json_map_class.ts",
"convert_json_debug": "ts-node ./tools/generate_json_map_class.ts mode=debug",
"upgrade": "npx npm-check-updates --upgrade"
},
"dependencies": {
"@types/node": "^18.11.18"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2",
"del-cli": "^5.0.0",
"eslint": "^8.32.0",
"eslint-config-google": "^0.14.0",
"jest": "^29.3.1",
"npm-check-updates": "^16.6.2",
"npm-run-all": "^4.1.5",
"run-script-os": "^1.1.6",
"ts-morph": "^17.0.1",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
}
}