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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
{
"author": {
"name": "Titus Wormer",
"email": "tituswormer@gmail.com",
"url": "http://wooorm.com"
},
"browser": {
"./decode-entity.js": "./decode-entity.browser.js"
},
"bugs": {
"url": "https://github.com/wooorm/parse-entities/issues"
},
"bundleDependencies": false,
"contributors": [
{
"name": "Titus Wormer",
"email": "tituswormer@gmail.com",
"url": "http://wooorm.com"
}
],
"dependencies": {
"character-entities": "^1.0.0",
"character-entities-legacy": "^1.0.0",
"character-reference-invalid": "^1.0.0",
"is-alphanumerical": "^1.0.0",
"is-decimal": "^1.0.0",
"is-hexadecimal": "^1.0.0"
},
"deprecated": false,
"description": "Parse HTML character references: fast, spec-compliant, positional information",
"devDependencies": {
"browserify": "^16.0.0",
"nyc": "^11.0.0",
"prettier": "^1.12.1",
"remark-cli": "^5.0.0",
"remark-preset-wooorm": "^4.0.0",
"tape": "^4.2.0",
"tape-run": "^4.0.0",
"tinyify": "^2.4.3",
"xo": "^0.20.0"
},
"files": [
"index.js",
"decode-entity.js",
"decode-entity.browser.js"
],
"homepage": "https://github.com/wooorm/parse-entities#readme",
"keywords": [
"parse",
"html",
"character",
"reference",
"entity",
"entities"
],
"license": "MIT",
"name": "parse-entities",
"nyc": {
"check-coverage": true,
"lines": 100,
"functions": 100,
"branches": 100
},
"prettier": {
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"bracketSpacing": false,
"semi": false,
"trailingComma": "none"
},
"remarkConfig": {
"plugins": [
"preset-wooorm"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/wooorm/parse-entities.git"
},
"scripts": {
"build": "npm run build-bundle && npm run build-mangle",
"build-bundle": "browserify . -s parseEntities > parse-entities.js",
"build-mangle": "browserify . -s parseEntities -p tinyify > parse-entities.min.js",
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
"test": "npm run format && npm run build && npm run test-coverage && npm run test-browser",
"test-api": "node test",
"test-browser": "browserify test.js | tape-run",
"test-coverage": "nyc --reporter lcov tape test.js"
},
"version": "1.2.0",
"xo": {
"prettier": true,
"esnext": false,
"rules": {
"unicorn/number-literal-case": "off",
"object-shorthand": "off",
"no-var": "off",
"prefer-arrow-callback": "off",
"guard-for-in": "off",
"no-negated-condition": "off",
"max-depth": "off",
"complexity": "off"
},
"ignores": [
"parse-entities.js"
]
}
}
|