UNPKG

leac

Version:
105 lines (104 loc) 2.88 kB
{ "name": "leac", "version": "0.7.0-preview.1", "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": "tsimp ./benchmarks/benchmark.ts", "benchmark": "npm run benchmark:ts && npm run benchmark:js", "build:docs": "typedoc", "build:deno": "denoify && replace-in-file \"/\\.ts\\/index.ts/g\" \".ts\" deno/**/*.ts", "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": "tsimp ./examples/calc.ts", "example:json": "tsimp ./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.2", "@stylistic/eslint-plugin": "^4.0.1", "@tsconfig/node18": "^18.2.4", "@types/node": "18.19.76", "@typescript-eslint/eslint-plugin": "^8.25.0", "ava": "^6.2.0", "c8": "^10.1.3", "denoify": "^1.6.16", "eslint": "^9.21.0", "eslint-plugin-jsonc": "^2.19.1", "eslint-plugin-tsdoc": "^0.4.0", "iso-bench": "^2.4.7", "markdownlint-cli2": "^0.17.2", "replace-in-file": "^8.3.0", "rimraf": "^6.0.1", "rollup": "^4.34.8", "rollup-plugin-delete": "^3.0.0", "rollup-plugin-dts": "^6.1.1", "ts-blank-space": "^0.6.0", "tsimp": "^2.0.12", "typedoc": "~0.27.9", "typedoc-plugin-markdown": "~4.4.2", "typescript": "~5.7.3", "typescript-eslint": "^8.25.0" }, "ava": { "extensions": { "ts": "module" }, "files": [ "test/**/*" ], "nodeArguments": [ "--import=ts-blank-space/register" ], "verbose": true }, "denoify": { "out": "./deno" } }