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
+5 -5

No files matched your search

+2 -4
View File
@@ -4,13 +4,11 @@
"description": "ArtPlayer.js is a modern and full featured HTML5 video player",
"scripts": {
"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",
"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: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\"}'",
"lint": "npx eslint packages/*/src",
"sizereport": "npx sizereport --config"
@@ -77,4 +75,4 @@
"servor": "^4.0.2",
"travis-size-report": "^1.1.0"
}
}
}