-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 3.71 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
74
75
76
77
78
79
80
81
82
{
"name": "joshcarpenter.ca",
"description": "Personal site of Josh Carpenter, containing design portfolio, notes, and blog posts",
"version": "1.0.0",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/jcarpenter/joshcarpenter.ca"
},
"scripts": {
"clean": "rm -rf _site && mkdir _site",
"copy:prism": "cpy 'src/styles/prism/**' '_site/styles/prism'",
"copy:fonts": "cpy 'src/fonts/**' '_site/fonts'",
"copy:json": "cpy 'js/**/*.json' '../_site/' --cwd=src --parents",
"copy:js:third-party": "cpy 'js/third-party/**/*' '../_site/' --cwd=src --parents",
"copy:pdf": "cpy 'src/pdf/**' '_site/pdf'",
"copy:video": "cpy 'video/**/*' '../_site/' --cwd=src --parents",
"copy": "run-p copy:*",
"images": "mkdir -p _site/img && node utils/optimize-images.js",
"sass:dev": "sass src/styles:_site/styles --no-error-css --update --style=expanded",
"sass:build": "sass src/styles:_site/styles --no-error-css --no-source-map --style=compressed",
"js:dev": "cpy 'js/*.js' '../_site/' --cwd=src --parents",
"js:build": "npx eslint --fix 'src/js/*.js' && npx babel 'src/js/*.js' --presets minify --out-dir _site/js",
"eleventy": "npx @11ty/eleventy --quiet",
"format-html": "prettier '_site/**/*.html' --write --no-config --loglevel warn",
"browsersync": "browser-sync start --server '_site' --watch --reload-delay 200 --reload-debounce 2000 --no-open --no-notify --no-ghost-mode",
"watch:css": "onchange 'src/styles/*.scss' -d 250 -- npm run sass:dev",
"watch:js": "onchange 'src/js/*.js' -d 250 -- npm run js:dev",
"watch:json": "onchange 'js/**/*.json' -d 250 -- npm run copy:json",
"watch:eleventy": "onchange 'src/**/*.{md,njk}' '.eleventy.js' 'utils/**/*.js' -d 250 -- run-s eleventy images",
"watch": "run-p watch:*",
"serve": "npm run browsersync & npm run watch",
"dev": "npm run clean && run-p copy sass:dev js:dev && run-s eleventy images serve",
"build": "NODE_NO_WARNINGS=1 npm run clean && run-p copy sass:build js:build && run-s eleventy images format-html"
},
"author": "Josh Carpenter <[email protected]>",
"license": "MIT",
"devDependencies": {
"@11ty/eleventy": "^1.0.0",
"@11ty/eleventy-plugin-syntaxhighlight": "^4.0.0",
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@colors/colors": "^1.5.0",
"@toycode/markdown-it-class": "^1.2.4",
"axios": "^0.26.0",
"babel-preset-minify": "^0.5.1",
"browser-sync": "^2.26.7",
"cheerio": "^1.0.0-rc.3",
"citeproc": "^2.4.62",
"cpy-cli": "^3.1.1",
"eslint": "^8.7.0",
"eslint-config-google": "^0.14.0",
"fs": "0.0.1-security",
"globby": "^13.1.1",
"gray-matter": "^4.0.3",
"image-size": "^1.0.1",
"markdown-it": "^12.2.0",
"markdown-it-anchor": "^8.3.1",
"markdown-it-attrs": "^4.0.0",
"markdown-it-bracketed-spans": "^1.0.1",
"markdown-it-div": "^1.1.0",
"markdown-it-header-sections": "^1.0.0",
"markdown-it-implicit-figures": "^0.10.0",
"markdown-it-mark": "^3.0.1",
"markdown-it-modify-token": "^1.0.2",
"markdown-it-sub": "^1.0.0",
"markdown-it-sup": "^1.0.0",
"npm-run-all": "^4.1.5",
"nunjucks-date-filter": "^0.1.1",
"onchange": "^7.1.0",
"path": "^0.12.7",
"prettier": "^2.5.1",
"sass": "^1.49.8",
"sharp": "^0.30.1",
"slugify": "^1.6.0",
"svgo": "^2.8.0",
"xml-js": "^1.6.11"
},
"dependencies": {
"apexcharts": "^3.17.0"
}
}