Skip to content

Commit

Permalink
Fix: Bootstrap script##
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisat committed Nov 1, 2024
1 parent bced8cc commit 175b46f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bootstrap.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as fs from 'fs';
const fs = require("fs");

const moduleName = process.cwd().replace(/\\/g, '/').split('/').pop();

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"main": "dist/index.js",
"esnext": "dist/index.js",
"scripts": {
"bootstrap": "echo Bootstrap started... && rimraf .git && mv README.md README.boilerplate.md && echo \\# readme > README.md && pnpm install && node bootstrap.js && echo --- module created, Update the package.json with module's info && echo --- module ready",
"bootstrap": "echo Bootstrap started... && mv README.md README.boilerplate.md && echo \\# readme > README.md && pnpm install && rm -rf .git && node bootstrap.js && echo --- module created, Update the package.json with module\\'s info && echo --- module ready",
"install-clean": "rimraf node_modules && pnpm install",
"build": "pnpm lint && rimraf ./dist && webpack --config webpack.dist.config.js",
"build-watch": "rimraf ./dist && pnpm webpack --watch --config webpack.dist.config.js",
Expand Down

0 comments on commit 175b46f

Please sign in to comment.