You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
2.2 KiB
73 lines
2.2 KiB
{ |
|
"name": "html-entities", |
|
"version": "2.3.2", |
|
"description": "Fastest HTML entities encode/decode library.", |
|
"keywords": [ |
|
"html", |
|
"html entities", |
|
"html entities encode", |
|
"html entities decode", |
|
"entities", |
|
"entities encode", |
|
"entities decode" |
|
], |
|
"author": { |
|
"name": "Marat Dulin", |
|
"email": "mdevils@yandex.ru" |
|
}, |
|
"dependencies": {}, |
|
"devDependencies": { |
|
"@types/benchmark": "^2.1.0", |
|
"@types/chai": "^4.2.11", |
|
"@types/he": "^1.1.1", |
|
"@types/mocha": "^7.0.2", |
|
"@types/node": "^13.13.4", |
|
"@typescript-eslint/eslint-plugin": "^4.6.1", |
|
"@typescript-eslint/parser": "^4.6.1", |
|
"benchmark": "^2.1.4", |
|
"chai": "^4.2.0", |
|
"entities": "^2.2.0", |
|
"eslint": "^7.12.1", |
|
"eslint-config-prettier": "^6.15.0", |
|
"eslint-plugin-import": "^2.22.1", |
|
"eslint-plugin-prettier": "^3.1.4", |
|
"flowgen": "^1.13.0", |
|
"he": "^1.2.0", |
|
"husky": "^4.3.6", |
|
"mocha": "^7.1.2", |
|
"prettier": "^2.1.2", |
|
"terser": "^5.6.1", |
|
"ts-node": "^8.9.1", |
|
"ttypescript": "^1.5.12", |
|
"typescript": "^3.8.3", |
|
"typescript-transform-macros": "^1.1.1" |
|
}, |
|
"repository": { |
|
"type": "git", |
|
"url": "https://github.com/mdevils/html-entities.git" |
|
}, |
|
"main": "./lib/index.js", |
|
"typings": "./lib/index.d.ts", |
|
"types": "./lib/index.d.ts", |
|
"scripts": { |
|
"test": "TS_NODE_COMPILER=ttypescript mocha --recursive -r ts-node/register test/**/*.ts", |
|
"test:lib": "TEST_LIB=1 yarn test", |
|
"benchmark": "TS_NODE_COMPILER=ttypescript ts-node benchmark/benchmark", |
|
"lint": "eslint src/**.ts", |
|
"flow-type-gen": "flowgen --add-flow-header lib/index.d.ts -o lib/index.js.flow", |
|
"remove-unused-declarations": "find lib -type f \\( -name '*.d.ts' ! -name index.d.ts \\) | xargs rm", |
|
"minimize-lib-files": "find lib -type f \\( -name '*.js' ! -name index.js \\) | while read fn; do terser $fn -o $fn; done", |
|
"build": "rm -Rf lib/* && ttsc && yarn remove-unused-declarations && yarn flow-type-gen && yarn minimize-lib-files && yarn test:lib", |
|
"prepublishOnly": "yarn build" |
|
}, |
|
"files": [ |
|
"lib", |
|
"LICENSE" |
|
], |
|
"husky": { |
|
"hooks": { |
|
"pre-commit": "yarn lint && yarn test" |
|
} |
|
}, |
|
"license": "MIT" |
|
}
|
|
|