From 881ebb6006eeedc799b408c99da2042ec6bc3d87 Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Mon, 23 May 2022 17:46:27 +0300 Subject: refactor(demo): migrate to Vite ditch parcel v1, and replace it with Vite. Vite is much faster and smaller, compared to parcel --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index 5a0e82c..590cc27 100644 --- a/package.json +++ b/package.json @@ -22,9 +22,9 @@ ], "scripts": { "build": "rimraf dist && tsc --sourceMap false && tsc -m commonjs --outDir dist/cjs --sourceMap false", - "build:demo": "parcel build demo/src/index.html -d demo/dist", + "build:demo": "vite build demo", "prepare": "husky install && npm run build", - "start": "parcel demo/src/index.html -d demo/build", + "start": "vite demo", "lint": "eslint src/**/*.ts demo/**/*.ts", "test": "npm run lint && jest", "test:watch": "jest --watch", @@ -50,7 +50,7 @@ "husky": "^6.0.0", "jest": "^26.1.0", "lint-staged": "^9.5.0", - "parcel-bundler": "^1.12.4", + "vite": "^2.9.9", "prettier": "^2.3.2", "rimraf": "^3.0.2", "ts-jest": "^26.1.2", -- cgit v1.2.3