$ npm install
$ npm start
Go to http://localhost:3000
$ npm run sass
Compile SCSS to CSS
// package.json
"scripts": {
"sass": "node-sass -wr --source-map true SCSS-FILE_PATH CSS-FILE_PATH"
},
Customize file path
(※ Options: watch, recursive, source-map)
Set the NODE_ENV
to production
$ NODE_ENV=production npm start
// package.json
"author": "AUTHOR_NAME <AUTHOR_EMAIL@email.com> (https://AUTHOR_URL.com)"
Set the package author
name, email, url(optional)