| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| { | ||
| "name": "chrome-commons-upload", | ||
| "private": true, | ||
| "engines": { | ||
| "node": ">=0.8.0" | ||
| }, | ||
| "devDependencies": { | ||
| "babel-core": "^6.7.2", | ||
| "babel-preset-es2015": "^6.6.0", | ||
| "del": "^2.2.0", | ||
| "gulp": "^3.9.1", | ||
| "gulp-babel": "^6.1.2", | ||
| "gulp-cache": "^0.4.3", | ||
| "gulp-chrome-manifest": "0.0.13", | ||
| "gulp-clean-css": "^2.0.3", | ||
| "gulp-eslint": "^2.0.0", | ||
| "gulp-if": "^2.0.0", | ||
| "gulp-imagemin": "^2.4.0", | ||
| "gulp-livereload": "^3.8.1", | ||
| "gulp-load-plugins": "^1.2.0", | ||
| "gulp-htmlmin": "^1.3.0", | ||
| "gulp-size": "^2.1.0", | ||
| "gulp-sourcemaps": "^1.6.0", | ||
| "gulp-uglify": "^1.5.3", | ||
| "gulp-useref": "^3.0.8", | ||
| "gulp-zip": "^3.2.0", | ||
| "main-bower-files": "^2.11.1", | ||
| "run-sequence": "^1.1.5", | ||
| "wiredep": "^4.0.0" | ||
| }, | ||
| "eslintConfig": { | ||
| "env": { | ||
| "node": true, | ||
| "browser": true | ||
| }, | ||
| "globals": { | ||
| "chrome": true | ||
| }, | ||
| "rules": { | ||
| "eol-last": 0, | ||
| "quotes": [ | ||
| 2, | ||
| "single" | ||
| ] | ||
| } | ||
| } | ||
| } |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| <!doctype html> | ||
| <html> | ||
| <head> | ||
| <meta charset="utf-8"> | ||
| <title>Mocha Spec Runner</title> | ||
| <link rel="stylesheet" href="../bower_components/mocha/mocha.css"> | ||
| </head> | ||
| <body> | ||
| <div id="mocha"></div> | ||
| <script src="../bower_components/mocha/mocha.js"></script> | ||
| <script>mocha.setup('bdd');</script> | ||
| <script src="../bower_components/chai/chai.js"></script> | ||
| <script> | ||
| var assert = chai.assert; | ||
| var expect = chai.expect; | ||
| var should = chai.should(); | ||
| </script> | ||
| <!-- bower:js --> | ||
| <!-- endbower --> | ||
| <!-- include source files here... --> | ||
| <!-- include spec files here... --> | ||
| <script src="spec/test.js"></script> | ||
| <script> | ||
| if (navigator.userAgent.indexOf('PhantomJS') === -1) { | ||
| mocha.run(); | ||
| } | ||
| </script> | ||
| </body> | ||
| </html> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| (function () { | ||
| 'use strict'; | ||
|
|
||
| describe('Give it some context', function () { | ||
| describe('maybe a bit more context here', function () { | ||
| it('should run here few assertions', function () { | ||
|
|
||
| }); | ||
| }); | ||
| }); | ||
| })(); |