Skip to content

Instantly share code, notes, and snippets.

@bobdobbs
Created January 31, 2022 06:23
Show Gist options
  • Save bobdobbs/ec38f1dcabad19bdd2ae0d27e73e9ecd to your computer and use it in GitHub Desktop.
Save bobdobbs/ec38f1dcabad19bdd2ae0d27e73e9ecd to your computer and use it in GitHub Desktop.
working simple build
{
"name": "react-fundamentals",
"version": "0.1.0",
"description": "playing with react stuff",
"main": "index.js",
"watch": {
"sass": {
"patterns": [
"./src/sass/"
],
"extensions": "scss"
},
"js": {
"patterns": [
"./src/js"
],
"extensions": "js"
}
},
"scripts": {
"dev" : "npm-run-all --print-label --parallel serve watch",
"watch" : "npm-watch",
"js": "esbuild src/js/main.js --bundle --outdir=./dist/js ",
"sass": "sass ./src/sass:./dist/css ",
"serve": "browser-sync start --server dist --files 'dist/**' --open false "
},
"author": "",
"license": "ISC",
"devDependencies": {
"browser-sync": "^2.27.7",
"bulma": "^0.9.3",
"concurrently": "^7.0.0",
"esbuild": "^0.14.14",
"eslint": "^8.7.0",
"eslint-plugin-react": "^7.28.0",
"http-server": "^14.1.0",
"instal": "^0.0.1-security",
"npm-watch": "^0.11.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"sass": "^1.49.0"
},
"dependencies": {
"npm-run-all": "^4.1.5"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment