Skip to content

Commit

Permalink
chore(package.json): package.json add init command (#2672)
Browse files Browse the repository at this point in the history
  • Loading branch information
HaixingOoO authored Dec 16, 2023
1 parent d908eb4 commit be08634
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"excludeAfterRemap": false
},
"scripts": {
"init": "git submodule init && git submodule update",
"start": "cd site && vite",
"dev": "cd site && vite",
"site": "cd site && vite build",
Expand All @@ -59,7 +60,7 @@
"build:tsc-cjs": "tsc --emitDeclarationOnly -d -p ./tsconfig.build.json --outDir cjs/",
"build:tsc-lib": "tsc --emitDeclarationOnly -d -p ./tsconfig.build.json --outDir lib/",
"changelog": "node script/generate-changelog.js",
"init": "node script/init-component",
"init:component": "node script/init-component",
"robot": "publish-cli robot-msg",
"prepare": "husky install"
},
Expand Down

0 comments on commit be08634

Please sign in to comment.