-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathpackage.json
42 lines (42 loc) · 1.66 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"name": "webstoemp",
"description": "Personal website of Jérôme Coupé",
"version": "2.0.1",
"author": "Jérôme Coupé",
"license": "UNLICENSED",
"repository": {
"type": "git",
"url": "https://github.com/jeromecoupe/jeromecoupe.github.io"
},
"browserslist": [
"> 0.5%",
"not dead"
],
"type": "module",
"scripts": {
"server": "npx @11ty/eleventy --serve --quiet",
"clean": "rimraf './dist'",
"styles:dev": "lightningcss --bundle --browserslist \"./src/assets/css/main.css\" -o \"./dist/assets/css/main.css\"",
"styles:prod": "lightningcss --bundle --minify --browserslist \"./src/assets/css/main.css\" -o \"./dist/assets/css/main.css\"",
"scripts:prod": "esbuild \"./src/assets/js/main.js\" --target=\"es2020\" --bundle --minify --outfile=\"./dist/assets/js/main.bundle.js\"",
"scripts:dev": "esbuild \"./src/assets/js/main.js\" --target=es6 --bundle --outfile=\"./dist/assets/js/main.bundle.js\"",
"eleventy": "npx @11ty/eleventy --quiet",
"images": "node \"./build_tasks/generate-images.js\"",
"watch:scripts": "onchange \"./src/assets/js/**/*\" -- npm run scripts:dev",
"watch:styles": "onchange \"./src/assets/css/**/*\" -- npm run styles:dev",
"build": "npm-run-all clean --parallel images styles:prod scripts:prod eleventy",
"dev": "npm-run-all --parallel server watch:*"
},
"devDependencies": {
"@11ty/eleventy": "3.0.0",
"@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0",
"esbuild": "^0.24.2",
"glob": "^11.0.1",
"lightningcss-cli": "^1.29.1",
"luxon": "^3.5.0",
"npm-run-all": "^4.1.5",
"onchange": "^7.1.0",
"rimraf": "^6.0.1",
"sharp": "^0.33.5"
}
}