mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-21 04:31:20 -08:00
chore: Update npmClient to use yarn instead of lerna bootstrap
This commit is contained in:
1 parent
2665177532
commit
2b8c1e2d32
1 file changed
+5
-2
+5
-2
@@ -3,9 +3,11 @@
|
|||||||
"version": "5.1.0",
|
"version": "5.1.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "ArtPlayer.js is a modern and full featured HTML5 video player",
|
"description": "ArtPlayer.js is a modern and full featured HTML5 video player",
|
||||||
|
"workspaces": [
|
||||||
|
"packages/*"
|
||||||
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build:all": "npm run build all && npm run build:i18n && npm run build:sw && npm run build:ts && npm run build:docs",
|
"build:all": "npm run build all && npm run build:i18n && npm run build:sw && npm run build:ts && npm run build:docs",
|
||||||
"bootstrap": "npx lerna bootstrap",
|
|
||||||
"lint": "npx eslint packages/*/src",
|
"lint": "npx eslint packages/*/src",
|
||||||
"build:sw": "node ./scripts/build-sw.js",
|
"build:sw": "node ./scripts/build-sw.js",
|
||||||
"build:ts": "node ./scripts/build-ts.js",
|
"build:ts": "node ./scripts/build-ts.js",
|
||||||
@@ -15,7 +17,8 @@
|
|||||||
"dev": "npx cross-env NODE_ENV=development node ./scripts/dev.js",
|
"dev": "npx cross-env NODE_ENV=development node ./scripts/dev.js",
|
||||||
"build": "npx cross-env NODE_ENV=production node ./scripts/build.js",
|
"build": "npx cross-env NODE_ENV=production node ./scripts/build.js",
|
||||||
"prettier": "npx prettier --write .",
|
"prettier": "npx prettier --write .",
|
||||||
"postinstall": "npm run bootstrap"
|
"postinstall": "npx lerna run prepare",
|
||||||
|
"bootstrap": "npx lerna link"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Reference in new issue
Block a user