-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage-scripts.example.yml
28 lines (28 loc) · 1.1 KB
/
package-scripts.example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
scripts:
default: dotenv -e .env.development.local react-scripts start
# WINDOWS
# default: set PORT=3000 dotenv -e .env.development.local react-scripts start
build: >-
nps buildNew
testBuild: >-
nps testBuildNew
testBuildNew: >-
dotenv -e .env.test react-scripts build && rm -rf build-new && mv
build build-new
buildNew: >-
dotenv -e .env.production react-scripts build && rm -rf build-new &&
mv build build-new
test: react-scripts test
eject: react-scripts eject
watch: >-
concurrently --names "webpack, sass" --prefix name "npm run start" "npm run
styles:watch"
compileSass: >-
node-sass src/assets/scss/black-dashboard-pro-react.scss
src/assets/css/black-dashboard-pro-react.css
minifySass: >-
node-sass src/assets/scss/black-dashboard-pro-react.scss
src/assets/css/black-dashboard-pro-react.min.css --output-style compressed
mapSass: >-
node-sass src/assets/scss/black-dashboard-pro-react.scss
src/assets/css/black-dashboard-pro-react.css --source-map true