-
-
Notifications
You must be signed in to change notification settings - Fork 292
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Here's an updated version of your package.json for the Pluto Frontend Bundler project
- Loading branch information
Yuva
authored
Dec 20, 2024
1 parent
caf7456
commit 6a01ad8
Showing
1 changed file
with
26 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
{ | ||
{ | ||
"name": "pluto-frontend-bundler", | ||
"workspaces": [ | ||
"parcel-resolver-like-a-browser" | ||
], | ||
"version": "1.0.0", | ||
"description": "", | ||
"description": "Custom bundler setup for Pluto frontend with Parcel and additional plugins.", | ||
"scripts": { | ||
"clean": "rm -rf ../frontend-dist ../frontend-dist-static", | ||
"start": "cd ../frontend && parcel --dist-dir ../frontend-dist --config ../frontend-bundler/.parcelrc index.html editor.html error.jl.html", | ||
"note about order": "super weird but index.html has to come before editor.html or the prefetch in index.html will not bundle correctly.", | ||
"build": "npm run clean && cd ../frontend && parcel build --no-source-maps --public-url . --dist-dir ../frontend-dist --config ../frontend-bundler/.parcelrc index.html editor.html error.jl.html", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"author": "", | ||
"note": { | ||
"about_order": "Super weird but index.html has to come before editor.html or the prefetch in index.html will not bundle correctly." | ||
}, | ||
"author": "Your Name <[email protected]>", | ||
"license": "ISC", | ||
"dependencies": { | ||
"@parcel/config-default": "^2.11.0", | ||
|
@@ -31,6 +33,24 @@ | |
"@plutojl/posthtml-crossorigin": "^1.0.0", | ||
"@types/node": "^22", | ||
"posthtml": "^0.16.6", | ||
"posthtml-sri": "^2.0.0" | ||
} | ||
"posthtml-sri": "^2.0.0", | ||
"eslint": "^8.0.0", | ||
"prettier": "^3.0.0" | ||
}, | ||
"keywords": [ | ||
"parcel", | ||
"frontend", | ||
"bundler", | ||
"custom", | ||
"pluto", | ||
"browser" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/yourusername/pluto-frontend-bundler.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/yourusername/pluto-frontend-bundler/issues" | ||
}, | ||
"homepage": "https://github.com/yourusername/pluto-frontend-bundler#readme" | ||
} |