Skip to content

Commit 05b2943

Browse files
committed
prepublish scripts
1 parent 1670c94 commit 05b2943

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,16 @@
2828
"vsc-compile:server": "yarn build:sqlint && cd ./packages/server && yarn run prepare-vsc-extension",
2929
"test:server": "cd ./packages/server && yarn run test",
3030
"build:sqlint": "cd ./packages/sqlint && yarn run build",
31+
"build:server": "cd ./packages/server && yarn run compile:index",
3132
"watch": "run-p watch:client watch:server",
3233
"watch:client": "cd ./packages/client && yarn run watch",
3334
"watch:sqlint": "cd ./packages/sqlint && yarn run watch",
3435
"watch:server": "wait-on ./packages/sqlint/dist/src/index.js && cd ./packages/server && yarn run watch:index",
3536
"watch:dev-server:client": "cd ./example/monaco_editor && yarn run watch",
3637
"watch:dev-server:server": "wait-on ./packages/server/dist/src/index.js && cd ./example/monaco_editor && yarn run start",
3738
"dev": "yarn build:sqlint && run-p watch:sqlint watch:server watch:dev-server:client watch:dev-server:server",
38-
"vscode:prepublish": "yarn run vsc-compile"
39+
"vscode:prepublish": "yarn run vsc-compile",
40+
"npm:prepublish": "yarn build:sqlint && yarn build:server"
3941
},
4042
"engines": {
4143
"vscode": "^1.45.1"

0 commit comments

Comments
 (0)