Skip to content

Commit

Permalink
Add babel transpilation, phantomjs browser tests (with coverage)
Browse files Browse the repository at this point in the history
  • Loading branch information
fdintino committed Jan 17, 2018
1 parent 989a7ee commit fd310f7
Show file tree
Hide file tree
Showing 54 changed files with 493 additions and 25,241 deletions.
19 changes: 19 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"plugins": [
["transform-runtime", {
"polyfill": false,
"regenerator": true
}]
],
"presets": [["env", {
"targets": {
"browsers": ["last 2 versions", "safari >= 7", "ie 9"],
"node": "4"
}
}]],
"env": {
"test": {
"plugins": ["istanbul"]
}
}
}
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,11 @@ node_modules
coverage
.#*
docs/_site
docs/files
docs/files
/src/
/index.js
/index.js.map
/tests/browser/nunjucks*
.nyc_output
/browser
/tests/browser/precompiled-templates.js
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
node_modules
coverage
.nyc_output
docs
tests
bench
nunjucks
scripts
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: node_js
node_js:
- "7"
- "8"
- "6"
- "5"
- "4"
3 changes: 1 addition & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ init:
# Test against these versions of Node.js.
environment:
matrix:
- nodejs_version: "7"
- nodejs_version: "8"
- nodejs_version: "6"
- nodejs_version: "5"
- nodejs_version: "4"

# Install scripts. (runs after repo cloning)
Expand Down
8 changes: 0 additions & 8 deletions bin/bundle

This file was deleted.

89 changes: 0 additions & 89 deletions bin/bundle.js

This file was deleted.

Loading

0 comments on commit fd310f7

Please sign in to comment.