@fairfox/adorn
Version:
Powerfully performant keyword matching and annotation for the DOM
61 lines (60 loc) • 1.96 kB
JSON
{
"name": "@fairfox/adorn",
"description": "Powerfully performant keyword matching and annotation for the DOM",
"keywords": [
"annotate",
"annotation",
"flashtext",
"corasick",
"keyword-extraction",
"search-in-text"
],
"version": "1.0.24",
"exports": {
".": {
"import": "./build/index.js"
}
},
"author": "Alex Jeffcott",
"license": "MIT",
"homepage": "https://github.com/AlexJeffcott/adorn#readme",
"bugs": {
"url": "https://github.com/AlexJeffcott/adorn/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/AlexJeffcott/adorn.git"
},
"files": [
"build/*",
"build/**/*"
],
"main": "build/index.js",
"types": "build/index.d.ts",
"type": "module",
"scripts": {
"//base_scripts": "the building blocks of commandscripts go here",
"update": "npm-check-updates -u",
"setup": "printf \"NODE_ENV=DEVELOPMENT\" > .env",
"clean": "rm -rf src/*.js .temp* src/**/*.js src/*.d.ts src/**/*.d.ts build report",
"emit": "tsc -p tsconfig-notestfiles.json --declaration --emitDeclarationOnly --declarationMap --outDir build",
"build": "node .esbuildrc.js",
"test": "mocha-esbuild **/*.test.ts",
"testx": "mocha-esbuild --grep 'with a space in a semi-match before a real match' **/*.test.ts",
"eslint": "eslint --ignore-path .gitignore --ext .ts --fix .",
"types": "tsc --noEmit",
"prettier": "prettier --ignore-path .gitignore --write .",
"jscpd": "jscpd",
"checkPkg": "package-check",
"//dev_scripts": "building on base scripts for local development",
"emit:dev": "npm run emit -- --watch",
"test:dev": "npm run test -- --watch",
"build:dev": "npm run build -- --watch",
"//command_scripts": "the compositions of base_scripts go here",
"lint": "npm run types && npm run prettier && npm run eslint && npm run jscpd && npm run checkPkg",
"start": "concurrently \"npm:build:dev\" \"npm:emit:dev\" \"npm:test:dev\""
},
"dependencies": {
"lodash.throttle": "^4.1.1"
}
}