-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
package.json
75 lines (75 loc) · 1.86 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
70
71
72
73
74
75
{
"name": "rabbit-lyrics",
"version": "2.1.1",
"description": "JavaScript audio and timed lyrics synchronizer",
"main": "dist/rabbit-lyrics.umd.production.min.js",
"module": "dist/rabbit-lyrics.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"scripts": {
"start": "tsdx watch --format esm,umd",
"build": "tsdx build --format esm,umd",
"docs:start": "parcel docs/index.html",
"docs:build": "parcel build docs/index.html -d docs-dist --public-url ./ --no-minify",
"docs:deploy": "npm run docs:build && gh-pages -d docs-dist",
"test": "tsdx test",
"lint": "tsdx lint",
"prepare": "tsdx build --format esm,umd",
"size": "size-limit",
"analyze": "size-limit --why",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/guoyunhe/rabbit-lyrics.git"
},
"keywords": [
"lyrics",
"audio",
"music"
],
"author": "Guo Yunhe",
"license": "GPL-3.0+",
"bugs": {
"url": "https://github.com/guoyunhe/rabbit-lyrics/issues"
},
"homepage": "https://guoyunhe.github.io/rabbit-lyrics/",
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"size-limit": [
{
"path": "dist/rabbit-lyrics.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/rabbit-lyrics.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@size-limit/preset-small-lib": "^4.9.2",
"autoprefixer": "^10.2.4",
"cssnano": "^4.1.10",
"gh-pages": "^3.1.0",
"husky": "^5.0.9",
"parcel-bundler": "^1.12.4",
"prismjs": "^1.23.0",
"rollup-plugin-postcss": "^4.0.0",
"size-limit": "^4.9.2",
"tsdx": "^0.14.1",
"tslib": "^2.1.0",
"typescript": "^3.9.9"
}
}