forked from exwm/yt_clipper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 2.21 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
{
"name": "yt_clipper",
"author": "exwm",
"homepage": "https://openuserjs.org/scripts/elwm/yt_clipper",
"version": "5.11.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/exwm/yt_clipper"
},
"description": "Mark up YouTube videos and quickly generate clipped webms.",
"main": "./src/markup/yt_clipper.ts",
"browserslist": [
"since 2019 and > 0.5% and not op_mini all and not IE 11"
],
"scripts": {
"pretty:ts": "npx prettier \"src/**/*.{ts,js,json}\" --write",
"pretty:py": "poetry run isort src/clipper && poetry run black src/clipper",
"test:py": "poetry run pytest src/clipper -s --cov=src/clipper --cov-report=html",
"lint:py": "poetry run pylint src/clipper",
"build:ts": "npx tsc --watch",
"build:ts:ne": "npx tsc --noEmit --watch",
"build:ts:p": "run-s -c build:ts pretty",
"build:py": "poetry run pyinstaller ./src/clipper/yt_clipper.py -F --workpath ./dist/py/work/ --distpath ./dist/py/ --specpath ./dist/py/spec",
"build:all": "run-s -c build:ts:p build:py",
"bundle:w": "npx parcel watch --out-dir ./dist/js --no-hmr ./src/markup/yt_clipper.ts",
"bundle:tc:w": "run-p -c build:ts:ne bundle:w",
"bundle:prod": "npx parcel build --experimental-scope-hoisting --no-minify --out-dir ./dist/js ./src/markup/yt_clipper.ts",
"clean:dist": "rm -r ./dist/*",
"clean:sandbox": "rm -r ./sandbox/*",
"pigar": "pigar -P ./src/clipper -p ./src/clipper/requirements.txt --without-referenced-comments"
},
"dependencies": {
"common-tags": "^1.8.2",
"d3-drag": "^1.2.4",
"d3-ease": "^1.0.5",
"d3-selection": "^1.4.0",
"file-saver": "^2.0.5",
"immer": "^9.0.12",
"lodash.clonedeep": "^4.5.0",
"lodash.isequal": "^4.5.0"
},
"devDependencies": {
"browserslist": "^4.21.3",
"caniuse-lite": "^1.0.30001388",
"@types/chart.js": "^2.9.37",
"@types/common-tags": "^1.8.1",
"@types/d3-ease": "^1.0.9",
"@types/file-saver": "^2.0.5",
"@types/jszip": "^3.4.1",
"npm-run-all": "^4.1.5",
"parcel-bundler": "^1.12.5",
"prettier": "^2.7.1",
"typescript": "^4.8.2"
},
"alias": {
"jszip": ".parcel-globals/jszip.js",
"chart.js": ".parcel-globals/chart.js.js"
}
}