Skip to content

Commit

Permalink
add cli
Browse files Browse the repository at this point in the history
  • Loading branch information
cenfun committed Jan 19, 2024
1 parent 9341f13 commit 34cbff4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"test-node-cdp": "node --inspect=9229 ./test/test-node-cdp.js",
"test-node-koa": "node ./test/test-node-koa.js",
"test-browser": "node ./test/test.js",
"test": "npm run test-browser && npm run test-node && npm run build-docs",
"cli": "npx mcr \"node ./test/test-node-env.js\" --outputDir=docs/cli",
"test-cli": "npx mcr \"node ./test/test-node-env.js\" --outputDir=docs/cli",
"test": "npm run test-browser && npm run test-node && npm run test-cli && npm run build-docs",
"dev": "sf d v8",
"open": "node ./scripts/open.js",
"patch": "npm run build && sf publish patch -r"
Expand Down
2 changes: 1 addition & 1 deletion test/test-node-env.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ foo();
bar();
app();

console.log(component, branch);
// console.log(component, branch);

component();
branch();

0 comments on commit 34cbff4

Please sign in to comment.