-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
80 lines (80 loc) · 2.94 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
{
"name": "holochain-docs-pages",
"version": "1.0.0",
"description": "11ty project for generating the Holochain documentation",
"main": "index.cjs",
"type": "module",
"engines": {
"node": ">=18"
},
"directories": {
"doc": "docs"
},
"scripts": {
"build:search-index": "npx pagefind --site _site --glob \"**/*.html\"",
"build:web": "ELEVENTY_ENV=production npx @11ty/eleventy",
"serve:web": "ELEVENTY_ENV=development npx @11ty/eleventy --serve --incremental",
"serve:web-prod": "ELEVENTY_ENV=production BROWERSYNC=off npx @11ty/eleventy --serve",
"debug:web": "DEBUG=Eleventy* ELEVENTY_ENV=development npx @11ty/eleventy --serve",
"build:sass": "npx sass src/scss:styles-compiled",
"watch:sass": "npx sass --watch src/scss:styles-compiled",
"post:css": "npx postcss styles-compiled/site.css > styles-compiled/site.min.css",
"min:js": "npx uglify-js _site/scripts/main.bundled.js --output _site/scripts/main.min.js",
"bundle:js": "rollup -c rollup.config.js",
"watch:js": "rollup -c rollup.config.js -w",
"dev": "npm run build && npm-run-all -p serve:web watch:sass watch:js",
"dev-no-js": "npm run build:sass && npm-run-all -p serve:web watch:sass",
"build": "npm-run-all -s clean:site build:sass post:css clean:js bundle:js build:web build:search-index",
"serve-as-prod": "npm-run-all -s clean:site build:sass post:css clean:js bundle:js serve:web-prod",
"clean:js": "rm -rf client-side-compiled",
"clean:css": "rm -rf styles-compiled",
"clean:site": "rm -rf _site",
"clean": "npm-run-all clean:site clean:js clean:css",
"update-browserlist": "npx browserslist@latest --update-db"
},
"repository": {
"type": "git",
"url": "git+https://github.com/holochain/docs-pages.git"
},
"author": "",
"license": "GPL-3.0-or-later",
"bugs": {
"url": "https://github.com/holochain/docs-pages/issues"
},
"homepage": "https://github.com/holochain/docs-pages#readme",
"devDependencies": {
"@11ty/eleventy": "^3.0.0-alpha.1",
"@aloskutov/eleventy-plugin-external-links": "^2.1.1",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.5",
"@sindresorhus/slugify": "1.1.2",
"@types/lunr": "^2.3.4",
"@types/markdown-it": "^12.2.3",
"autoprefixer": "^10.4.13",
"cssnano": "^5.1.14",
"fauxdom": "^1.1.1",
"he": "^1.2.0",
"highlight.js": "^11.9.0",
"highlightjs-svelte": "^1.0.6",
"html-minifier": "^4.0.0",
"html-to-text": "^8.2.1",
"json5": "^2.2.3",
"lunr": "^2.3.9",
"markdown-it-anchor": "^8.6.6",
"markdown-it-attrs": "^4.1.4",
"markdown-it-container": "^3.0.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.18",
"postcss-cli": "^10.0.0",
"posthtml": "^0.16.6",
"posthtml-noopener": "^1.0.5",
"rollup": "^3.2.5",
"sass": "^1.56.0",
"tslib": "^2.6.2",
"typescript": "^4.8.4",
"uglify-js": "^3.17.4"
},
"dependencies": {
"pagefind": "1.0.4"
}
}