-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
55 lines (55 loc) · 1.63 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
{
"name": "@mpv-easy/mpsm-scripts",
"version": "0.1.9-alpha.6",
"files": ["bin", "dist", "es5", "bundle", "readme.md", "package.json"],
"description": "@mpv-easy/mpsm-scripts",
"main": "./dist/index.js",
"bin": "./bin/cli",
"types": "./dist/index.d.ts",
"scripts": {
"bundle": "esbuild ./src/*.ts --bundle --outdir=./bundle",
"meta": "tsx ./build/meta.ts",
"build": "tsc && pnpm run bundle && pnpm run es5 && pnpm run meta",
"dev": "chokidar 'src/**/*' -c 'pnpm run build' -d 3000 --initial",
"dev:copy": "chokidar 'src/**/*' -c 'pnpm run build && pnpm run copy' -d 3000 --initial",
"copy": "cp -r ./es5/*.js $MPV_SCRIPT_DIR/",
"es5": "babel --presets @babel/preset-env ./bundle -d es5 --plugins ./babel/hack.js",
"lint:fix": "biome lint ./ --write --unsafe",
"lint": "biome check --apply-unsafe ./",
"format": "biome format --write ./"
},
"keywords": [],
"author": "",
"license": "ISC",
"exports": {
"./*": "./dist/*.js"
},
"typesVersions": {
"*": {
"./*": ["./dist/*.d.ts"]
}
},
"devDependencies": {
"@babel/cli": "^7.25.7",
"@babel/core": "^7.25.8",
"@babel/preset-env": "^7.25.8",
"@babel/preset-typescript": "^7.25.7",
"@biomejs/biome": "^1.9.3",
"@chokidar-napi/chokidar": "0.1.3",
"@mpv-easy/autoload": "0.1.10",
"@mpv-easy/plugin": "0.1.10",
"@mpv-easy/polyfill": "0.1.10",
"@mpv-easy/tool": "0.1.10",
"@types/node": "^22.7.5",
"esbuild": "^0.24.0",
"tsx": "^4.19.1",
"typescript": "^5.6.3"
},
"browserslist": [
"iOS >= 9",
"Android >= 4.4",
"last 2 versions",
"> 0.2%",
"not dead"
]
}