-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
71 lines (71 loc) · 2.55 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
{
"name": "oplayer",
"version": "0.0.0",
"private": true,
"engines": {
"node": ">=16",
"pnpm": ">=6"
},
"author": "shiyiya",
"keywords": [
"oplayer",
"video-player"
],
"scripts": {
"watch": "pnpm --parallel run start",
"start": "pnpm run watch",
"dev": "pnpm --filter=!@oplayer/docs --parallel run start",
"dev:exam": "cd examples/standalone && pnpm run start",
"dev:ui": "pnpm --filter=@oplayer/ui run start",
"build": "pnpm --filter=!@oplayer/docs run build && cp -r packages/ui/dist/index.ui.js packages/core/dist",
"build:packs": "pnpm --filter=@oplayer/* run build && cp -r packages/ui/dist/index.ui.js packages/core/dist",
"build:core": "pnpm --filter=@oplayer/core run build",
"build:docs": "pnpm --filter=@oplayer/docs run build",
"build:plugins": "pnpm --filter=@oplayer/plugins run build",
"build:ui": "pnpm --filter=@oplayer/ui run build",
"build:cache": "nx run-many --target=build --all --parallel",
"build:affected": "nx Affected --target=build",
"graph": "nx dep-graph",
"clear": "rimraf 'packages/*/{dist,tsconfig.tsbuildinfo,node_modules,.rollup.cache}' && rimraf node_modules && rimraf docs",
"changeset": "changeset",
"release": "changeset publish",
"test": "vitest",
"coverage": "vitest run --coverage",
"lint": "prettier -w ./packages/*/**/*.ts"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-destructuring": "^7.25.9",
"@babel/plugin-transform-logical-assignment-operators": "^7.25.9",
"@babel/plugin-transform-nullish-coalescing-operator": "^7.25.9",
"@babel/plugin-transform-object-rest-spread": "^7.25.9",
"@babel/plugin-transform-parameters": "^7.25.9",
"@babel/plugin-transform-spread": "^7.25.9",
"@babel/plugin-transform-template-literals": "^7.25.9",
"@changesets/cli": "^2.27.9",
"@rollup/plugin-babel": "^6.0.4",
"@types/node": "^20.17.6",
"@vitejs/plugin-react": "^4.3.3",
"babel-plugin-syntax-trailing-function-commas": "^6.22.0",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"jsdom": "^24.1.3",
"lint-staged": "^15.2.10",
"nx": "^19.8.11",
"prettier": "^3.3.3",
"rimraf": "^5.0.10",
"terser": "^5.36.0",
"tslib": "^2.8.1",
"typescript": "^5.6.3",
"vite": "^5.4.11",
"vite-plugin-banner": "^0.7.1",
"vite-plugin-merge-exports": "^0.0.0",
"vitest": "^1.6.0"
},
"pnpm": {
"patchedDependencies": {
"[email protected]": "patches/[email protected]"
}
}
}