Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.

Switch to babel-cli and update ESLint #71

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ coverage
# nyc test coverage
.nyc_output

# babel generated files
client
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure the webpack bundle doesn't sneak into GitHub.


# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Page Metadata Parser
A Javascript library for parsing metadata in web pages.
A JavaScript library for parsing metadata in web pages.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo.


[![CircleCI](https://circleci.com/gh/mozilla/page-metadata-parser.svg?style=svg)](https://circleci.com/gh/mozilla/page-metadata-parser)

Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
"fathom-web": "^1.1.2"
},
"devDependencies": {
"babel": "^6.5.2",
"babel-cli": "^6.14.0",
"babel-loader": "^6.2.5",
"babel-polyfill": "^6.13.0",
"babel-preset-es2015": "^6.14.0",
"chai": "^3.5.0",
"coveralls": "^2.11.9",
"domino": "^1.0.25",
"eslint": "^2.13.1",
"eslint": "^3.6.1",
"eslint-plugin-mozilla": "^0.0.3",
"istanbul": "^0.4.4",
"istanbul-instrumenter-loader": "^0.2.0",
Expand Down Expand Up @@ -46,10 +46,11 @@
},
"scripts": {
"cover": "cat ./coverage/lcov/lcov.info | coveralls",
"lint": "eslint .",
"pretest": "npm run lint",
"tdd": "npm run test:karma -- --no-single-run",
"test": "npm-run-all test:*",
"test:karma": "karma start",
"test:lint": "eslint .",
"test:mocha": "istanbul cover _mocha --report lcovonly -- tests/*.test.js -R spec",
"clientize": "webpack"
}
Expand Down