Skip to content

Commit 6c5d332

Browse files
committed
feat: introduce netlify preview
1 parent ae0d91a commit 6c5d332

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

netlify.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[context.deploy-preview]
2+
command = "npm run preview:hbs"

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
"test": "lerna run test",
3030
"clean": "git clean -dfx",
3131
"publish": "npx lerna publish -m \"[skip travis] chore(release): publish %s\"",
32-
"postpublish": "auto release"
32+
"postpublish": "auto release",
33+
"preview:hbs": "cd packages/development-edition-engine-handlebars && patternlab add --starterkits @pattern-lab/starterkit-handlebars-vanilla && npm run pl:build"
3334
},
3435
"nyc": {
3536
"exclude": [

packages/development-edition-engine-handlebars/source/fonts/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)