Commit Graph

114 Commits

Author SHA1 Message Date
Juuso Tapaninen
103299516f Fixed ESLint rulesets to work on the most recent release
Changed consistent-this rule to enforce 'that' instead of '_that' due to a rule conflict with no-underscore-dangle
2015-07-19 19:09:37 +03:00
Santtu Pajukanta
107428ca97 README: import instead of require 2015-07-16 23:10:27 +03:00
Riku Rouvila
5615c019d0 disable browsersync notifications and ghosting
Notifications are pretty much useless and annoying when you are developing something that happens to be on the top right corner of your screen.
2015-07-15 14:48:46 +03:00
Riku Rouvila
ca8235bc35 Merge pull request #22 from rikukissa/component-structure
Component-based directory structure
2015-07-14 21:04:50 +03:00
Riku Rouvila
da2d8dc264 Merge pull request #21 from rikukissa/no-bower
remove bower
2015-07-14 21:01:39 +03:00
Riku Rouvila
4efe6800d1 remove deamdify 2015-07-14 21:01:12 +03:00
Riku Rouvila
57cc7be367 remove bower 2015-07-14 21:00:39 +03:00
Riku Rouvila
7ed49d7818 Merge pull request #20 from rikukissa/unit-tests
Replace karma with jsdom + mocha + chai
2015-07-14 20:56:33 +03:00
Riku Rouvila
f883fc2626 component based directory structure 2015-07-08 21:05:08 +03:00
Riku Rouvila
f86ab3be90 resource links to readme 2015-07-08 20:42:34 +03:00
Riku Rouvila
8ed68ff60d Replace karma with jsdom + mocha + chai
* Also a bit refactoring for better testability
2015-07-08 20:23:48 +03:00
Riku Rouvila
361f18115b fix typo in readme 2015-07-08 16:19:56 +03:00
Riku Rouvila
4c9efe58ff update readme 2015-05-24 19:20:08 +03:00
Riku Rouvila
7c3c3a517f add codeship badge 2015-05-24 19:12:52 +03:00
Riku Rouvila
e56a628c95 add revisioning task to gulp build
* 'public' directory is now removed on gulp build
* Copies built .css and .js files to <filename>-<hash>.<extension>
* Replaces references from built .html files to match the revisioned files
* Keeps the original built files intact, but this is most likely going to change in the future
2015-05-24 18:58:15 +03:00
Riku Rouvila
83fb7c31d5 fix readme link 2015-05-23 16:37:13 +03:00
Riku Rouvila
83e7e65d58 fix gulpfile's linting errors and modify rules 2015-05-21 23:14:58 +03:00
Riku Rouvila
2ac09dba69 update readme 2015-05-21 22:59:40 +03:00
Riku Rouvila
78fc56bf7f replace jshint + jscs with eslint 2015-05-21 22:59:33 +03:00
Riku Rouvila
008ee37e94 Add .jscsrc file http://jscs.info/
* Sublime text plugin is recommended
2015-05-21 00:50:33 +03:00
Riku Rouvila
7ff4d2a887 turn code examples into javascript and update readme 2015-05-21 00:32:25 +03:00
Riku Rouvila
f716e5fe73 remove ecstatic 2015-05-20 23:29:18 +03:00
Riku Rouvila
74de7b9bdd convert gulpfile.coffee to gulpfile.js 2015-05-20 23:28:37 +03:00
Riku Rouvila
6eaa314e82 Refactoring
* Removed needless dependencies
* All functionality should be like earlier
2015-05-20 23:13:01 +03:00
Riku Rouvila
71af2bbb28 add npm-debug.log to gitignore 2015-05-01 16:42:27 +03:00
Riku Rouvila
aecb07fe87 do not open browser automatically when gulp is started 2015-05-01 16:17:44 +03:00
Riku Rouvila
ccac197f18 Merge pull request #19 from cheapsteak/master
gulp-notify, yay or nay?
2015-05-01 16:06:22 +03:00
Chang Wang
c0d2cec955 add gulp notify 2015-04-20 23:44:38 -04:00
Riku Rouvila
efd24e5681 Merge pull request #18 from cheapsteak/patch-1
Update README.md, remove livereload instructions
2015-04-20 09:34:32 +03:00
Chang Wang
6ae6792319 Update README.md
Remove section on livereload since it's been replaced with BrowserSync
2015-04-20 02:29:48 -04:00
Riku Rouvila
dc053974ab filter style files before calling browsersync to refresh so that .map files don't initialize full reload 2015-03-05 10:57:54 +02:00
Riku Rouvila
0fe3a4d837 trim trailing whitespace
reorganize require calls alphabetically
2015-03-05 10:49:44 +02:00
Riku Rouvila
c7099981df Merge pull request #15 from dahlie/master
Use BrowserSync instead of gulp-livereload
2015-03-05 10:42:16 +02:00
Hannu Pousi
045428adcf use browser-sync instead of livereload 2015-03-05 10:27:01 +02:00
Lauri Hahne
0cb804439a upgrade watchify to support node 0.12 & io.js 2015-02-10 17:12:20 +02:00
Riku Rouvila
0797945afc Merge pull request #14 from cheapsteak/master
Stylus sourcemaps
2015-02-06 22:22:18 +02:00
Chang Wang
17d64a0b1d disable css sourcemaps for production 2015-02-06 15:00:42 -05:00
Chang Wang
9820ad1d00 stylus sourcemaps 2015-02-05 11:03:57 -05:00
Riku Rouvila
1fa2b539dc Merge branch 'master' of github.com:leonidas/gulp-project-template 2015-01-26 16:52:13 +02:00
Riku Rouvila
82dc5f0d22 add MIT license 2015-01-26 16:51:10 +02:00
Riku Rouvila
469714c49f add editorconfig and jshintrc 2014-12-22 16:59:56 +02:00
Riku Rouvila
ddb4417442 remove browserify-shim, update readme
browserify shim is actually useless now when debowerify is one of the transforms. If a bower package for example doesn't have a 'main' field defined it's still possible to include it by requiring the main file  like require('bad-bower-lib/dist/bad-bower')
2014-12-22 13:30:11 +02:00
Riku Rouvila
c6c9bd5ebc Merge pull request #10 from vesse/master
Update all deps (including Browserify)
2014-10-24 08:20:51 +03:00
Vesa Poikajärvi
70cee19611 Typo 2014-10-24 11:31:29 +07:00
Vesa Poikajärvi
4d21ddbbe4 Use path.join for compatibility 2014-10-24 11:30:24 +07:00
Vesa Poikajärvi
372e2503a8 Sort also requires
In order to make it somewhat sane to maintain the different branches also
keep the require calls in gulpfile sorted.
2014-10-24 11:23:50 +07:00
Vesa Poikajärvi
620bf83640 Install karma-cli so that npm test works
Karma does not install the cli to node_modules/.bin and thus npm test
does not work unless user installs karma-cli globally.
2014-10-24 11:02:08 +07:00
Vesa Poikajärvi
c8138d5014 Pretty logging for rebundle
Log the start and stop of rebundling the same way Gulp does, looks
pretty.
2014-10-24 11:00:36 +07:00
Vesa Poikajärvi
4445fce04b Add auto: false to livereload calls so build works
Build worked when env was production but jammed if it was not because of
the livereload server being up and running. That can be prevented by
using option auto: false, but this introduces an issue where the
livereload server is not started at all if auto: false call gets executed
first (and it would if the assets were built first). Thus, start the
watch task first.
2014-10-24 10:57:03 +07:00
Vesa Poikajärvi
3199a0fa65 Update to latest deps and fix related code
Couple of related changes in one commit:

- Upgrade all dependencies to latest ones.

- Change how Browserify/Watchify is called since it has changed

- Added a task no-js that will not launch the 'scripts' task. This is
  because upon first run it would run simultaneously with Watchify and
  the outcome would not work.

- Be consistent with quotes
2014-10-24 10:34:43 +07:00