Skip to content

Instantly share code, notes, and snippets.

@sunilw
Created January 23, 2022 05:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sunilw/aefb21e924d58fd727154bced994583e to your computer and use it in GitHub Desktop.
Save sunilw/aefb21e924d58fd727154bced994583e to your computer and use it in GitHub Desktop.
ebuild simple project
{
"name": "react tut",
"version": "0.0.1",
"description": "Steps towards a more sufficient build pipeline",
"main": "index.js",
"watch": {
"sass": {
"patterns": [
"./src/sass"
],
"extensions": "scss"
},
"bundle": {
"patterns": [
"./src/js"
],
"extensions": "js"
}
},
"scripts": {
"dev": "concurrently \"npm run watch\" \"npm run bs\" ",
"bs": "browser-sync start --server dist --files \" ./dist\" ",
"watch": "npm-watch",
"serve": "http-server dist",
"sass": "sass ./src/sass/main.scss dist/css/main.css",
"bundle": "esbuild src/js/index.js --sourcemap --bundle --loader:.js=jsx --outfile=dist/js/bundle.js"
},
"author": "Bob",
"license": "ISC",
"devDependencies": {
"browser-sync": "^2.27.7",
"browsersync": "^0.0.1-security",
"concurrently": "^7.0.0",
"esbuild": "^0.14.11",
"html-includes": "^4.4.1",
"html-minifier": "^4.0.0",
"http-server": "^14.1.0",
"indium": "^5.0.0",
"npm-watch": "^0.11.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"readable-stream": "^3.6.0",
"sass": "^1.48.0",
"stream-combiner2": "^1.1.1",
"swiper": "^7.4.1"
},
"dependencies": {
"bulma": "^0.9.3"
}
}
{
"name": "react tut",
"version": "0.0.1",
"description": "Steps towards a more sufficient build pipeline",
"main": "index.js",
"watch": {
"sass": {
"patterns": [
"./src/sass"
],
"extensions": "scss"
},
"bundle": {
"patterns": [
"./src/js"
],
"extensions": "js"
}
},
"scripts": {
"dev": "concurrently \"npm run watch\" \"npm run bs\" ",
"bs": "browser-sync start --server dist --files \" ./dist\" ",
"watch": "npm-watch",
"serve": "http-server dist",
"sass": "sass ./src/sass/main.scss dist/css/main.css",
"bundle": "esbuild src/js/index.js --sourcemap --bundle --loader:.js=jsx --outfile=dist/js/bundle.js"
},
"author": "Bob",
"license": "ISC",
"devDependencies": {
"browser-sync": "^2.27.7",
"browsersync": "^0.0.1-security",
"concurrently": "^7.0.0",
"esbuild": "^0.14.11",
"html-includes": "^4.4.1",
"html-minifier": "^4.0.0",
"http-server": "^14.1.0",
"indium": "^5.0.0",
"npm-watch": "^0.11.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"readable-stream": "^3.6.0",
"sass": "^1.48.0",
"stream-combiner2": "^1.1.1",
"swiper": "^7.4.1"
},
"dependencies": {
"bulma": "^0.9.3"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment