We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13bf3fd commit 8d8eae1Copy full SHA for 8d8eae1
1 file changed
package.json
@@ -53,9 +53,10 @@
53
},
54
"scripts": {
55
"start:dev": "watch 'npm run build' './src'",
56
- "build": "npm run clean && npm run ts && npm run permissions",
+ "build": "npm run clean && npm run ts && npm run syncPreview && npm run permissions",
57
"test": "npm run lint && npm run build && node_modules/mocha/bin/mocha --timeout 10000 --retries 1 -r ts-node/register test/**/*test.ts",
58
"clean": "rm -r -f ./dist",
59
+ "syncPreview": "cp -R ./preview ./dist/preview",
60
"ts": "node_modules/.bin/tsc",
61
"permissions": "chmod +x ./dist/index.js",
62
"lint": "eslint --ext .ts ./src",
0 commit comments