/my-project/
node_modules
public/
build/
README.md
css/
app.css
app.css.map
js
app.js
app.js.map
index.php
resources/
assets/
README.md
css/
styles.css
js/
test.js
initialize.js
README.md
Created
September 11, 2016 16:26
-
-
Save cmnstmntmn/e3b34294f26d6973fecbfdabb36c9558 to your computer and use it in GitHub Desktop.
This file contains 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
module.exports = { | |
server: { | |
base: '/public', | |
stripSlashes: true, | |
command: 'php -S 0.0.0.0:3000 -t public' | |
}, | |
paths: { | |
watched: ['resources'], | |
public: './public/build' | |
}, | |
files: { | |
javascripts: { | |
joinTo: 'js/app.js' | |
}, | |
stylesheets: { | |
joinTo:'css/app.css' | |
}, | |
templates: {joinTo: 'js/app.js'} | |
}, | |
plugins: { | |
postcss: {} | |
} | |
}; |
This file contains 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
document.addEventListener('DOMContentLoaded', function() { | |
// do your setup here | |
}); |
This file contains 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": "brunch-app", | |
"description": "Description", | |
"author": "Your Name", | |
"version": "0.1.0", | |
"repository": { | |
"type": "git", | |
"url": "" | |
}, | |
"scripts": { | |
"start": "brunch watch --server", | |
"build": "brunch build --production" | |
}, | |
"dependencies": {}, | |
"devDependencies": { | |
"auto-reload-brunch": "^2.0.0", | |
"brunch": "^2.0.0", | |
"clean-css-brunch": "^2.0.0", | |
"css-brunch": "^2.0.0", | |
"javascript-brunch": "^2.0.0", | |
"postcss-brunch": "^2.0.3", | |
"uglify-js-brunch": "^2.0.0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment