-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
54 lines (54 loc) · 2.34 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": "youtube-share-clip",
"version": "0.7.2",
"description": "Share sections of Youtube videos.",
"author": "Elias Papavasileiou",
"license": "ISC",
"type": "module",
"main": "src/extension.js",
"scripts": {
"prepare": "husky install",
"clean-init": "npm run deps:clean && npm run deps:install",
"test:headless": "npm run bundle:test && playwright test && npm run coverage:report",
"test:ui": "npm run bundle:prod && playwright test --ui",
"test:report": "playwright show-report",
"coverage:report": "nyc merge test-results/coverage/tmp test-results/coverage/result/coverage.json && nyc report -t test-results/coverage/result",
"deps:clean": "rimraf package-lock.json node_modules",
"deps:install": "npm i",
"deps:check": "ncu",
"deps:update": "ncu -u",
"bundle:clean": "rimraf build && mkdir build",
"bundle:code": "npm run bundle:clean && esbuild youtube-share-clip=src/extension.js popup=src/popup.html images/icon-16.png images/icon-32.png images/icon-48.png images/icon-128.png manifest.json --bundle --loader:.html=copy --loader:.png=copy --loader:.json=copy --target=es6 --outdir=build",
"bundle:test": "npm run bundle:clean && esbuild youtube-share-clip=src/extension.js popup=src/popup.html images/icon-16.png images/icon-32.png images/icon-48.png images/icon-128.png manifest.json --bundle --loader:.html=copy --loader:.png=copy --loader:.json=copy --target=es6 --outdir=build --sourcemap=inline",
"bundle:dev": "npm run bundle:code -- --watch",
"bundle:prod": "npm run bundle:code -- --minify",
"bundle:release": "npm run bundle:prod && ./scripts/createArtifact.js",
"lint:inspect": "eslint --inspect-config",
"lint:run": "eslint ."
},
"dependencies": {
"@sentry/browser": "7.109.0",
"@sentry/integrations": "7.109.0"
},
"devDependencies": {
"@commitlint/cli": "19.2.1",
"@commitlint/config-conventional": "19.1.0",
"@eslint/js": "9.0.0",
"@playwright/test": "1.46.1",
"archiver": "7.0.1",
"cz-conventional-changelog": "3.3.0",
"esbuild": "0.20.2",
"eslint": "9.0.0",
"eslint-plugin-jsdoc": "48.2.3",
"husky": "9.0.11",
"lint-staged": "15.2.2",
"npm-check-updates": "16.14.18",
"nyc": "17.0.0",
"prettier": "3.2.5",
"rimraf": "5.0.5",
"v8-to-istanbul": "9.3.0"
},
"engines": {
"node": ">=20.0.0"
}
}