mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 10:56:15 -08:00
build all packages
This commit is contained in:
1 parent
590388125a
commit
88c7b5c2ff
2 files changed
+2
-2
No files matched your search
+2
-1
@@ -10,8 +10,9 @@
|
||||
"dev": "npx cross-env NODE_ENV=development node ./scripts/dev.js",
|
||||
"start": "npx cross-env NODE_ENV=development npx servor docs index.html 8080 5000",
|
||||
"build": "npx cross-env NODE_ENV=production node ./scripts/build.js",
|
||||
"build:all": "npm run build all && node ./scripts/creatTestFromDoc.js && git add . && git commit -m \"build all packages\" -n ",
|
||||
"build:all": "npm run build all && npm run test:doc && git add . && git commit -m \"build all packages\" -n ",
|
||||
"test": "npx cross-env NODE_ENV=test mocha-chrome ./test/index.html --mocha '{\"ui\":\"bdd\"}'",
|
||||
"test:doc": "node ./scripts/creatTestFromDoc.js",
|
||||
"lint": "npx eslint packages/*/src",
|
||||
"sizereport": "npx sizereport --config"
|
||||
},
|
||||
|
||||
@@ -7,7 +7,6 @@ const projects = require('./getProjects')();
|
||||
const creatRollupConfig = require('./creatRollupConfig');
|
||||
|
||||
const isBuildAll = process.argv.pop() === 'all';
|
||||
console.log(process.argv);
|
||||
|
||||
function build(projectPath) {
|
||||
const { input, output, plugins } = creatRollupConfig(projectPath);
|
||||
|
||||
Reference in new issue
Block a user