Skip to content

Commit afcf09d

Browse files
committed
WIP
1 parent 322cab6 commit afcf09d

4 files changed

Lines changed: 4 additions & 13 deletions

File tree

package-lock.json

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@
3737
"dev": "npm-run-all build-all --parallel watch-all site:dev",
3838
"prepublishonly": "npm run build-all",
3939
"size": "size-limit",
40-
"site:build": "npm --prefix site run build",
40+
"site:build": "npm run build-all && npm --prefix site run build",
4141
"site:dev": "npm --prefix site run dev",
42-
"site:start": "npm --prefix site run start",
42+
"site:start": "npm run build-all && npm --prefix site run start",
4343
"site:lint": "npm --prefix site run lint",
44-
"site:test": "npm --prefix site run test",
44+
"site:test": "npm run build-all && npm --prefix site run test",
4545
"changelog": "npm run conventional-changelog -i CHANGELOG.md -s -r 0",
4646
"release": "cross-env-shell \"npm run build-all && git commit -am $npm_package_version && git tag $npm_package_version && git push --follow-tags\""
4747
},

site/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Run these from the **repo root** to also watch and rebuild the library source:
2121
| `npm run site:lint` | Lint the site code |
2222
| `npm run site:test` | Build and test the site |
2323

24-
Run these from the **`site/` directory** for site-only tasks (does not watch `../src/`):
24+
Run these from the **`site/` directory** for site-only tasks (does not watch `../src/`). They use the prebuilt library in `../dist`, so run `npm run build-all` from the repo root first if you haven't:
2525

2626
| Command | Description |
2727
| ---------------- | ------------------------------------------------------------- |

site/package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,8 @@
33
"description": "",
44
"version": "1.0.0",
55
"private": true,
6-
"dependencies": {
7-
"quicklink": "file:.."
8-
},
96
"scripts": {
10-
"prebuild": "npm --prefix .. run build-all",
117
"build": "rimraf build && cross-env NODE_ENV=production eleventy",
12-
"prestart": "npm --prefix .. run build-all",
138
"dev": "rimraf build && cross-env NODE_ENV=development eleventy --serve",
149
"start": "rimraf build && cross-env NODE_ENV=development eleventy --serve",
1510
"deploy": "firebase deploy --project=quicklink-6a87b",

0 commit comments

Comments
 (0)