This repository has been archived by the owner on Jul 5, 2023. It is now read-only.
generated from shgysk8zer0/11ty-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
73 lines (73 loc) · 2.82 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "11ty-template",
"version": "1.0.0",
"description": "A GitHub template repo for projects using Eleventy & Netlify",
"private": true,
"type": "module",
"config": {
"icons": "./_data/icons.csv",
"serve": {
"domain": "localhost",
"path": "./",
"port": 8000
},
"dir": {
"css": "css/",
"js": "js/",
"img": "img/",
"html": "*.html _includes/*.html _layouts/*.html"
}
},
"main": "index.js",
"scripts": {
"test": "npm run lint",
"start": "npm run netlify",
"preinstall": "npm run git:submodules",
"postinstall": "npm run build",
"preversion": "npm test",
"create:lock": "npm i --package-lock-only",
"git:fetch": "git fetch --prune --tags",
"git:submodules": "if [ -f '.gitmodules' ]; then git submodule update --init --recursive; fi",
"lint": "npm run lint:js && npm run lint:css && npm run lint:html",
"lint:js": "if [ -f .eslintrc.json ]; then eslint . --ext .js,.cjs,.mjs; fi",
"lint:css": "if [ -f .stylelintrc.json ]; then stylelint './**.css'; fi",
"lint:html": "if [ -f .htmlhintrc ]; then htmlhint ${npm_package_config_dir_html}; fi",
"fix:css": "stylelint './**.css' --fix",
"fix:js": "eslint. --fix --ext .js,.cjs,.mjs",
"build": "npm run build:icons && npm run build:css && npm run build:js",
"build:site": "npx @11ty/eleventy",
"build:site:dev": "npx @11ty/eleventy --serve",
"build:css": "if [ -f 'postcss.config.js' ]; then postcss ${npm_package_config_dir_css}index.css -o ${npm_package_config_dir_css}index.min.css; fi",
"build:js": "if [ -f 'rollup.config.js' ]; then rollup --config; fi",
"build:icons": "if [ -f ${npm_package_config_icons} ]; then $(svg-sprite-generate -c ${npm_package_config_icons} -o 'img/icons.svg'); fi",
"serve:production": "npx @11ty/eleventy --serve",
"serve:dev": "npx @11ty/eleventy --serve",
"netlify": "if [ -f '.netlify/state.json' ]; then npm run netlify:live; else npm run netlify:serve; fi",
"netlify:deploy": "netlify deploy",
"netlify:serve": "netlify dev",
"netlify:live": "netlify dev --live",
"netlify:link": "netlify link",
"version:bump": "npm run version:bump:patch",
"version:bump:patch": "npm version --no-git-tag-version patch",
"version:bump:minor": "npm version --no-git-tag-version minor",
"version:bump:major": "npm version --no-git-tag-version major"
},
"repository": {
"type": "git",
"url": "git+https://github.com/shgysk8zer0/11ty-template.git"
},
"keywords": [
"11ty",
"eleventy",
"netlify"
],
"author": "Chris Zuber <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/shgysk8zer0/11ty-template/issues"
},
"homepage": "https://github.com/shgysk8zer0/11ty-template#readme",
"dependencies": {
"@shgysk8zer0/11ty-netlify": "^1.0.7"
}
}