Skip to content

Commit 8262a01

Browse files
committed
chore: Add npm run dist and npm run deploy-html scripts
1 parent e0d2335 commit 8262a01

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@
1212
"./fluent-gecko"
1313
],
1414
"scripts": {
15+
"predist": "npm run clean",
16+
"dist": "npm run build --workspaces",
17+
"postdist": "npm run lint && npm run test && npm run docs --workspaces",
1518
"clean": "git clean -fdxe node_modules fluent-*/{coverage,dist,esm,index.js} html",
19+
"deploy-html": "gh-pages -d html",
1620
"lint": "eslint --max-warnings 0 'fluent-*/{src,test}/**/*.{js,ts}'",
1721
"test:common": "c8 mocha 'fluent-*/test/*_test.js'",
1822
"test": "npm run test:common && npm test -w fluent-dom && npm test -w fluent-react"

0 commit comments

Comments
 (0)