From d567d0727c5ee72376ead5b7aa0195187a8d8381 Mon Sep 17 00:00:00 2001 From: Daniel Smith Date: Sat, 4 May 2019 21:53:39 -0400 Subject: Add Gulp for live theme editing Run `npm start` from terminal to launch an extension host window and start watching the TypeScript source files. You can still open VS Code and press F5 if using a version older than 1.30 (January 2019). --- package.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index 9d28320..515959b 100644 --- a/package.json +++ b/package.json @@ -7,14 +7,8 @@ "icon": "icon.png", "license": "GPL-3.0", "scripts": { - "clean": "node clean.js", - "build": "tsc", - "prerebuild": "npm run clean", - "rebuild": "npm run build", - "pregenerate": "npm run rebuild", - "generate": "node generate.js", - "start": "npm run generate", - "vscode:prepublish": "npm run generate" + "start": "code . --extensionDevelopmentPath=\"$(pwd)\" && npx gulp watch", + "vscode:prepublish": "npx gulp" }, "repository": { "type": "GitHub", @@ -63,7 +57,13 @@ "devDependencies": { "@types/node": "^10.12.0", "glob": "^7.1.3", + "gulp": "^4.0.1", + "gulp-clean": "^0.4.0", + "gulp-run": "^1.7.1", + "gulp-typescript": "^5.0.1", + "through2": "^3.0.1", "typescript": "^3.1.3", + "vinyl-file": "^3.0.0", "vscode-theme-generator": "0.0.21" } } \ No newline at end of file -- cgit v1.2.3