Build Tools

Learn how to use Soft’s included npm scripts to start a local server, compile source code, run tests, and more.


#NameUsageDescriptionRead More
1installyarn install or npm installThis command installs a package, and any other packages that it depends on.Read more
2startyarn start or npm startThis will determinate the start of your development server.Read more
3buildyarn build or npm run buildThis will create a build directory with a production build of your app. (NOTE: You may need to delete or modify our homepage prop from inside the package.json file to your own domain name)Read more
4testyarn test or npm run testRuns the test watcher in an interactive mode. (Note that we have not implemented any tests - this command is by default from the create-react-app / react-scripts)Read more
5ejectyarn eject or npm run ejectThis command will remove the single build dependency from your project. (We do not recommend using this command. Our product may not work after using this command.)Read more
6install:cleanyarn install:clean or npm install:cleanThis command will remove the node_modulesfolder and package_lock.json file, and will install a fresh copy of them. (NOTE: this command only works on linux based terminals)Read more
7install:peer-depsyarn install:peer-deps or npm install:peer-depsThis command is fixing the peer dependencies issue when installing the dependencies using npm.Read more
Contents