-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
47 lines (47 loc) · 1.89 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
43
44
45
46
47
{
"name": "eleventy-starter",
"version": "1.0.0",
"description": "Smaple blog with 11ty",
"author": "Jérôme Coupé",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/jeromecoupe/sample-11ty-blog.git"
},
"browserslist": [
"last 2 versions",
"not ie <= 11"
],
"scripts": {
"clean": "rimraf './dist'",
"images": "node \"./build_tasks/transform-images.js\"",
"serve": "browser-sync start --no-open --server \"./dist\" --files \"./dist\"",
"styles:prod": "sass --no-source-map --style=compressed \"src/assets/scss/main.scss\" \"dist/assets/css/main.css\"",
"styles:dev": "sass --embed-source-map --source-map-urls=absolute \"./src/assets/scss/main.scss\" \"dist/assets/css/main.css\"",
"poststyles:prod": "postcss dist/assets/css/main.css --replace --no-map --use autoprefixer cssnano",
"scripts:prod": "esbuild \"./src/assets/js/main.js\" --target=es6 --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 eleventy --quiet",
"watch:eleventy": "npx eleventy --quiet --watch",
"watch:styles": "onchange \"./src/assets/scss/**/*\" -- npm run styles:dev",
"watch:scripts": "onchange \"./src/assets/js/**/*\" -- npm run scripts:dev",
"build": "npm-run-all clean --parallel images styles:prod scripts:prod eleventy",
"watch": "npm-run-all --parallel serve watch:*"
},
"devDependencies": {
"@11ty/eleventy": "^0.12.1",
"autoprefixer": "^10.3.7",
"browser-sync": "^2.27.5",
"cssnano": "^5.0.8",
"esbuild": "^0.13.9",
"glob": "^7.2.0",
"moment": "^2.29.1",
"npm-run-all": "^4.1.5",
"onchange": "^7.1.0",
"postcss": "^8.3.11",
"postcss-cli": "^9.0.1",
"rimraf": "^3.0.2",
"sass": "^1.43.3",
"sharp": "^0.29.2"
}
}