Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | π :tada: |
| Version tag | π :bookmark: |
| New feature | β¨ :sparkles: |
| Bugfix | π :bug: |
| "scripts": { | |
| "clean": "rimraf dist/*", | |
| "prebuild": "npm run clean -s", | |
| "build": "npm run build:scripts -s && npm run build:styles -s && npm run build:markup -s", | |
| "build:scripts": "browserify -d assets/scripts/main.js -p [minifyify --compressPath . --map main.js.map --output dist/main.js.map] | hashmark -n dist/main.js -s -l 8 -m assets.json 'dist/{name}{hash}{ext}'", | |
| "build:styles": "stylus assets/styles/main.styl -m -o dist/ && hashmark -s -l 8 -m assets.json dist/main.css 'dist/{name}{hash}{ext}'", | |
| "build:markup": "jade assets/markup/index.jade --obj assets.json -o dist", | |
| "test": "karma start --singleRun", | |
| "watch": "parallelshell 'npm run watch:test -s' 'npm run watch:build -s'", | |
| "watch:test": "karma start", |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | π :tada: |
| Version tag | π :bookmark: |
| New feature | β¨ :sparkles: |
| Bugfix | π :bug: |
| // Native selectors. | |
| (function(window, document) { | |
| 'use strict'; | |
| var noop = function() { | |
| }; | |
| // DOCUMENT LOAD EVENTS | |
| // not needed at the bottom of the page | |
| document.addEventListener('DOMContentLoaded', noop); |