1 | {
|
2 | "name": "truncate-html",
|
3 | "version": "1.1.2",
|
4 | "description": "Truncate HTML and Keep Tags",
|
5 | "main": "dist/truncate.cjs.js",
|
6 | "module": "dist/truncate.es.js",
|
7 | "types": "dist/truncate.d.ts",
|
8 | "source": "./src/truncate.ts",
|
9 | "files": [
|
10 | "dist"
|
11 | ],
|
12 | "scripts": {
|
13 | "dev": "ts-node ./test/demo.ts",
|
14 | "prebuild": "npm run test && npm run lint && npm run clean",
|
15 | "build": "parcel build src/truncate.ts --no-source-maps",
|
16 | "postbuild": "node ./scripts/post-build.js",
|
17 | "clean": "rimraf dist/*",
|
18 | "prepublish": "npm run build",
|
19 | "test": "jest",
|
20 | "test:server": "jest --watch",
|
21 | "lint": "eslint src --ext .ts"
|
22 | },
|
23 | "dependencies": {
|
24 | "cheerio": "1.0.0-rc.12"
|
25 | },
|
26 | "devDependencies": {
|
27 | "@parcel/packager-ts": "^2.12.0",
|
28 | "@parcel/transformer-typescript-types": "^2.12.0",
|
29 | "@types/jest": "^29.5.2",
|
30 | "@types/node": "^20.3.1",
|
31 | "@typescript-eslint/eslint-plugin": "^5.59.11",
|
32 | "@typescript-eslint/parser": "^5.59.11",
|
33 | "eslint": "^8.43.0",
|
34 | "jest": "^29.5.0",
|
35 | "parcel": "^2.12.0",
|
36 | "rimraf": "^5.0.1",
|
37 | "ts-jest": "^29.1.0",
|
38 | "ts-node": "^10.9.1",
|
39 | "typescript": "^5.1.3"
|
40 | },
|
41 | "repository": {
|
42 | "type": "git",
|
43 | "url": "git+https://oe@github.com/oe/truncate-html.git"
|
44 | },
|
45 | "keywords": [
|
46 | "truncate html",
|
47 | "html",
|
48 | "truncate"
|
49 | ],
|
50 | "author": {
|
51 | "name": "Saiya",
|
52 | "url": "https://github.com/oe"
|
53 | },
|
54 | "contributors": [
|
55 | {
|
56 | "name": "Caleb Eno",
|
57 | "url": "https://github.com/calebeno"
|
58 | },
|
59 | {
|
60 | "name": "Aaditya Thakkar",
|
61 | "url": "https://github.com/aaditya-thakkar"
|
62 | }
|
63 | ],
|
64 | "license": "MIT",
|
65 | "bugs": {
|
66 | "url": "https://github.com/oe/truncate-html/issues"
|
67 | },
|
68 | "homepage": "https://github.com/oe/truncate-html#readme"
|
69 | }
|