Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"requirejs": "^2.3.5"
},
"scripts": {
"start": "react-scripts start",
"start": "node startScript.js && react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
Expand Down
3 changes: 0 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ Clone the repository on your local machine and run.
npm install
```

#### Setting up the development environment

Copy the lib folder, inside the main directory of the project folder, into the node_modules folder (after npm install). These are dependencies required by the sugarizer platform.

#### Running the project

Expand Down
2 changes: 2 additions & 0 deletions startScript.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
const fs = require("fs");
fs.rename("./lib/", "./node_modules/lib", () => console.log("Local Env Set"));