-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathpackage.json
53 lines (53 loc) · 1.86 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
{
"private": true,
"type": "module",
"scripts": {
"build": "lerna run build --scope @single-page-markdown-website/frontend && lerna run build --scope single-page-markdown-website",
"clean": "lerna run --parallel --stream clean && yarn run website-clean && rm -rf '*.log'",
"docs": "markdown-interpolate README.md",
"fix": "lerna run --parallel --stream fix",
"lint": "lerna run --parallel --stream lint",
"postinstall": "simple-git-hooks && yarn run build",
"publish": "lerna publish from-package",
"reset": "yarn run clean && lerna clean --yes && rm -rf node_modules yarn.lock && yarn install",
"version": "lerna version --force-publish",
"website-build": "yarn run website-clean && yarn run build && yarn run docs && node packages/single-page-markdown-website/lib/cli.js README.md",
"website-clean": "rm -rf build",
"website-deploy": "yarn run website-build && gh-pages --dist build"
},
"devDependencies": {
"lerna": "^4.0.0",
"lint-staged": "^12.1.2",
"markdown-interpolate": "^0.0.7",
"simple-git-hooks": "^2.7.0",
"typescript": "^4.5.2"
},
"lint-staged": {
"*.ts": [
"eslint"
],
"*.scss": [
"stylelint"
]
},
"simple-git-hooks": {
"pre-commit": "yarn run lint-staged",
"pre-push": "yarn run lint && yarn run fix && yarn run build && yarn run website-build"
},
"single-page-markdown-website": {
"baseUrl": "https://yuanqing.github.io/single-page-markdown-website/",
"title": "Single-Page Markdown Website",
"description": "Create a nice single-page documentation website from one or more Markdown files",
"faviconImage": "media/favicon.svg",
"links": [
{
"text": "GitHub",
"url": "https://github.com/yuanqing/single-page-markdown-website"
}
],
"shareImage": "media/share.png"
},
"workspaces": [
"packages/*"
]
}