update scripts

This commit is contained in:
Harvey committed 2021-12-03 09:28:50 +08:00
1 parent 57933711f8
commit 5550c284be
3 files changed
+4 -4

No files matched your search

+1 -3
View File
@@ -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"
+1 -1
View File
@@ -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",
+2
View File
@@ -1381,6 +1381,8 @@ describe("Document", function () {
fullscreenWeb: "", fullscreenWeb: "",
pip: "", pip: "",
indicator: "",
}, },
}); });