mirror of https://github.com/docker/docs.git
commit
e5975df7f1
|
@ -3,6 +3,7 @@
|
||||||
build
|
build
|
||||||
dist
|
dist
|
||||||
node_modules
|
node_modules
|
||||||
|
coverage
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
|
|
||||||
# Signing Identity
|
# Signing Identity
|
||||||
|
|
|
@ -27,5 +27,5 @@
|
||||||
"jest": true,
|
"jest": true,
|
||||||
"pit": true
|
"pit": true
|
||||||
},
|
},
|
||||||
"predef": [ "-Promise" ]
|
"predef": [ "Promise" ]
|
||||||
}
|
}
|
||||||
|
|
21
package.json
21
package.json
|
@ -12,7 +12,7 @@
|
||||||
"bugs": "https://github.com/kitematic/kitematic/issues",
|
"bugs": "https://github.com/kitematic/kitematic/issues",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "gulp",
|
"start": "gulp",
|
||||||
"test": "jest",
|
"test": "jest --coverage",
|
||||||
"release": "gulp release",
|
"release": "gulp release",
|
||||||
"release:beta": "gulp release --beta",
|
"release:beta": "gulp release --beta",
|
||||||
"preinstall": "./util/deps",
|
"preinstall": "./util/deps",
|
||||||
|
@ -28,16 +28,21 @@
|
||||||
"jest": {
|
"jest": {
|
||||||
"scriptPreprocessor": "<rootDir>/util/preprocessor.js",
|
"scriptPreprocessor": "<rootDir>/util/preprocessor.js",
|
||||||
"setupEnvScriptFile": "<rootDir>/util/testenv.js",
|
"setupEnvScriptFile": "<rootDir>/util/testenv.js",
|
||||||
|
"collectCoverage": true,
|
||||||
|
"testDirectoryName": "src",
|
||||||
|
"testPathIgnorePatterns": [
|
||||||
|
"/node_modules/",
|
||||||
|
"^((?!-test).)*$"
|
||||||
|
],
|
||||||
"unmockedModulePathPatterns": [
|
"unmockedModulePathPatterns": [
|
||||||
|
"stream",
|
||||||
"tty",
|
"tty",
|
||||||
"net",
|
"net",
|
||||||
"crypto",
|
"crypto",
|
||||||
"stream",
|
"<rootDir>/node_modules/.*JSONStream",
|
||||||
"<rootDir>/node_modules/object-assign",
|
"<rootDir>/node_modules/object-assign",
|
||||||
"<rootDir>/node_modules/underscore",
|
"<rootDir>/node_modules/underscore",
|
||||||
"<rootDir>/node_modules/react",
|
"<rootDir>/node_modules/bluebird"
|
||||||
"<rootDir>/node_modules/bluebird",
|
|
||||||
"<rootDir>/node_modules/babel"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"docker-version": "1.5.0",
|
"docker-version": "1.5.0",
|
||||||
|
@ -51,7 +56,8 @@
|
||||||
"async": "^0.9.0",
|
"async": "^0.9.0",
|
||||||
"bluebird": "^2.9.12",
|
"bluebird": "^2.9.12",
|
||||||
"bugsnag-js": "^2.4.7",
|
"bugsnag-js": "^2.4.7",
|
||||||
"dockerode": "^2.0.7",
|
"coveralls": "^2.11.2",
|
||||||
|
"dockerode": "^2.1.1",
|
||||||
"exec": "0.2.0",
|
"exec": "0.2.0",
|
||||||
"jquery": "^2.1.3",
|
"jquery": "^2.1.3",
|
||||||
"minimist": "^1.1.0",
|
"minimist": "^1.1.0",
|
||||||
|
@ -76,6 +82,7 @@
|
||||||
"gulp-cssmin": "^0.1.6",
|
"gulp-cssmin": "^0.1.6",
|
||||||
"gulp-download-atom-shell": "0.0.4",
|
"gulp-download-atom-shell": "0.0.4",
|
||||||
"gulp-if": "^1.2.5",
|
"gulp-if": "^1.2.5",
|
||||||
|
"gulp-insert": "^0.4.0",
|
||||||
"gulp-less": "^3.0.1",
|
"gulp-less": "^3.0.1",
|
||||||
"gulp-livereload": "^3.8.0",
|
"gulp-livereload": "^3.8.0",
|
||||||
"gulp-plumber": "^0.6.6",
|
"gulp-plumber": "^0.6.6",
|
||||||
|
@ -83,7 +90,7 @@
|
||||||
"gulp-shell": "^0.3.0",
|
"gulp-shell": "^0.3.0",
|
||||||
"gulp-sourcemaps": "^1.5.0",
|
"gulp-sourcemaps": "^1.5.0",
|
||||||
"gulp-util": "^3.0.4",
|
"gulp-util": "^3.0.4",
|
||||||
"jest-cli": "^0.4.0",
|
"jest-cli": "kitematic/jest",
|
||||||
"jsxhint": "^0.12.1",
|
"jsxhint": "^0.12.1",
|
||||||
"react-tools": "^0.12.2",
|
"react-tools": "^0.12.2",
|
||||||
"run-sequence": "^1.0.2"
|
"run-sequence": "^1.0.2"
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
jest.dontMock('../src/SetupStore');
|
jest.dontMock('./SetupStore');
|
||||||
var setupStore = require('../src/SetupStore');
|
var setupStore = require('./SetupStore');
|
||||||
var virtualBox = require('../src/VirtualBox');
|
var virtualBox = require('./VirtualBox');
|
||||||
var util = require('../src/Util');
|
var util = require('./Util');
|
||||||
var machine = require('../src/DockerMachine');
|
var machine = require('./DockerMachine');
|
||||||
var setupUtil = require('../src/SetupUtil');
|
var setupUtil = require('./SetupUtil');
|
||||||
var Promise = require('bluebird');
|
|
||||||
|
|
||||||
describe('SetupStore', function () {
|
describe('SetupStore', function () {
|
||||||
describe('download step', function () {
|
describe('download step', function () {
|
|
@ -1,7 +1,6 @@
|
||||||
jest.dontMock('../src/VirtualBox');
|
jest.dontMock('./VirtualBox');
|
||||||
var virtualBox = require('../src/VirtualBox');
|
var virtualBox = require('./VirtualBox');
|
||||||
var util = require('../src/Util');
|
var util = require('./Util');
|
||||||
var Promise = require('bluebird');
|
|
||||||
|
|
||||||
describe('VirtualBox', function () {
|
describe('VirtualBox', function () {
|
||||||
it('returns the right command', function () {
|
it('returns the right command', function () {
|
Loading…
Reference in New Issue