Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
Merge pull request #4 from justeat/v0.0.6
Browse files Browse the repository at this point in the history
v0.1.0 — Ensure dist directory is published to npm and updates to index module.
  • Loading branch information
DamianMullins authored Jul 27, 2018
2 parents f6745cc + 266a263 commit 119986d
Showing 5 changed files with 962 additions and 11,789 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"presets": ["es2015"]
"presets": ["env"]
}
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -3,13 +3,31 @@
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

v0.1.0
------------------------------
*July 26, 2018*

### Added
- Added `files` property to `package.json` so that only the neccessary files are published to npm.

### Changed
- Updated browserslist
- Replaced babel es2015 preset with env
- Using export keyword in `index.js` module
- Moved JavaScript files into root of `src` directory.

### Fixed
- Fixed error due to extra parenthesis in `index.js` module


v0.0.5
------------------------------
*July 26, 2018*

### Changed
- Make rays image HTTPS


v0.0.4
------------------------------
*July 25, 2018*
19 changes: 13 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"name": "@justeat/f-recruit-message",
"description": "",
"version": "0.0.5",
"version": "0.1.0",
"main": "dist/index.js",
"files": [
"dist"
],
"homepage": "https://github.com/justeat/f-recruit-message",
"contributors": [
"Github contributors <https://github.com/justeat/f-recruit-message/graphs/contributors>"
@@ -19,16 +22,20 @@
"node": ">=4.0.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-es2015": "^6.24.1"
"babel-cli": "6.26.0",
"babel-preset-env": "1.7.0"
},
"keywords": [
"fozzie"
],
"scripts": {
"prepare": "yarn compile",
"compile": "babel -d dist src"
},
"browserslist": [
"> 5%",
"last 2 versions",
"ie > 8",
"Safari >= 8"
"Safari >= 8",
"not ie 10"
]
}
}
9 changes: 3 additions & 6 deletions src/js/index.js → src/index.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
/**
* Write the recruitment message to the console
*/
const recruitMessage = function () {
const recruitMessage = () => {
console.log("\n\n%c %c \n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nLove development? Love takeaway? Then why not join us?\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n\n%chttps://careers.just-eat.com/opportunities\n\n",
"font-size:50px; margin-left:35px; padding-right:295px; background: url(https://dy3erx8o0a6nh.cloudfront.net/images/logo-just-eat-2016_x2.png) no-repeat;)",
"font-family: Hind Vadodara, Arial, sans-serif; font-size: 14px; line-height: 1.5; color: #535353; background-color: #fff;",
"font-family: Hind Vadodara, Arial, sans-serif; font-size: 14px; line-height: 1.5; color: #535353; background-color: #fff; text-decoration: underline; margin-left: 55px"),
"font-family: Hind Vadodara, Arial, sans-serif; font-size: 14px; line-height: 1.5; color: #535353; background-color: #fff; text-decoration: underline; margin-left: 55px",
"font-size:150px; margin-left:-55px; margin-top:-90px; padding-right:285px; background: url(https://dy3erx8o0a6nh.cloudfront.net/images/color-rays.png) 50% no-repeat;)");
};

/**
* Export recruitMessage()
*/
module.exports = {
export default {
recruitMessage: recruitMessage
};
Loading

0 comments on commit 119986d

Please sign in to comment.