{
"name": "leac",
"version": "0.7.0",
"description": "Lexer / tokenizer",
"keywords": [
"lexer",
"tokenizer",
"lex",
"token"
],
"repository": {
"type": "git",
"url": "git+https://github.com/mxxii/leac.git"
},
"bugs": {
"url": "https://github.com/mxxii/leac/issues"
},
"homepage": "https://github.com/mxxii/leac",
"author": "KillyMXI",
"funding": "https://github.com/sponsors/KillyMXI",
"license": "MIT",
"exports": {
".": {
"import": {
"types": "./lib/leac.d.mts",
"default": "./lib/leac.mjs"
},
"require": {
"types": "./lib/leac.d.cts",
"default": "./lib/leac.cjs"
}
},
"./package.json": "./package.json"
},
"type": "module",
"main": "./lib/leac.cjs",
"module": "./lib/leac.mjs",
"types": "./lib/leac.d.cts",
"files": [
"lib"
],
"scripts": {
"benchmark:js": "node ./benchmarks/benchmark.js",
"benchmark:ts": "node --import ts-blank-space/register ./benchmarks/benchmark.ts",
"benchmark": "npm run benchmark:ts && npm run benchmark:js",
"build:docs": "typedoc",
"build:deno": "denoify",
"build:rollup": "rollup -c",
"build": "npm run clean && npm run build:rollup && npm run build:docs && npm run build:deno",
"check:all": "npm run check:tsc && npm run lint && npm test",
"check:tsc": "tsc",
"clean": "rimraf lib && rimraf docs && rimraf deno",
"example:calc": "node --import ts-blank-space/register ./examples/calc.ts",
"example:json": "node --import ts-blank-space/register ./examples/json.ts",
"lint:eslint": "eslint .",
"lint:md": "markdownlint-cli2",
"lint": "npm run lint:eslint && npm run lint:md",
"prepublishOnly": "npm run build && npm run check:all",
"test": "npm run test:ava-c8",
"test:ava": "ava",
"test:ava-c8": "c8 ava"
},
"devDependencies": {
"@rollup/plugin-typescript": "^12.1.4",
"@stylistic/eslint-plugin": "^5.3.1",
"@tsconfig/node20": "^20.1.6",
"@types/node": "20.19.13",
"@typescript-eslint/eslint-plugin": "^8.38.0",
"ava": "^6.4.1",
"c8": "^10.1.3",
"denoify": "^1.6.17",
"eslint": "^9.34.0",
"eslint-plugin-jsonc": "^2.20.1",
"eslint-plugin-tsdoc": "^0.4.0",
"iso-bench": "^3.0.0",
"markdownlint-cli2": "^0.18.1",
"rimraf": "^6.0.1",
"rollup": "^4.50.0",
"rollup-plugin-delete": "^3.0.1",
"rollup-plugin-dts": "^6.2.3",
"ts-blank-space": "^0.6.2",
"tslib": "^2.8.1",
"typedoc": "~0.28.12",
"typedoc-plugin-markdown": "~4.8.1",
"typescript": "~5.8.3",
"typescript-eslint": "^8.38.0"
},
"ava": {
"extensions": {
"ts": "module"
},
"files": [
"test/**/*"
],
"nodeArguments": [
"--import=ts-blank-space/register"
],
"verbose": true
},
"denoify": {
"out": "./deno"
}
}