UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

85 lines (84 loc) 3.16 kB
{ "name": "rc-js-util", "sideEffects": false, "version": "9.0.9-alpha.86", "license": "MIT", "scripts": { "clean": "rimraf bin cpp/build cpp/exported-names.txt docs dist tmp test-report", "test": "npm run test:js -- --ASAN && npm run test:cpp -- --cmake-preset=asan", "test:js": "node --expose-gc ./node_modules/jasmine/bin/jasmine.js --config=config/jasmine-node.mjs --", "test:cpp": "sh scripts/test-cpp-local.sh --output-junit ../../../test-report/ctest-results.xml", "copy-assets": "cp -r assets/release/* bin/", "build": "npm run build:ts && npm run copy-assets && npm run build:cpp -- --cmake-preset=asan", "build:ts": "tsc -p tsconfig.json --incremental", "build:cpp": "sh scripts/build-local.sh --bindings=bin/esm/cpp.module.js --cmake-dir=cpp --module-loader=mjs", "lib": "npm run clean && npm run build-lib-cjs && npm run build-lib-esm && npm run copy-assets && npm run build:cpp -- --skip-build", "build-lib-cjs": "tsc -d -p tsconfig-cjs.lib.json", "build-lib-esm": "tsc -d -p tsconfig-esm.lib.json", "generate-docs": "rimraf docs tmp && api-extractor run && api-documenter markdown --input-folder tmp --output-folder docs", "lint": "eslint -c .eslintrc.cjs src/", "ci": "sh scripts/ci-local.sh", "debug:browser": "jasmine-browser-runner serve --config=config/jasmine-browser.mjs -- --debug --ASAN", "debug:node": "node --expose-gc --inspect-brk node_modules/jasmine/bin/jasmine.js --config=config/jasmine-node.mjs -- --debug --ASAN" }, "dependencies": { "rc-js-util-globals": "^7.0.1", "tslib": "^2.6.2" }, "devDependencies": { "@microsoft/api-documenter": "~7.24.2", "@microsoft/api-extractor": "~7.43.1", "@types/jasmine": "^4.3.5", "@typescript-eslint/eslint-plugin": "~7.14.1", "@typescript-eslint/parser": "~7.14.1", "eslint": "~8.57.0", "eslint-plugin-import": "~2.29.1", "rc-lint-rules": "~10.0.1", "jasmine": "^5.1.0", "jasmine-browser-runner": "^2.1.0", "jasmine-core": "^5.1.0", "jasmine-reporters": "^2.5.2", "rimraf": "^4.4.1", "typescript": "~5.4.5" }, "bin": { "rc-build-cpp": "scripts/build-cpp.sh", "rc-build-local": "scripts/build-local.sh", "rc-ci-local": "scripts/ci-local.sh", "rc-test-cpp-local": "scripts/test-cpp-local.sh" }, "main": "bin/cjs/index.js", "typings": "bin/cjs/index.d.ts", "exports": { ".": { "import": { "types": "./bin/esm/index.d.ts", "default": "./bin/esm/index.js" }, "require": { "types": "./bin/cjs/index.d.ts", "default": "./bin/cjs/index.js" } }, "./config/jasmine-browser.mjs": { "default": "./config/jasmine-browser.mjs" }, "./config/jasmine-node.mjs": { "default": "./config/jasmine-node.mjs" }, "./config/jasmine-util.mjs": { "default": "./config/jasmine-util.mjs" } }, "keywords": [ "Util", "stdlib", "Server", "Client", "Browser", "Emscripten", "WebAssembly" ], "repository": "https://github.com/phuhgh/js-util", "homepage": "https://phuhgh.github.io/js-util/rc-js-util.html" }