UNPKG

@textlint/text-to-ast

Version:
62 lines (61 loc) 1.6 kB
{ "name": "@textlint/text-to-ast", "version": "14.8.4", "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", "module": "module/src/index.js", "types": "lib/src/index.d.ts", "directories": { "example": "example", "test": "test" }, "files": [ "bin/", "lib/", "module/", "src/", "!*.tsbuildinfo" ], "scripts": { "build": "tsc -b && tsc -b tsconfig.module.json", "clean": "rimraf lib/ module/", "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": "14.8.4" }, "devDependencies": { "@textlint/ast-tester": "14.8.4", "@types/node": "^18.19.111", "eol-converter-cli": "^1.1.0", "rimraf": "^6.0.1", "typescript": "~5.8.3", "vitest": "^3.2.3" }, "publishConfig": { "access": "public" }, "gitHead": "2733e1b81674a28437c8e52ca49f6c389e8e2b67" }