Fix scripts
This commit is contained in:
parent
f6227ce1c1
commit
f87cfab2bb
21
package.json
21
package.json
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "${EXTENSION_NAME}",
|
"name": "devchat",
|
||||||
"displayName": "${ASSISTANT_NAME_ZH}",
|
"displayName": "${ASSISTANT_NAME_ZH}",
|
||||||
"description": "Write prompts, not code",
|
"description": "Write prompts, not code",
|
||||||
"version": "0.1.74",
|
"version": "0.1.74",
|
||||||
@ -344,24 +344,21 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build:gui": "cd ./gui && yarn && yarn vscode",
|
|
||||||
"vscode:uninstall": "node ./dist/uninstall",
|
"vscode:uninstall": "node ./dist/uninstall",
|
||||||
"vscode:prepublish": "npm run package",
|
|
||||||
"compile": "webpack",
|
|
||||||
"watch": "node prebuild.js && webpack --watch",
|
|
||||||
"prebuild": "node prebuild.js",
|
"prebuild": "node prebuild.js",
|
||||||
"postbuild": "git checkout -- assets package.json",
|
"postbuild": "git checkout -- assets package.json",
|
||||||
|
"build:gui": "cd ./gui && yarn && yarn vscode",
|
||||||
|
"build": "webpack --config webpack.config.js && npm run build:gui",
|
||||||
"prepackage": "node prebuild.js",
|
"prepackage": "node prebuild.js",
|
||||||
"postpackage": "git checkout -- assets package.json",
|
"postpackage": "git checkout -- assets package.json",
|
||||||
"package": "webpack --mode production --devtool hidden-source-map",
|
"package": "webpack --mode production --devtool hidden-source-map && vsce package",
|
||||||
"compile-tests": "tsc -p . --outDir out",
|
"dev": "webpack serve --config webpack.config.js --open",
|
||||||
"watch-tests": "npm run prebuild && tsc -p . -w --outDir out",
|
"watch": "npm run prebuild && webpack --watch",
|
||||||
"pretest": "npm run compile-tests && npm run compile && npm run lint",
|
|
||||||
"lint": "eslint src --ext ts",
|
"lint": "eslint src --ext ts",
|
||||||
"test": "mocha",
|
"test": "mocha",
|
||||||
"build": "webpack --config webpack.config.js && cd ./gui && yarn && yarn vscode",
|
"pretest": "npm run compile-tests && npm run compile && npm run lint",
|
||||||
"dev": "webpack serve --config webpack.config.js --open",
|
"compile-tests": "tsc -p . --outDir out",
|
||||||
"idea": "webpack --config webpack.idea.config.js && mv dist/main.js dist/main.html ../devchat-intellij/src/main/resources/static && echo '🎆done'"
|
"watch-tests": "npm run prebuild && tsc -p . -w --outDir out"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.21.8",
|
"@babel/core": "^7.21.8",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user