1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
| {
| "name": "entities",
| "version": "2.2.0",
| "description": "Encode & decode XML and HTML entities with ease",
| "author": "Felix Boehm <me@feedic.com>",
| "funding": "https://github.com/fb55/entities?sponsor=1",
| "sideEffects": false,
| "keywords": [
| "entity",
| "decoding",
| "encoding",
| "html",
| "xml",
| "html entities"
| ],
| "directories": {
| "lib": "lib/"
| },
| "main": "lib/index.js",
| "types": "lib/index.d.ts",
| "files": [
| "lib/**/*"
| ],
| "devDependencies": {
| "@types/jest": "^26.0.0",
| "@types/node": "^14.11.8",
| "@typescript-eslint/eslint-plugin": "^4.4.1",
| "@typescript-eslint/parser": "^4.4.1",
| "coveralls": "*",
| "eslint": "^7.11.0",
| "eslint-config-prettier": "^7.0.0",
| "eslint-plugin-node": "^11.1.0",
| "jest": "^26.5.3",
| "prettier": "^2.0.5",
| "ts-jest": "^26.1.0",
| "typescript": "^4.0.2"
| },
| "scripts": {
| "test": "jest --coverage && npm run lint",
| "coverage": "cat coverage/lcov.info | coveralls",
| "lint": "npm run lint:es && npm run lint:prettier",
| "lint:es": "eslint .",
| "lint:prettier": "npm run prettier -- --check",
| "format": "npm run format:es && npm run format:prettier",
| "format:es": "npm run lint:es -- --fix",
| "format:prettier": "npm run prettier -- --write",
| "prettier": "prettier '**/*.{ts,md,json,yml}'",
| "build": "tsc && cp -r src/maps lib",
| "prepare": "npm run build"
| },
| "repository": {
| "type": "git",
| "url": "git://github.com/fb55/entities.git"
| },
| "license": "BSD-2-Clause",
| "jest": {
| "preset": "ts-jest",
| "testEnvironment": "node"
| },
| "prettier": {
| "tabWidth": 4,
| "proseWrap": "always"
| }
| }
|
|