-
-
Save kurudrive/b5d78465bf33d37f7e7d532a51820427 to your computer and use it in GitHub Desktop.
package.json
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
var browserSync = require("browser-sync"); | |
browserSync({ | |
proxy: 'localhost:9292', | |
files: [ | |
"./css/**/*", | |
"./js/**/*", | |
"./images/**/*", | |
"./fonts/**/*", | |
"./**/*.php", | |
] | |
}); |
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
{ | |
"private": true, | |
"scripts": { | |
"build": "npm run scss && npm run postcss", | |
"scss": "node-sass ./scss/style.scss -o ./css/", | |
"postcss": "postcss ./css/style.css --use autoprefixer -o ./css/style.css", | |
"watch": "nodemon -e scss -x \"npm run build\"", | |
"bs": "node ./browserSync.js", | |
"start": "npm run watch & npm run bs" | |
}, | |
"devDependencies": { | |
"autoprefixer": "^8.6.4", | |
"browser-sync": "^2.24.5", | |
"node-sass": "^4.9.0", | |
"nodemon": "^1.17.5", | |
"postcss-cli": "^5.0.1" | |
}, | |
"browserslist": [ | |
"last 2 versions", | |
"ie 11" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment