-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
54 lines (54 loc) · 1.85 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
48
49
50
51
52
53
54
{
"name": "11ty-sass-images-seo",
"description": "An 11ty starter with project scaffolding, Sass, image optimization, and SEO enhancements.",
"version": "1.0.0",
"license": "MIT (TODO: replace me)",
"author": "AleksandrHovhannisyan (TODO: replace me)",
"type": "module",
"scripts": {
"clean": "rimraf _site .cache",
"debug:html": "cross-env DEBUG=Eleventy* ELEVENTY_ENV=development npx @11ty/eleventy --serve --incremental --port=8080",
"serve": "npm-run-all --parallel serve:*",
"serve:html": "cross-env ELEVENTY_ENV=development npx @11ty/eleventy --serve --incremental --port=8080",
"serve:css": "sass --watch src/assets/styles:_site/assets/styles --style=expanded",
"build": "run-s build:html build:css",
"build:html": "cross-env ELEVENTY_ENV=production npx @11ty/eleventy",
"build:css": "sass src/assets/styles:_site/assets/styles --style=compressed",
"lint": "npm-run-all lint:*",
"lint:css": "stylelint --fix \"src/**/*.scss\"",
"lint:js": "eslint --cache --fix \"**/*.js\""
},
"devDependencies": {
"@11ty/eleventy": "3.0.0-beta.1",
"@11ty/eleventy-img": "5.0.0-beta.10",
"cross-env": "^7.0.3",
"eslint": "^8.22.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^4.3.0",
"lint-staged": "^10.4.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"rimraf": "^6.0.1",
"sass": "^1.69.5",
"slugify": "^1.6.5",
"stylelint": "^14.10.0",
"stylelint-config-standard-scss": "^5.0.0"
},
"browserslist": [
"last 2 chrome versions",
"last 3 safari versions",
"last 2 firefox versions",
"last 2 edge versions"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"post-checkout": "npm install"
}
},
"lint-staged": {
"*.js": "npm run lint:js:fix",
"*.scss": "npm run lint:css:fix"
}
}