confusablematcher-js-interop
Version:
TypeScript NAPI Interop for ConfusableMatcher.
122 lines (121 loc) • 4.22 kB
JSON
{
"name": "confusablematcher-js-interop",
"description": "TypeScript NAPI Interop for ConfusableMatcher.",
"version": "4.8.0",
"license": "MIT",
"contributors": [
"TETYYS",
"Robinlemonz"
],
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
"gypfile": true,
"sideEffects": false,
"files": [
"CMakeLists.txt",
"build/src",
"!build/src/ConfusableMatcher",
"src",
"!src/benchmark",
"!src/fuzzer",
"!src/examples",
"!src/ConfusableMatcher/bin",
"!src/ConfusableMatcher/CMakeFiles",
"!src/ConfusableMatcher/CMakeLists.txt",
"!src/ConfusableMatcher/UnitTests",
"!src/ConfusableMatcher/Fuzzing",
"!src/ConfusableMatcher/Export.*",
"!src/ConfusableMatcher/**/.git*",
"!src/ConfusableMatcher/sparsehash/build"
],
"engines": {
"node": ">=12.0.0"
},
"binary": {
"napi_versions": [
3
]
},
"repository": {
"type": "git",
"url": "https://github.com/TETYYS/ConfusableMatcher-js-interop.git"
},
"bugs": {
"url": "https://github.com/TETYYS/ConfusableMatcher-js-interop/issues"
},
"keywords": [
"napi",
"confusable",
"matcher",
"algorithm",
"c++",
"gyp",
"native"
],
"config": {
"runtime": "napi",
"target": 3
},
"scripts": {
"install": "prebuild-install || yon build:cpp",
"build:ts": "tsc -b tsconfig.build.json",
"build:cpp": "prebuild --backend cmake-js --verbose --runtime napi",
"build:cpp:debug": "rm -rf prebuilds && prebuild --backend cmake-js --verbose --runtime napi --debug",
"clean": "rimraf build coverage prebuilds src/ConfusableMatcher/sparsehash/build",
"test": "jest --verbose --passWithNoTests",
"test:watch": "yarn test --watchAll",
"test:coverage": "yarn test --coverage",
"example:zebra": "ts-node ./src/examples/zebra.ts",
"example:pool": "ts-node ./src/examples/pool/cluster.ts",
"benchmark": "ts-node ./src/benchmark",
"benchmark:debug": "yarn benchmark --loop --microtasks",
"benchmark:watch": "ts-node-dev --cls --rs --inspect --project tsconfig.build.json --respawn ./src/benchmark",
"fuzzer": "ts-node ./src/fuzzer",
"fuzzer:watch": "ts-node-dev --cls --rs --inspect --project tsconfig.build.json --respawn ./src/fuzzer",
"typecheck": "tsc -p tsconfig.build.json --noEmit",
"lint": "eslint --cache ./**/*.{js,ts}",
"lint:fix": "yarn lint --fix",
"format": "prettier --list-different ./**/*.{js,ts,json,md,yaml}",
"format:fix": "prettier --write ./**/*.{js,ts,json,md,yaml}",
"spelling": "cspell --config=.cspell.json ./**/*.{js,ts,md}"
},
"dependencies": {
"cmake-js": "^6.1.0",
"node-addon-api": "^4.0.0",
"prebuild-install": "^6.1.2"
},
"devDependencies": {
"@types/benchmark": "^2.1.0",
"@types/jest": "^27.0.1",
"@types/microtime": "^2.1.0",
"@types/node": "^15.0.2",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"benchmark": "^2.1.4",
"cspell": "^5.3.12",
"eslint": "^7.25.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-eslint-plugin": "^3.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.3.5",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-sort-keys-fix": "^1.1.1",
"husky": "^7.0.1",
"jest": "^26.6.3",
"lint-staged": "^11.0.0",
"microtime": "^3.0.0",
"prebuild": "^10.0.1",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"ts-jest": "^26.5.5",
"ts-node": "^10.0.0",
"ts-node-dev": "^1.1.6",
"typescript": "^4.2.4",
"yarn-or-npm": "^3.0.1"
},
"optionalDependencies": {
"segfault-handler": "^1.3.0"
}
}