UNPKG

2.25 kBJSONView Raw
1{
2 "name": "html-entities",
3 "version": "2.3.2",
4 "description": "Fastest HTML entities encode/decode library.",
5 "keywords": [
6 "html",
7 "html entities",
8 "html entities encode",
9 "html entities decode",
10 "entities",
11 "entities encode",
12 "entities decode"
13 ],
14 "author": {
15 "name": "Marat Dulin",
16 "email": "mdevils@yandex.ru"
17 },
18 "dependencies": {},
19 "devDependencies": {
20 "@types/benchmark": "^2.1.0",
21 "@types/chai": "^4.2.11",
22 "@types/he": "^1.1.1",
23 "@types/mocha": "^7.0.2",
24 "@types/node": "^13.13.4",
25 "@typescript-eslint/eslint-plugin": "^4.6.1",
26 "@typescript-eslint/parser": "^4.6.1",
27 "benchmark": "^2.1.4",
28 "chai": "^4.2.0",
29 "entities": "^2.2.0",
30 "eslint": "^7.12.1",
31 "eslint-config-prettier": "^6.15.0",
32 "eslint-plugin-import": "^2.22.1",
33 "eslint-plugin-prettier": "^3.1.4",
34 "flowgen": "^1.13.0",
35 "he": "^1.2.0",
36 "husky": "^4.3.6",
37 "mocha": "^7.1.2",
38 "prettier": "^2.1.2",
39 "terser": "^5.6.1",
40 "ts-node": "^8.9.1",
41 "ttypescript": "^1.5.12",
42 "typescript": "^3.8.3",
43 "typescript-transform-macros": "^1.1.1"
44 },
45 "repository": {
46 "type": "git",
47 "url": "https://github.com/mdevils/html-entities.git"
48 },
49 "main": "./lib/index.js",
50 "typings": "./lib/index.d.ts",
51 "types": "./lib/index.d.ts",
52 "scripts": {
53 "test": "TS_NODE_COMPILER=ttypescript mocha --recursive -r ts-node/register test/**/*.ts",
54 "test:lib": "TEST_LIB=1 yarn test",
55 "benchmark": "TS_NODE_COMPILER=ttypescript ts-node benchmark/benchmark",
56 "lint": "eslint src/**.ts",
57 "flow-type-gen": "flowgen --add-flow-header lib/index.d.ts -o lib/index.js.flow",
58 "remove-unused-declarations": "find lib -type f \\( -name '*.d.ts' ! -name index.d.ts \\) | xargs rm",
59 "minimize-lib-files": "find lib -type f \\( -name '*.js' ! -name index.js \\) | while read fn; do terser $fn -o $fn; done",
60 "build": "rm -Rf lib/* && ttsc && yarn remove-unused-declarations && yarn flow-type-gen && yarn minimize-lib-files && yarn test:lib",
61 "prepublishOnly": "yarn build"
62 },
63 "files": [
64 "lib",
65 "LICENSE"
66 ],
67 "husky": {
68 "hooks": {
69 "pre-commit": "yarn lint && yarn test"
70 }
71 },
72 "license": "MIT"
73}