-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
144 lines (144 loc) · 5.52 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"name": "kimmo.blog",
"version": "1.0.0",
"description": "Kimmo Brunfeldt's blog",
"browserslist": [
"defaults"
],
"scripts": {
"start": "npm run build:development && concurrently --exit -c blue,yellow,green,cyan,pink -n pages,css,rollup,output,serve 'npm run watch:pages' 'npm run watch:postcss' 'npm run watch:rollup' 'npm run watch:output' 'npm run serve'",
"serve": "http-server -g -c-1 ./output",
"rollup": "rollup -c rollup.config.js",
"postcss": "npm run postcss:main && npm run postcss:fonts",
"postcss:main": "postcss src/css/main.css -o output/styles.css --verbose",
"postcss:fonts": "postcss src/css/fonts.css -o output/fonts.css --verbose",
"copy-public": "cp -r public/* output/",
"clean": "rm -rf output output-tmp-rollup .tmp && mkdir output output-tmp-rollup .tmp",
"test": "jest",
"build:development": "npm run clean && NODE_ENV=development npm run build:pages && npm run copy-public",
"build": "npm run clean && NODE_ENV=production npm run build:pages && NODE_ENV=production npm run rollup && NODE_ENV=production npm run postcss && npm run build:rss && npm run copy-public && npm run build:lighthouse && npm run lint:html && npm run minify:html",
"build:lighthouse": "npm run build:gzip && bash tools/lighthouse.sh",
"build:gzip": "cp -r output .tmp/output-gz && gzip -r .tmp/output-gz",
"build:pages": "NODE_PATH=./ ts-node --project tsconfig.node.json src/generator/render.tsx && npm run build:pcss",
"build:rss": "NODE_PATH=./ ts-node --project tsconfig.node.json src/generator/generateRss.ts",
"build:pcss": "echo 'Transpiling output/**/*.pcss with PostCSS' && zx ./tools/transpilePcss.mjs",
"minify:html": "zx tools/minifyHtml.mjs",
"lint:html": "zx tools/lintHtml.mjs",
"watch:output": "chokidar 'output/**/*'",
"watch:pages": "chokidar 'src/**/*' 'posts/*.mdx' -c 'npm run build:pages'",
"watch:postcss": "npm run postcss:fonts && TAILWIND_MODE=watch NODE_ENV=development npm run postcss:main -- --watch",
"watch:rollup": "NODE_ENV=development npm run rollup -- --watch --no-watch.clearScreen",
"mdxToText": "ts-node --project tsconfig.node.json tools/mdxToText.ts"
},
"repository": {
"type": "git",
"url": "git@github.com:kimmobrunfeldt/blog.git"
},
"keywords": [
"blog",
"kimmo"
],
"author": "Kimmo Brunfeldt",
"license": "UNLICENSED",
"devDependencies": {
"@babel/core": "^7.12.16",
"@k-vyn/coloralgorithm": "^1.0.0",
"@mdx-js/mdx": "^1.6.22",
"@mdx-js/react": "^1.6.22",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.1.1",
"@rollup/plugin-replace": "^2.3.4",
"@rollup/plugin-typescript": "^8.1.1",
"@sinclair/typebox": "^0.12.7",
"@types/babel__core": "^7.1.12",
"@types/classnames": "^2.2.11",
"@types/github-slugger": "^1.3.0",
"@types/glob": "^7.1.3",
"@types/lodash": "^4.14.168",
"@types/mdx-js__react": "^1.5.3",
"@types/node": "^14.14.27",
"@types/react": "^17.0.2",
"@types/react-collapse": "^5.0.1",
"@types/react-dom": "^17.0.1",
"@types/remark-abbr": "^1.4.1",
"@types/rss": "^0.0.28",
"@types/tailwindcss": "^2.2.4",
"@typescript-eslint/eslint-plugin": "^4.15.0",
"@typescript-eslint/parser": "^4.15.0",
"ajv": "^7.1.1",
"arg": "^5.0.1",
"autoprefixer": "^10.3.2",
"cheerio": "^1.0.0-rc.10",
"chokidar-cli": "^2.1.0",
"concurrently": "^5.3.0",
"cssnano": "^4.1.10",
"eslint": "^7.20.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"glob": "^7.1.6",
"gray-matter": "^4.0.2",
"html-minifier": "^4.0.0",
"html-validate": "^4.6.0",
"http-server": "^0.12.3",
"jest": "^26.6.3",
"lighthouse": "^7.2.0",
"linkinator": "^2.13.6",
"mdast-util-to-string": "^2.0.0",
"mdx.macro": "^0.2.9",
"postcss": "^8.3.6",
"postcss-cli": "^8.3.1",
"postcss-import": "^14.0.2",
"postcss-nested": "^5.0.6",
"prettier": "^2.2.1",
"puppeteer": "^8.0.0",
"remark": "^13.0.0",
"remark-abbr": "^1.4.1",
"remark-mdx": "^2.0.0-next.9",
"remark-parse": "^10.0.0",
"rollup": "^2.39.0",
"rollup-plugin-multi-input": "^1.2.0",
"rollup-plugin-node-polyfills": "^0.2.1",
"rollup-plugin-progress": "^1.1.2",
"rollup-plugin-string": "^3.0.0",
"rollup-plugin-terser": "^7.0.2",
"rss": "^1.2.2",
"strip-markdown": "^4.0.0",
"tailwindcss": "^2.2.7",
"tailwindcss-children": "^2.1.0",
"ts-jest": "^26.5.2",
"ts-node": "^9.1.1",
"tslib": "^2.1.0",
"typescript": "^4.3.5",
"unist-util-filter": "^2.0.3",
"wait-port": "^0.2.9",
"zx": "^3.0.0"
},
"dependencies": {
"@iconify/icons-teenyicons": "^1.1.0",
"@iconify/react": "^1.1.4",
"@popperjs/core": "^2.9.3",
"@tippyjs/react": "^4.2.5",
"classnames": "^2.2.6",
"fetch-jsonp": "^1.2.1",
"github-slugger": "^1.4.0",
"hast-util-has-property": "^1.0.4",
"hast-util-heading-rank": "^1.0.1",
"hast-util-to-string": "^1.0.4",
"lodash": "^4.17.20",
"next-mdx-remote": "^3.0.4",
"prism-react-renderer": "^1.1.1",
"react": "^17.0.1",
"react-collapse": "^5.1.0",
"react-dom": "^17.0.1",
"react-hot-toast": "^2.1.0",
"react-inlinesvg": "^2.2.2",
"react-intersection-observer": "^8.32.0",
"react-responsive": "^9.0.0-beta.4",
"shifty": "^1.5.4"
}
}