Skip to content

Commit 8d8eae1

Browse files
Sync preview directory to dist
1 parent 13bf3fd commit 8d8eae1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,10 @@
5353
},
5454
"scripts": {
5555
"start:dev": "watch 'npm run build' './src'",
56-
"build": "npm run clean && npm run ts && npm run permissions",
56+
"build": "npm run clean && npm run ts && npm run syncPreview && npm run permissions",
5757
"test": "npm run lint && npm run build && node_modules/mocha/bin/mocha --timeout 10000 --retries 1 -r ts-node/register test/**/*test.ts",
5858
"clean": "rm -r -f ./dist",
59+
"syncPreview": "cp -R ./preview ./dist/preview",
5960
"ts": "node_modules/.bin/tsc",
6061
"permissions": "chmod +x ./dist/index.js",
6162
"lint": "eslint --ext .ts ./src",

0 commit comments

Comments
 (0)