UNPKG

remark-torchlight

Version:

A remark plugin for Torchlight - the syntax highlighting API.

10 lines (7 loc) 247 B
const { removeSync, pathExistsSync, moveSync } = require('fs-extra') if (pathExistsSync('./package.json')) { removeSync('./package.json') } if (pathExistsSync('./package.backup.json')) { moveSync('./package.backup.json', './package.json') }