Initial commit
This commit is contained in:
commit
89053153cc
8152 files changed
+2086461
No files matched your search
+83
@@ -0,0 +1,83 @@
|
||||
{
|
||||
"name": "entities",
|
||||
"version": "8.1.0",
|
||||
"description": "Encode & decode XML and HTML entities with ease & speed",
|
||||
"keywords": [
|
||||
"html entities",
|
||||
"entity decoder",
|
||||
"entity encoding",
|
||||
"html decoding",
|
||||
"html encoding",
|
||||
"xml decoding",
|
||||
"xml encoding"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/fb55/entities.git"
|
||||
},
|
||||
"funding": "https://github.com/fb55/entities?sponsor=1",
|
||||
"license": "BSD-2-Clause",
|
||||
"author": "Felix Boehm <me@feedic.com>",
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"./decode": {
|
||||
"types": "./dist/decode.d.ts",
|
||||
"default": "./dist/decode.js"
|
||||
},
|
||||
"./escape": {
|
||||
"types": "./dist/escape.d.ts",
|
||||
"default": "./dist/escape.js"
|
||||
}
|
||||
},
|
||||
"main": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"files": [
|
||||
"dist",
|
||||
"src",
|
||||
"!**/*.spec.ts"
|
||||
],
|
||||
"scripts": {
|
||||
"benchmark": "node --import=tsx scripts/benchmark.ts",
|
||||
"build": "tsc",
|
||||
"build:docs": "typedoc --hideGenerator src/index.ts",
|
||||
"build:encode-trie": "node --import=tsx scripts/write-encode-map.ts",
|
||||
"build:trie": "node --import=tsx scripts/write-decode-map.ts",
|
||||
"format": "npm run format:es && npm run format:biome",
|
||||
"format:biome": "biome check --fix .",
|
||||
"format:es": "npm run lint:es -- --fix",
|
||||
"lint": "npm run lint:es && npm run lint:ts && npm run lint:biome",
|
||||
"lint:biome": "biome check .",
|
||||
"lint:es": "eslint .",
|
||||
"lint:ts": "tsc --noEmit -p tsconfig.eslint.json",
|
||||
"prepublishOnly": "npm run build",
|
||||
"test": "npm run test:vi && npm run lint",
|
||||
"test:vi": "vitest run"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^2.5.12",
|
||||
"@eslint/compat": "^2.1.1",
|
||||
"@feedic/eslint-config": "^0.5.0",
|
||||
"@types/he": "^1.2.3",
|
||||
"@types/node": "^26.4.1",
|
||||
"eslint": "^10.10.0",
|
||||
"eslint-config-biome": "^2.1.3",
|
||||
"globals": "^17.12.0",
|
||||
"he": "^1.2.0",
|
||||
"html-entities": "^2.6.0",
|
||||
"parse-entities": "^4.0.2",
|
||||
"tinybench": "^6.1.5",
|
||||
"tsx": "^4.23.13",
|
||||
"typedoc": "^0.28.20",
|
||||
"typescript": "^6.0.3",
|
||||
"typescript-eslint": "^8.69.0",
|
||||
"vitest": "^5.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.19.0"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user