mirror of
https://github.com/nodejs/node.git
synced 2026-12-06 10:08:47 -05:00
PR-URL: https://github.com/nodejs/node/pull/27670 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Refael Ackermann (רפאל פלחי) <refack@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
107 lines
2.6 KiB
JSON
107 lines
2.6 KiB
JSON
{
|
|
"author": {
|
|
"name": "Titus Wormer",
|
|
"email": "tituswormer@gmail.com",
|
|
"url": "https://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": "https://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": "^14.0.0",
|
|
"prettier": "^1.12.1",
|
|
"remark-cli": "^6.0.0",
|
|
"remark-preset-wooorm": "^4.0.0",
|
|
"tape": "^4.2.0",
|
|
"tape-run": "^6.0.0",
|
|
"tinyify": "^2.4.3",
|
|
"xo": "^0.24.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"
|
|
},
|
|
"react-native": {
|
|
"./decode-entity.js": "./decode-entity.js"
|
|
},
|
|
"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.2",
|
|
"xo": {
|
|
"prettier": true,
|
|
"esnext": false,
|
|
"rules": {
|
|
"no-self-compare": "off",
|
|
"guard-for-in": "off",
|
|
"max-depth": "off"
|
|
},
|
|
"ignores": [
|
|
"parse-entities.js"
|
|
]
|
|
}
|
|
} |