-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
69 lines (69 loc) · 1.72 KB
/
package.json
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
{
"name": "truncate-html",
"version": "1.1.2",
"description": "Truncate HTML and Keep Tags",
"main": "dist/truncate.cjs.js",
"module": "dist/truncate.es.js",
"types": "dist/truncate.d.ts",
"source": "./src/truncate.ts",
"files": [
"dist"
],
"scripts": {
"dev": "ts-node ./test/demo.ts",
"prebuild": "npm run test && npm run lint && npm run clean",
"build": "parcel build src/truncate.ts --no-source-maps",
"postbuild": "node ./scripts/post-build.js",
"clean": "rimraf dist/*",
"prepublish": "npm run build",
"test": "jest",
"test:server": "jest --watch",
"lint": "eslint src --ext .ts"
},
"dependencies": {
"cheerio": "1.0.0-rc.12"
},
"devDependencies": {
"@parcel/packager-ts": "^2.12.0",
"@parcel/transformer-typescript-types": "^2.12.0",
"@types/jest": "^29.5.2",
"@types/node": "^20.3.1",
"@typescript-eslint/eslint-plugin": "^5.59.11",
"@typescript-eslint/parser": "^5.59.11",
"eslint": "^8.43.0",
"jest": "^29.5.0",
"parcel": "^2.12.0",
"rimraf": "^5.0.1",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.1.3"
},
"repository": {
"type": "git",
"url": "git+https://[email protected]/oe/truncate-html.git"
},
"keywords": [
"truncate html",
"html",
"truncate"
],
"author": {
"name": "Saiya",
"url": "https://github.com/oe"
},
"contributors": [
{
"name": "Caleb Eno",
"url": "https://github.com/calebeno"
},
{
"name": "Aaditya Thakkar",
"url": "https://github.com/aaditya-thakkar"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/oe/truncate-html/issues"
},
"homepage": "https://github.com/oe/truncate-html#readme"
}