forked from yuanqing/charming
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·58 lines (58 loc) · 1.5 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
{
"name": "charming",
"version": "3.0.1",
"description": "Lettering.js in vanilla JavaScript",
"author": "Lim Yuan Qing",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/yuanqing/charming.git"
},
"devDependencies": {
"browserify": "^16.3.0",
"browserify-istanbul": "^3.0.1",
"gzip-size-cli": "^3.0.0",
"husky": "^3.0.0",
"lint-staged": "^9.2.0",
"mkdirp": "^0.5.1",
"nyc": "^14.1.1",
"prettier-standard": "^9.1.1",
"rimraf": "^2.6.3",
"standard": "^13.0.2",
"tape": "^4.11.0",
"tape-istanbul": "^1.2.0",
"tape-run": "^6.0.0",
"terser": "^4.1.2"
},
"scripts": {
"clean": "rimraf '*.log' coverage .nyc_output",
"coverage": "yarn run coverage-test && yarn run coverage-report",
"coverage-test": "rimraf .nyc_output && mkdirp .nyc_output && browserify test.js --plugin tape-istanbul/plugin | tape-run | tape-istanbul --output .nyc_output/coverage.json",
"coverage-report": "rimraf coverage && nyc report --reporter text --reporter html",
"fix": "prettier-standard '*.js'",
"lint": "standard '*.js'",
"test": "browserify test.js | tape-run",
"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": [
"kerning",
"lettering",
"letteringjs",
"span",
"typography"
]
}