未验证 提交 2912e024 编写于 作者: F Fatih Acet

Add preinstall script to install webview dependencies

上级 e1f643e5
{ {
"name": "gitlab-workflow", "name": "gitlab-workflow",
"version": "1.9.2", "version": "2.0.0-pre",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"name": "gitlab-workflow", "name": "gitlab-workflow",
"displayName": "GitLab Workflow", "displayName": "GitLab Workflow",
"description": "GitLab VSCode integration", "description": "GitLab VSCode integration",
"version": "1.9.3", "version": "2.0.0-alpha.1",
"publisher": "fatihacet", "publisher": "fatihacet",
"license": "MIT", "license": "MIT",
"repository": { "repository": {
...@@ -224,6 +224,7 @@ ...@@ -224,6 +224,7 @@
} }
}, },
"scripts": { "scripts": {
"preinstall": "cd src/webview ; yarn",
"postinstall": "node ./node_modules/vscode/bin/install", "postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test", "test": "node ./node_modules/vscode/bin/test",
"eslint": "eslint --max-warnings 0 --ext .js .", "eslint": "eslint --max-warnings 0 --ext .js .",
......
const fs = require('fs');
const path = require('path');
const vscode = require('vscode'); const vscode = require('vscode');
const openers = require('./openers'); const openers = require('./openers');
const tokenInput = require('./token_input'); const tokenInput = require('./token_input');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册