1
0
Fork 1
mirror of https://example.com synced 2024-11-23 04:36:39 +09:00
firefish/scripts/clean.js

14 lines
595 B
JavaScript
Raw Normal View History

2021-11-12 11:42:47 +09:00
const fs = require('fs');
const execa = require('execa');
(async () => {
fs.rmSync(__dirname + '/../packages/backend/built', { recursive: true, force: true });
fs.rmSync(__dirname + '/../packages/backend/node_modules', { recursive: true, force: true });
fs.rmSync(__dirname + '/../packages/client/built', { recursive: true, force: true });
fs.rmSync(__dirname + '/../packages/client/node_modules', { recursive: true, force: true });
fs.rmSync(__dirname + '/../built', { recursive: true, force: true });
fs.rmSync(__dirname + '/../node_modules', { recursive: true, force: true });
})();