-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
33 lines (33 loc) · 1.42 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
{
"name": "cheatsheet",
"description": "My tech blog & cheatsheets",
"license": "MIT",
"scripts": {
"clean": "rm -rf .cache cheatsheets; ",
"build": "rm -rf .cache cheatsheets; env NODE_ENV=production npm run build:eleventy && npm run build:sass",
"build:sass": "sass config/styles/index.scss cheatsheets/styles/index.min.css --no-source-map --style compressed",
"build:eleventy": "npx @11ty/eleventy --config=config/11ty/eleventy.config.js",
"serve": "rm -rf .cache cheatsheets; npm run build; LOCAL_STATIC=yes serve -p 8082",
"deploy": "npm run build && netlify deploy --prod --dir=cheatsheets",
"format": "prettier --write \"**/*.+(json|md|scss)\"",
"start": "rm -rf .cache cheatsheets; npm run watch:eleventy & npm run watch:sass",
"watch:eleventy": "npx @11ty/eleventy --config=config/11ty/eleventy.config.js --quiet --watch --port=8081 --serve",
"watch:sass": "sass ./config/styles/index.scss cheatsheets/styles/index.min.css --no-source-map --style compressed --watch",
"new": "node ./scripts/new"
},
"devDependencies": {
"@11ty/eleventy-plugin-syntaxhighlight": "^4.1.0",
"html-minifier": "^4.0.0",
"pagefind": "^1.0.3",
"prettier": "^2.7.1",
"sass": "^1.54.8"
},
"dependencies": {
"@11ty/eleventy": "2.0.1",
"@11ty/eleventy-fetch": "^3.0.0",
"child_process": "^1.0.2",
"markdown-it": "^13.0.1",
"nunjucks": "^3.2.4",
"serve": "^14.2.1"
}
}