Build tools
Learn how to use Argon’s included npm scripts to compile source code, run tests, and more.
# | Name | Usage | Description | Read More |
---|---|---|---|---|
1 |
install
|
npm install
|
This command installs a package, and any packages that it depends on. | Read more |
2 |
start
|
npm start
|
This will determinate the start of your development server. | Read more |
3 |
build
|
npm run build
|
This 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 |
4 |
test
|
npm run test
|
Runs 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 |
5 |
eject
|
npm run eject
|
This 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 |
6 |
install:clean
|
npm run install:clean
|
This command will remove the
node_modules
folder and
package_lock.json
file, and will install a fresh copy of them. (NOTE: this
command only works on linux based terminals)
|
|
7 |
compile:scss
|
npm run compile:scss
|
PRO This command will
compile the scss files located inside
assets/scss/*
into
assets/css/*.css .
|
Read more and Command Line |
8 |
minify:scss
|
npm run minify:scss
|
PRO This command will
compile and minify the scss files located inside
assets/scss/*
into
assets/css/*.min.css .
|
Read more and Command Line |
9 |
map:scss
|
npm run map:scss
|
PRO This command will
compile and map the scss files located inside
assets/scss/*
into
sassets/css/*.css.map .
|
Read more and Command Line |
10 |
all:scss
|
npm run all:scss
|
PRO This command will run all the three commands from above for sass compile. |