-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpackage.json
54 lines (54 loc) · 1.23 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
{
"name": "line-clamp",
"version": "1.0.0",
"description": "Line clamp a DOM element in vanilla JavaScript",
"author": "Lim Yuan Qing",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/yuanqing/line-clamp.git"
},
"devDependencies": {
"concurrently": "^4.1.1",
"gzip-size-cli": "^3.0.0",
"husky": "^3.0.0",
"lint-staged": "^9.2.0",
"open-cli": "^5.0.0",
"prettier-standard": "^9.1.1",
"sirv-cli": "^0.4.4",
"standard": "^13.0.2",
"terser": "^4.1.2",
"watchify": "^3.11.1"
},
"scripts": {
"start": "concurrently --raw \"watchify index.js --standalone lineClamp --outfile example/bundle.js\" \"sirv start example --port 8080 --quiet\" \"open 'http://0.0.0.0:8080/'\"",
"fix": "prettier-standard index.js",
"lint": "standard index.js",
"weight": "terser index.js --compress --mangle --toplevel | gzip-size"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"standard",
"git add"
]
},
"files": [
"index.js"
],
"keywords": [
"clamp",
"dom",
"ellipsis",
"html",
"line clamp",
"line-clamp",
"text",
"truncate",
"truncation"
]
}