@textlint/text-to-ast
Version:
Parse plain text to AST with location info.
60 lines (59 loc) • 1.51 kB
JSON
{
"name": "@textlint/text-to-ast",
"version": "15.5.2",
"description": "Parse plain text to AST with location info.",
"keywords": [
"ast",
"textlint",
"txt"
],
"homepage": "https://github.com/textlint/textlint/tree/master/packages/@textlint/text-to-ast/",
"bugs": {
"url": "https://github.com/textlint/textlint/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/textlint/textlint.git"
},
"license": "MIT",
"author": "azu",
"type": "commonjs",
"main": "lib/src/index.js",
"types": "lib/src/index.d.ts",
"directories": {
"example": "example",
"test": "test"
},
"files": [
"bin/",
"lib/",
"src/",
"!*.tsbuildinfo"
],
"scripts": {
"build": "tsc -b",
"clean": "rimraf lib/",
"crlf": "eolConverter crlf test/snapshots/crlf/input.txt && eolConverter crlf test/snapshots/crlf-empty-line/input.txt",
"prepack": "npm run --if-present build",
"pretest": "npm run crlf",
"test": "vitest run",
"test:watch": "vitest watch",
"updateSnapshot": "UPDATE_SNAPSHOT=1 npm test",
"watch": "tsc -b --watch"
},
"dependencies": {
"@textlint/ast-node-types": "15.5.2"
},
"devDependencies": {
"@textlint/ast-tester": "15.5.2",
"@types/node": "^24.10.13",
"eol-converter-cli": "^1.1.0",
"rimraf": "^6.1.3",
"typescript": "~5.8.3",
"vitest": "^3.2.4"
},
"publishConfig": {
"access": "public"
},
"gitHead": "7320c69be4665acc74186834b435a32d283c1be5"
}