Skip to content

Commit

Permalink
Replace Parcel to Vite
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Jan 10, 2022
1 parent 55a935a commit 3b56634
Show file tree
Hide file tree
Showing 7 changed files with 2,089 additions and 5,119 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
node_modules/

coverage/

test/demo/build
.parcel-cache
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ tsconfig.json
coverage/

img/
.parcel-cache
16 changes: 4 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"scripts": {
"test": "jest --coverage && eslint . && check-dts && size-limit",
"start": "parcel test/demo/index.html --dist-dir test/demo/build --open"
"start": "vite test/demo/ --open"
},
"engines": {
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
Expand All @@ -33,15 +33,7 @@
"@babel/core": "^7.16.7",
"@logux/eslint-config": "^46.1.1",
"@lukeed/uuid": "^2.0.0",
"@parcel/core": "^2.1.1",
"@parcel/optimizer-cssnano": "^2.1.1",
"@parcel/optimizer-htmlnano": "^2.1.1",
"@parcel/packager-css": "^2.1.1",
"@parcel/packager-html": "^2.1.1",
"@parcel/transformer-css": "^2.1.1",
"@parcel/transformer-html": "^2.1.1",
"@parcel/transformer-postcss": "^2.1.1",
"@parcel/transformer-posthtml": "^2.1.1",
"@originjs/vite-plugin-commonjs": "^1.0.2",
"@size-limit/dual-publish": "^7.0.5",
"@size-limit/file": "^7.0.5",
"@size-limit/webpack": "^7.0.5",
Expand All @@ -58,7 +50,6 @@
"eslint-plugin-prefer-let": "^3.0.1",
"eslint-plugin-promise": "^6.0.0",
"jest": "^27.4.7",
"parcel": "^2.1.1",
"picocolors": "^1.0.0",
"postcss": "^8.4.5",
"rndm": "^1.2.0",
Expand All @@ -69,7 +60,8 @@
"typescript": "^4.5.4",
"uid": "^2.0.0",
"uid-safe": "^2.1.5",
"uuid": "^8.3.2"
"uuid": "^8.3.2",
"vite": "^2.7.10"
},
"size-limit": [
{
Expand Down
Loading

0 comments on commit 3b56634

Please sign in to comment.