source: node_modules/entities/package.json@ 3d60932

Last change on this file since 3d60932 was 57e58a3, checked in by ste08 <sjovanoska@…>, 4 months ago

Initial commit

  • Property mode set to 100644
File size: 2.8 KB
Line 
1{
2 "name": "entities",
3 "version": "4.5.0",
4 "description": "Encode & decode XML and HTML entities with ease & speed",
5 "author": "Felix Boehm <me@feedic.com>",
6 "funding": "https://github.com/fb55/entities?sponsor=1",
7 "sideEffects": false,
8 "keywords": [
9 "entity",
10 "decoding",
11 "encoding",
12 "html",
13 "xml",
14 "html entities"
15 ],
16 "directories": {
17 "lib": "lib/"
18 },
19 "main": "lib/index.js",
20 "types": "lib/index.d.ts",
21 "module": "lib/esm/index.js",
22 "exports": {
23 ".": {
24 "require": "./lib/index.js",
25 "import": "./lib/esm/index.js"
26 },
27 "./lib/decode.js": {
28 "require": "./lib/decode.js",
29 "import": "./lib/esm/decode.js"
30 },
31 "./lib/escape.js": {
32 "require": "./lib/escape.js",
33 "import": "./lib/esm/escape.js"
34 }
35 },
36 "files": [
37 "lib/**/*"
38 ],
39 "engines": {
40 "node": ">=0.12"
41 },
42 "devDependencies": {
43 "@types/jest": "^28.1.8",
44 "@types/node": "^18.15.11",
45 "@typescript-eslint/eslint-plugin": "^5.58.0",
46 "@typescript-eslint/parser": "^5.58.0",
47 "eslint": "^8.38.0",
48 "eslint-config-prettier": "^8.8.0",
49 "eslint-plugin-node": "^11.1.0",
50 "jest": "^28.1.3",
51 "prettier": "^2.8.7",
52 "ts-jest": "^28.0.8",
53 "typedoc": "^0.24.1",
54 "typescript": "^5.0.4"
55 },
56 "scripts": {
57 "test": "npm run test:jest && npm run lint",
58 "test:jest": "jest",
59 "lint": "npm run lint:es && npm run lint:prettier",
60 "lint:es": "eslint .",
61 "lint:prettier": "npm run prettier -- --check",
62 "format": "npm run format:es && npm run format:prettier",
63 "format:es": "npm run lint:es -- --fix",
64 "format:prettier": "npm run prettier -- --write",
65 "prettier": "prettier '**/*.{ts,md,json,yml}'",
66 "build": "npm run build:cjs && npm run build:esm",
67 "build:cjs": "tsc --sourceRoot https://raw.githubusercontent.com/fb55/entities/$(git rev-parse HEAD)/src/",
68 "build:esm": "npm run build:cjs -- --module esnext --target es2019 --outDir lib/esm && echo '{\"type\":\"module\"}' > lib/esm/package.json",
69 "build:docs": "typedoc --hideGenerator src/index.ts",
70 "build:trie": "ts-node scripts/write-decode-map.ts",
71 "build:encode-trie": "ts-node scripts/write-encode-map.ts",
72 "prepare": "npm run build"
73 },
74 "repository": {
75 "type": "git",
76 "url": "git://github.com/fb55/entities.git"
77 },
78 "license": "BSD-2-Clause",
79 "jest": {
80 "preset": "ts-jest",
81 "coverageProvider": "v8",
82 "moduleNameMapper": {
83 "^(.*)\\.js$": "$1"
84 }
85 },
86 "prettier": {
87 "tabWidth": 4,
88 "proseWrap": "always"
89 }
90}
Note: See TracBrowser for help on using the repository browser.