UNPKG

@dozerg/end-of-line

Version:

Determine EOL based on given text and OS.

65 lines (64 loc) 1.66 kB
{ "name": "@dozerg/end-of-line", "version": "1.0.19", "description": "Determine EOL based on given text and OS.", "main": "dist/index.js", "types": "dist/index.d.ts", "private": false, "scripts": { "compile": "tsc", "compile:watch": "tsc -w", "build": "npm run compile", "test": "jest src/", "test:watch": "jest --watch src/", "clean": "rm -rf dist", "cleanall": "rm -rf dist node_modules *.tgz docs", "docs": "rm -rf docs && typedoc --plugin typedoc-plugin-markdown", "prepublishOnly": "npm run clean && npm i && tsc && jest src/ && eslint src/" }, "repository": { "type": "git", "url": "git+https://github.com/daidodo/end-of-line.git" }, "keywords": [ "eol", "newline", "end", "of", "line", "lf", "crlf", "linefeed" ], "author": "Zhao DAI <daidodo@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/daidodo/end-of-line/issues" }, "homepage": "https://github.com/daidodo/end-of-line#readme", "prettier": { "singleQuote": true, "trailingComma": "all", "printWidth": 100, "arrowParens": "avoid", "embeddedLanguageFormatting": "off" }, "jest": { "preset": "ts-jest", "testEnvironment": "node" }, "devDependencies": { "@eslint/js": "^9.17.0", "@tsconfig/recommended": "^1.0.8", "@types/babel__core": "^7.20.5", "@types/jest": "^29.5.14", "eslint": "^9.17.0", "jest": "^29.7.0", "prettier": "^3.4.2", "ts-jest": "^29.2.5", "typedoc": "^0.27.5", "typedoc-plugin-markdown": "^4.3.3", "typescript": "^5.7.2", "typescript-eslint": "^8.18.1" } }