Last active
May 20, 2023 05:58
-
-
Save sunilw/8c39c694e0c60875b6530c6844f7ab3e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "website project name", | |
"version": "0.1.0", | |
"description": "Custom theme for [whatever]", | |
"main": "index.js", | |
"repository": { | |
"type": "", | |
"url": "" | |
}, | |
"keywords": [ | |
"wordpress", | |
"theme" | |
], | |
"author": "", | |
"license": "ISC", | |
"bugs": { | |
"url": "" | |
}, | |
"homepage": "", | |
"watch": { | |
"sass": { | |
"patterns": [ | |
"./src/sass" | |
], | |
"extensions": "scss" | |
}, | |
"bundle": { | |
"patterns": [ | |
"./src/js" | |
] | |
} | |
}, | |
"scripts": { | |
"dev": "concurrently \"npm run watch\" \"npm run bs\" ", | |
"watch": "npm-watch", | |
"sass": "sass --style compressed src/sass/mywebsite.scss css/mywebsite.css", | |
"bundle": "esbuild src/js/scripts.js --sourcemap --bundle --minify --outfile=js/mywebsite.js ", | |
"bs": "browser-sync start --proxy 'http:\/\/mywebsite.localdev' --files \"css\" \"js\" " | |
}, | |
"devDependencies": { | |
"browser-sync": "^2.27.7", | |
"concurrently": "^8.0.1", | |
"esbuild": "^0.17.19", | |
"npm-watch": "^0.11.0", | |
"readable-stream": "^3.6.0", | |
"sass": "^1.62.1", | |
"stream-combiner2": "^1.1.1" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment