-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
56 lines (56 loc) · 1.87 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
{
"name": "captions-viewer",
"description": "Captions that follow along to the video.",
"keywords": [
"video",
"streaming",
"captions",
"component",
"events"
],
"license": "MIT",
"author": "Blair Liikala",
"homepage": "https://github.com/blairliikala/Caption-Reader",
"repository": "github:blairliikala/Caption-Reader",
"version": "0.9.0",
"type": "module",
"module": "index.js",
"browser": "index.js",
"scripts": {
"test": "web-test-runner \"test/**/*.test.js\" --node-resolve",
"analyze": "cem analyze --litelement",
"start": "web-dev-server",
"lint": "eslint --c .js,.html . --ignore-pattern .gitignore && prettier \"**/*.js\" --check --ignore-pattern .gitignore",
"format": "eslint --ext .js,.html . --fix --ignore-pattern .gitignore && prettier \"**/*.js\" --write --ignore-pattern .gitignore",
"version:bump": "npm version patch --no-git-tag-version --silent",
"prod": "yarn esbuild captions-viewer.js --format=esm --bundle --outdir=dist",
"prod:min": "yarn esbuild captions-viewer.js --format=esm --bundle --minify --outfile=./dist/captions-viewer.min.js",
"build": "npm run prod && npm run prod:min && npm run analyze",
"test:watch": "web-test-runner --watch"
},
"devDependencies": {
"@custom-elements-manifest/analyzer": "^0.9.0",
"@esm-bundle/chai": "^4.3",
"@open-wc/eslint-config": "^12.0.0",
"@open-wc/testing": "4.0.0",
"@web/dev-server": "^0.4.0",
"@web/test-runner": "^0.18.0",
"esbuild": "^0.20.0",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.0.0",
"prettier": "^3.0.0"
},
"unpkg": "./dist/captions-viewer.js",
"jsdelivr": "./dist/captions-viewer.js",
"customElements": "custom-elements.json",
"eslintConfig": {
"extends": [
"@open-wc",
"prettier"
]
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid"
}
}