mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 17:51:20 -08:00
update scripts
This commit is contained in:
1 parent
57933711f8
commit
5550c284be
3 files changed
+5
-5
No files matched your search
+2
-4
@@ -4,13 +4,11 @@
|
|||||||
"description": "ArtPlayer.js is a modern and full featured HTML5 video player",
|
"description": "ArtPlayer.js is a modern and full featured HTML5 video player",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"bootstrap": "npx lerna bootstrap",
|
"bootstrap": "npx lerna bootstrap",
|
||||||
"version": "npx lerna version patch --yes",
|
|
||||||
"publish": "npx lerna publish from-package --yes",
|
|
||||||
"release": "npm run lint && npm run version && npm run build:all && npm test && npm run publish",
|
|
||||||
"dev": "npx cross-env NODE_ENV=development node ./scripts/dev.js",
|
"dev": "npx cross-env NODE_ENV=development node ./scripts/dev.js",
|
||||||
"start": "npx cross-env NODE_ENV=development npx servor docs index.html 8081 --reload --browse",
|
"start": "npx cross-env NODE_ENV=development npx servor docs index.html 8081 --reload --browse",
|
||||||
"build": "npx cross-env NODE_ENV=production node ./scripts/build.js",
|
"build": "npx cross-env NODE_ENV=production node ./scripts/build.js",
|
||||||
"build:all": "npm run build all && git add . && git commit -m \"build all packages\" -n",
|
"build:all": "npm run build all && git add . && git commit -m \"build all packages\" -n",
|
||||||
|
"test:create": "npx cross-env NODE_ENV=test node ./scripts/createTests.js",
|
||||||
"test": "npx cross-env NODE_ENV=test mocha-chrome ./test/index.html --mocha '{\"ui\":\"bdd\"}'",
|
"test": "npx cross-env NODE_ENV=test mocha-chrome ./test/index.html --mocha '{\"ui\":\"bdd\"}'",
|
||||||
"lint": "npx eslint packages/*/src",
|
"lint": "npx eslint packages/*/src",
|
||||||
"sizereport": "npx sizereport --config"
|
"sizereport": "npx sizereport --config"
|
||||||
@@ -77,4 +75,4 @@
|
|||||||
"servor": "^4.0.2",
|
"servor": "^4.0.2",
|
||||||
"travis-size-report": "^1.1.0"
|
"travis-size-report": "^1.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "artplayer",
|
"name": "artplayer",
|
||||||
"version": "4.0.2",
|
"version": "4.0.3",
|
||||||
"expose": "Artplayer",
|
"expose": "Artplayer",
|
||||||
"description": "ArtPlayer.js is a modern and full featured HTML5 video player",
|
"description": "ArtPlayer.js is a modern and full featured HTML5 video player",
|
||||||
"main": "dist/artplayer.js",
|
"main": "dist/artplayer.js",
|
||||||
|
|||||||
@@ -1381,6 +1381,8 @@ describe("Document", function () {
|
|||||||
fullscreenWeb: "",
|
fullscreenWeb: "",
|
||||||
|
|
||||||
pip: "",
|
pip: "",
|
||||||
|
|
||||||
|
indicator: "",
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user