Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 762 Bytes

File metadata and controls

53 lines (35 loc) · 762 Bytes

react-sass-boilerplate

Install

$ npm install

Development

$ 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)

Production

Set the NODE_ENV to production

$ NODE_ENV=production npm start

Option

// package.json
"author": "AUTHOR_NAME <AUTHOR_EMAIL@email.com> (https://AUTHOR_URL.com)"

Set the package author name, email, url(optional)

License

MIT license