diff --git a/bin/dev-server.js b/bin/dev-server.js index e8b2c41081..5b8344768f 100644 --- a/bin/dev-server.js +++ b/bin/dev-server.js @@ -5,6 +5,7 @@ const toolbox = require("devtools-launchpad/index"); const feature = require("devtools-config"); const getConfig = require("./getConfig"); const express = require("express"); +const serve = require("express-static"); const envConfig = getConfig(); feature.setConfig(envConfig); @@ -14,6 +15,7 @@ let webpackConfig = require("../webpack.config"); let { app } = toolbox.startDevServer(envConfig, webpackConfig, __dirname); app.use("/integration/examples", express.static("src/test/mochitest/examples")); +app.use("/images", serve(path.join(__dirname, "../assets/images"))); console.log("View debugger examples here:"); console.log("https://github.com/devtools-html/debugger-examples"); diff --git a/package.json b/package.json index c62d6e69ce..e977196a90 100644 --- a/package.json +++ b/package.json @@ -18,19 +18,16 @@ "start": "node bin/dev-server", "start-app": "TARGET=application node bin/dev-server", "flow": "flow", - "eslint-check": - "eslint --print-config .eslintrc.js | eslint-config-prettier-check", + "eslint-check": "eslint --print-config .eslintrc.js | eslint-config-prettier-check", "prettier": "node bin/prettier.js", "license-check": "devtools-license-check", "links": "ls -l node_modules/ | grep ^l || echo 'no linked packages'", "lint": "run-p lint-css lint-js lint-md", "lint-css": "stylelint \"src/components/**/*.css\"", "lint-js": "eslint *.js \"src/**/*.js\" --fix", - "lint-md": - "remark -u devtools-linters/markdown/preset -qf *.md src configs docs", + "lint-md": "remark -u devtools-linters/markdown/preset -qf *.md src configs docs", "lint-fix": "yarn lint-js -- --fix", - "mochi": - "mochii --mc ./firefox --default-test-path devtools/client/debugger/new", + "mochi": "mochii --mc ./firefox --default-test-path devtools/client/debugger/new", "mochid": "yarn mochi -- --jsdebugger --", "mochir": "yarn mochi -- --repeat 10 --", "mochih": "yarn mochi -- --setenv MOZ_HEADLESS=1 --", @@ -38,20 +35,14 @@ "test:watch": "jest --watch", "test-coverage": "yarn test -- --coverage", "test-all": "yarn test; yarn lint; yarn flow", - "firefox": - "start-firefox --start --location https://devtools-html.github.io/debugger-examples/", - "chrome": - "start-chrome --location https://devtools-html.github.io/debugger-examples/", + "firefox": "start-firefox --start --location https://devtools-html.github.io/debugger-examples/", + "chrome": "start-chrome --location https://devtools-html.github.io/debugger-examples/", "copy-assets": "node bin/copy-assets --symlink", "copy-assets-watch": "node bin/copy-assets --watch --symlink", - "build-docs": - "documentation build --format html --sort-order alpha --shallow --document-exported --output docs/reference/ src/types.js src/utils/ src/reducers/ src/actions/ src/test/mochitest/head.js", - "flow-coverage": - "flow-coverage-report --threshold 50 -i 'src/actions/*.js' -i 'src/reducers/*.js' -i 'src/utils/*.js' -i 'src/components/*.js' -i 'src/components/**/*.js' -t html -t text", - "flow-utils": - "flow-coverage-report -i 'src/utils/*.js' -i 'src/utils/**/*.js' -t text", - "flow-redux": - "flow-coverage-report -i 'src/reducers/*.js' -i 'src/actions/*.js' -t text", + "build-docs": "documentation build --format html --sort-order alpha --shallow --document-exported --output docs/reference/ src/types.js src/utils/ src/reducers/ src/actions/ src/test/mochitest/head.js", + "flow-coverage": "flow-coverage-report --threshold 50 -i 'src/actions/*.js' -i 'src/reducers/*.js' -i 'src/utils/*.js' -i 'src/components/*.js' -i 'src/components/**/*.js' -t html -t text", + "flow-utils": "flow-coverage-report -i 'src/utils/*.js' -i 'src/utils/**/*.js' -t text", + "flow-redux": "flow-coverage-report -i 'src/reducers/*.js' -i 'src/actions/*.js' -t text", "flow-react": "flow-coverage-report -i 'src/components/**/*.js' -t text", "storybook": "start-storybook -p 6006", "snapshot": "NODE_ENV='development' build-storybook && percy-storybook", @@ -70,13 +61,13 @@ "babylon": "^6.18.0", "codemirror": "^5.28.0", "devtools-components": "^0.0.2", - "devtools-launchpad": "^0.0.100", + "devtools-launchpad": "0.0.102", "devtools-linters": "^0.0.3", "devtools-map-bindings": "^0.2.0", "devtools-reps": "^0.12.3", "devtools-source-editor": "0.0.6", - "devtools-source-map": "^0.14.2", - "devtools-splitter": "^0.0.3", + "devtools-source-map": "^0.14.3", + "devtools-splitter": "^0.0.4", "devtools-utils": "^0.0.9", "fuzzaldrin-plus": "^0.4.1", "immutable": "^3.7.6", @@ -97,9 +88,18 @@ "svg-inline-react": "^1.0.2", "wasmparser": "^0.4.10" }, - "files": ["src", "assets"], + "files": [ + "src", + "assets" + ], "greenkeeper": { - "ignore": ["react", "react-dom", "react-redux", "redux", "codemirror"] + "ignore": [ + "react", + "react-dom", + "react-redux", + "redux", + "codemirror" + ] }, "main": "src/main.js", "author": "Jason Laster ", @@ -111,7 +111,7 @@ "babel-plugin-transform-es2015-modules-commonjs": "^6.26.0", "babel-preset-react": "^6.24.1", "chalk": "^2.1.0", - "devtools-license-check": "^0.5.0", + "devtools-license-check": "^0.5.1", "documentation": "^5.2.1", "enzyme": "^2.9.1", "eslint": "^4.2.0", @@ -159,19 +159,47 @@ "workerjs": "github:jasonLaster/workerjs" }, "lint-staged": { - "*.js": ["prettier", "git add"], - "src/*.js": ["prettier", "git add"], - "src/*/*.js": ["prettier", "git add"], - "src/*/!(mochitest)**/*.js": ["prettier", "git add"], - "src/*/!(mochitest)*/**/*.js": ["prettier", "git add"] + "*.js": [ + "prettier", + "git add" + ], + "src/*.js": [ + "prettier", + "git add" + ], + "src/*/*.js": [ + "prettier", + "git add" + ], + "src/*/!(mochitest)**/*.js": [ + "prettier", + "git add" + ], + "src/*/!(mochitest)*/**/*.js": [ + "prettier", + "git add" + ] }, "jest": { "rootDir": "src", - "testMatch": ["**/tests/**/*.js"], - "testPathIgnorePatterns": ["/node_modules/", "/helpers/", "/fixtures/"], - "transformIgnorePatterns": ["node_modules/(?!devtools-)"], - "setupFiles": ["/test/tests-setup.js", "jest-localstorage-mock"], - "snapshotSerializers": ["jest-serializer-babel-ast"], + "testMatch": [ + "**/tests/**/*.js" + ], + "testPathIgnorePatterns": [ + "/node_modules/", + "/helpers/", + "/fixtures/" + ], + "transformIgnorePatterns": [ + "node_modules/(?!devtools-)" + ], + "setupFiles": [ + "/test/tests-setup.js", + "jest-localstorage-mock" + ], + "snapshotSerializers": [ + "jest-serializer-babel-ast" + ], "setupTestFrameworkScriptFile": "/test/tests-framework.js", "moduleNameMapper": { "\\.css$": "/test/__mocks__/styleMock.js", diff --git a/webpack.config.js b/webpack.config.js index 7ef06adb4f..42a30db625 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -35,6 +35,9 @@ function buildConfig(envConfig) { const extra = {}; if (isDevelopment()) { webpackConfig.plugins = []; + + webpackConfig.module = webpackConfig.module || {}; + webpackConfig.module.rules = webpackConfig.module.rules || []; } else { webpackConfig.plugins = []; webpackConfig.output.libraryTarget = "umd"; diff --git a/yarn.lock b/yarn.lock index a7f308752b..f7265b1410 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6,6 +6,16 @@ version "3.0.9" resolved "https://registry.yarnpkg.com/@hypnosphi/fuse.js/-/fuse.js-3.0.9.tgz#ea99f6121b4a8f065b4c71f85595db2714498807" +"@percy-io/react-percy-api-client@^0.1.3": + version "0.1.6" + resolved "https://registry.yarnpkg.com/@percy-io/react-percy-api-client/-/react-percy-api-client-0.1.6.tgz#40f1315bd737ed4235a386fddded91d6a4b29869" + dependencies: + debug "^2.6.3" + es6-promise-pool "^2.4.4" + mime-types "^2.1.14" + percy-client "^2.1.0" + slugify "^1.1.0" + "@percy-io/react-percy-api-client@^0.2.0": version "0.2.5" resolved "https://registry.yarnpkg.com/@percy-io/react-percy-api-client/-/react-percy-api-client-0.2.5.tgz#c98974d8c1bc53e2ae38c1549b0ec967fdde628f" @@ -17,6 +27,17 @@ percy-client "^2.1.0" slugify "^1.1.0" +"@percy-io/react-percy-storybook@^0.1.2": + version "0.1.12" + resolved "https://registry.yarnpkg.com/@percy-io/react-percy-storybook/-/react-percy-storybook-0.1.12.tgz#0ec2a7d72635ad768ea65849e22ac205d04dd311" + dependencies: + "@percy-io/react-percy-api-client" "^0.1.3" + debug "^2.6.3" + es6-promise-pool "^2.4.4" + jsdom "^9.12.0" + walk "^2.3.9" + yargs "^7.0.2" + "@percy-io/react-percy-storybook@^1.0.2": version "1.1.5" resolved "https://registry.yarnpkg.com/@percy-io/react-percy-storybook/-/react-percy-storybook-1.1.5.tgz#80e138afe01441aaafa8dfdd59ead8b0329b9ca7" @@ -520,14 +541,14 @@ autoprefixer@^6.3.1: postcss-value-parser "^3.2.3" autoprefixer@^7.1.2, autoprefixer@^7.1.4: - version "7.1.4" - resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-7.1.4.tgz#960847dbaa4016bc8e8e52ec891cbf8f1257a748" + version "7.1.5" + resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-7.1.5.tgz#d65d14b83c7cd1dd7bc801daa00557addf5a06b2" dependencies: - browserslist "^2.4.0" - caniuse-lite "^1.0.30000726" + browserslist "^2.5.0" + caniuse-lite "^1.0.30000744" normalize-range "^0.1.2" num2fraction "^1.2.2" - postcss "^6.0.11" + postcss "^6.0.13" postcss-value-parser "^3.2.3" aws-sign2@~0.6.0: @@ -1757,8 +1778,8 @@ boom@5.x.x: hoek "4.x.x" bowser@^1.0.0, bowser@^1.7.3: - version "1.7.3" - resolved "https://registry.yarnpkg.com/bowser/-/bowser-1.7.3.tgz#504bdb43118ca8db9cbbadf28fd60f265af96e4f" + version "1.8.0" + resolved "https://registry.yarnpkg.com/bowser/-/bowser-1.8.0.tgz#889d46ac922ec5db8297672747362ef836781ba7" brace-expansion@^1.1.7: version "1.1.8" @@ -1805,6 +1826,10 @@ browser-resolve@^1.11.2, browser-resolve@^1.7.0: dependencies: resolve "1.1.7" +browser-stdout@1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.0.tgz#f351d32969d32fa5d7a5567154263d928ae3bd1f" + browserify-aes@^1.0.0, browserify-aes@^1.0.4: version "1.0.8" resolved "https://registry.yarnpkg.com/browserify-aes/-/browserify-aes-1.0.8.tgz#c8fa3b1b7585bb7ba77c5560b60996ddec6d5309" @@ -1864,9 +1889,9 @@ browserslist@^1.3.6, browserslist@^1.5.2, browserslist@^1.7.6: caniuse-db "^1.0.30000639" electron-to-chromium "^1.2.7" -browserslist@^2.1.2, browserslist@^2.4.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-2.5.0.tgz#0ea00d22813a4dfae5786485225a9c584b3ef37c" +browserslist@^2.1.2, browserslist@^2.5.0: + version "2.5.1" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-2.5.1.tgz#68e4bc536bbcc6086d62843a2ffccea8396821c6" dependencies: caniuse-lite "^1.0.30000744" electron-to-chromium "^1.3.24" @@ -1982,12 +2007,12 @@ caniuse-api@^1.5.2: lodash.uniq "^4.5.0" caniuse-db@^1.0.30000529, caniuse-db@^1.0.30000634, caniuse-db@^1.0.30000639: - version "1.0.30000744" - resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000744.tgz#00758ff7dd5f7138d34a15608dccf71a59656ffe" + version "1.0.30000745" + resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000745.tgz#b259a61737a3e48c4fb4b6b1bc44edeb264cd422" -caniuse-lite@^1.0.30000726, caniuse-lite@^1.0.30000744: - version "1.0.30000744" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000744.tgz#860fa5c83ba34fe619397d607f30bb474821671b" +caniuse-lite@^1.0.30000744: + version "1.0.30000745" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000745.tgz#20d6fede1157a4935133502946fc7e0e6b880da5" capture-stack-trace@^1.0.0: version "1.0.0" @@ -2313,6 +2338,12 @@ commander@2.1.x: version "2.1.0" resolved "https://registry.yarnpkg.com/commander/-/commander-2.1.0.tgz#d121bbae860d9992a3d517ba96f56588e47c6781" +commander@2.9.0: + version "2.9.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4" + dependencies: + graceful-readlink ">= 1.0.0" + commander@^2.11.0, commander@^2.5.0, commander@^2.8.1, commander@^2.9.0: version "2.11.0" resolved "https://registry.yarnpkg.com/commander/-/commander-2.11.0.tgz#157152fd1e7a6c8d98a5b715cf376df928004563" @@ -2711,13 +2742,19 @@ date-now@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/date-now/-/date-now-0.1.4.tgz#eaf439fd4d4848ad74e5cc7dbef200672b9e345b" +debug@2.6.8: + version "2.6.8" + resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.8.tgz#e731531ca2ede27d188222427da17821d68ff4fc" + dependencies: + ms "2.0.0" + debug@2.6.9, debug@^2.2.0, debug@^2.3.3, debug@^2.6.3, debug@^2.6.8, debug@~2.6.7: version "2.6.9" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" dependencies: ms "2.0.0" -debug@^3.0.0, debug@^3.0.1: +debug@^3.0.0, debug@^3.0.1, debug@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" dependencies: @@ -2838,15 +2875,15 @@ devtools-connection@^0.0.7: version "0.0.7" resolved "https://registry.yarnpkg.com/devtools-connection/-/devtools-connection-0.0.7.tgz#1ec211018dc863079adb5422cf398f1201078c39" -devtools-contextmenu@^0.0.6: - version "0.0.6" - resolved "https://registry.yarnpkg.com/devtools-contextmenu/-/devtools-contextmenu-0.0.6.tgz#03ebe541f283b0b7ccc00a4641e6eb1b7fff95f8" +devtools-contextmenu@^0.0.7: + version "0.0.7" + resolved "https://registry.yarnpkg.com/devtools-contextmenu/-/devtools-contextmenu-0.0.7.tgz#9c5561a1e0e2a91d3ac92f76c7ef3a972a0cb120" dependencies: - devtools-modules "^0.0.31" + devtools-modules "^0.0.32" -devtools-launchpad@^0.0.100: - version "0.0.100" - resolved "https://registry.yarnpkg.com/devtools-launchpad/-/devtools-launchpad-0.0.100.tgz#21b37a8c6160b3a0ddff8d476449f8a84b857960" +devtools-launchpad@0.0.102: + version "0.0.102" + resolved "https://registry.yarnpkg.com/devtools-launchpad/-/devtools-launchpad-0.0.102.tgz#5776f8ff406d673c28dd1d0aec79eab58ffca02e" dependencies: amd-loader "0.0.8" autoprefixer "^7.1.2" @@ -2872,13 +2909,16 @@ devtools-launchpad@^0.0.100: classnames "^2.2.5" co "=4.6.0" css-loader "^0.26.1" + debug "^3.1.0" devtools-config "^0.0.15" devtools-connection "^0.0.7" - devtools-contextmenu "^0.0.6" - devtools-modules "^0.0.31" + devtools-contextmenu "^0.0.7" + devtools-mc-assets "^0.0.2" + devtools-modules "^0.0.32" devtools-sprintf-js "^1.0.3" devtools-utils "^0.0.5" express "^4.13.4" + express-static "^1.2.4" extract-text-webpack-plugin "^3.0.0" fs-extra "^2.0.0" fuzzaldrin-plus "^0.4.0" @@ -2892,12 +2932,10 @@ devtools-launchpad@^0.0.100: postcss-bidirection "^2.4.0" postcss-class-namespace "^0.1.0" postcss-loader "^2.0.6" + postcss-url-mapper jasonLaster/postcss-url-mapper properties-parser "^0.3.1" ps-node "^0.1.4" raw-loader "^0.5.1" - react "^15.6.2" - react-dom "^15.6.2" - react-hot-loader "^1.3.1" react-immutable-proptypes "^2.1.0" react-redux "^5.0.6" redux "^3.7.2" @@ -2912,7 +2950,7 @@ devtools-launchpad@^0.0.100: webpack-hot-middleware "^2.18.2" ws "^1.0.1" -devtools-license-check@^0.5.0: +devtools-license-check@^0.5.1: version "0.5.1" resolved "https://registry.yarnpkg.com/devtools-license-check/-/devtools-license-check-0.5.1.tgz#f4f2f4263c1987e5b8f9f72136f753e0d235e1e7" dependencies: @@ -2963,9 +3001,13 @@ devtools-map-bindings@^0.2.0, devtools-map-bindings@^0.2.1: jest "^19.0.2" source-map "^0.5.6" -devtools-modules@^0.0.31: - version "0.0.31" - resolved "https://registry.yarnpkg.com/devtools-modules/-/devtools-modules-0.0.31.tgz#06749ffa7b78cf2826467ffcce9d2edbbba3ced7" +devtools-mc-assets@^0.0.2: + version "0.0.2" + resolved "https://registry.yarnpkg.com/devtools-mc-assets/-/devtools-mc-assets-0.0.2.tgz#082cf3fedc8c238d6731263f836bcc5c18490caa" + +devtools-modules@^0.0.32: + version "0.0.32" + resolved "https://registry.yarnpkg.com/devtools-modules/-/devtools-modules-0.0.32.tgz#7432d664dba16918b92bf8e4907f2396c15980d8" dependencies: jest "^19.0.2" @@ -2986,7 +3028,7 @@ devtools-source-editor@0.0.6: dependencies: codemirror "^5.25.0" -devtools-source-map@^0.14.2: +devtools-source-map@^0.14.3: version "0.14.3" resolved "https://registry.yarnpkg.com/devtools-source-map/-/devtools-source-map-0.14.3.tgz#dcac59fe78982426c8b3edfcf57d8dd1be92c480" dependencies: @@ -2999,9 +3041,11 @@ devtools-source-map@^0.14.2: regenerator-runtime "^0.10.3" source-map "^0.6.1" -devtools-splitter@^0.0.3: - version "0.0.3" - resolved "https://registry.yarnpkg.com/devtools-splitter/-/devtools-splitter-0.0.3.tgz#a0c0191244a59a17c04735a2c1ad88c319c879e5" +devtools-splitter@^0.0.4: + version "0.0.4" + resolved "https://registry.yarnpkg.com/devtools-splitter/-/devtools-splitter-0.0.4.tgz#7fdb179f1a4238daa9ccebf10ef6bf3527cc417f" + dependencies: + "@percy-io/react-percy-storybook" "^0.1.2" devtools-sprintf-js@^1.0.3: version "1.0.3" @@ -3042,13 +3086,17 @@ dictionary-en-us@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/dictionary-en-us/-/dictionary-en-us-2.0.0.tgz#b9135f403444bb5e4b3cf465fb7d3f2fd276a839" +diff@3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/diff/-/diff-3.2.0.tgz#c9ce393a4b7cbd0b058a725c93df299027868ff9" + diff@^1.3.2: version "1.4.0" resolved "https://registry.yarnpkg.com/diff/-/diff-1.4.0.tgz#7f28d2eb9ee7b15a97efd89ce63dcfdaa3ccbabf" diff@^3.0.0, diff@^3.2.0: - version "3.3.1" - resolved "https://registry.yarnpkg.com/diff/-/diff-3.3.1.tgz#aa8567a6eed03c531fc89d3f711cd0e5259dec75" + version "3.4.0" + resolved "https://registry.yarnpkg.com/diff/-/diff-3.4.0.tgz#b1d85507daf3964828de54b37d0d73ba67dda56c" diffie-hellman@^5.0.0: version "5.0.2" @@ -3335,11 +3383,11 @@ es-to-primitive@^1.1.1: is-symbol "^1.0.1" es5-ext@^0.10.14, es5-ext@^0.10.9, es5-ext@~0.10.14: - version "0.10.30" - resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.30.tgz#7141a16836697dbabfaaaeee41495ce29f52c939" + version "0.10.31" + resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.31.tgz#7bb938c95a7f1b9f728092dc09c41edcc398eefe" dependencies: - es6-iterator "2" - es6-symbol "~3.1" + es6-iterator "~2.0.1" + es6-symbol "~3.1.1" es5-shim@^4.5.9: version "4.5.9" @@ -3349,7 +3397,7 @@ es6-error@^4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/es6-error/-/es6-error-4.0.2.tgz#eec5c726eacef51b7f6b73c20db6e1b13b069c98" -es6-iterator@2, es6-iterator@^2.0.1, es6-iterator@~2.0.1: +es6-iterator@^2.0.1, es6-iterator@~2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.1.tgz#8e319c9f0453bf575d374940a655920e59ca5512" dependencies: @@ -3386,7 +3434,7 @@ es6-shim@^0.35.3: version "0.35.3" resolved "https://registry.yarnpkg.com/es6-shim/-/es6-shim-0.35.3.tgz#9bfb7363feffff87a6cdb6cd93e405ec3c4b6f26" -es6-symbol@3.1.1, es6-symbol@^3.1, es6-symbol@^3.1.1, es6-symbol@~3.1, es6-symbol@~3.1.1: +es6-symbol@3.1.1, es6-symbol@^3.1, es6-symbol@^3.1.1, es6-symbol@~3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.1.tgz#bf00ef4fdab6ba1b46ecb7b629b4c7ed5715cc77" dependencies: @@ -3406,7 +3454,7 @@ escape-html@~1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" -escape-string-regexp@^1.0.0, escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: +escape-string-regexp@1.0.5, escape-string-regexp@^1.0.0, escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" @@ -3668,6 +3716,12 @@ expect.js@^0.3.1: version "0.3.1" resolved "https://registry.yarnpkg.com/expect.js/-/expect.js-0.3.1.tgz#b0a59a0d2eff5437544ebf0ceaa6015841d09b5b" +express-static@^1.2.4: + version "1.2.4" + resolved "https://registry.yarnpkg.com/express-static/-/express-static-1.2.4.tgz#effe53be83b1372e2c0e81e68aa8ae55af76f208" + dependencies: + mail2 latest + express@^4.13.4, express@^4.15.5: version "4.16.1" resolved "https://registry.yarnpkg.com/express/-/express-4.16.1.tgz#6b33b560183c9b253b7b62144df33a4654ac9ed0" @@ -4060,8 +4114,8 @@ functional-red-black-tree@^1.0.1: resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" fuse.js@^3.0.1: - version "3.1.0" - resolved "https://registry.yarnpkg.com/fuse.js/-/fuse.js-3.1.0.tgz#9062146c471552189b0f678b4f5a155731ae3b3c" + version "3.2.0" + resolved "https://registry.yarnpkg.com/fuse.js/-/fuse.js-3.2.0.tgz#f0448e8069855bf2a3e683cdc1d320e7e2a07ef4" fuzzaldrin-plus@^0.4.0, fuzzaldrin-plus@^0.4.1: version "0.4.1" @@ -4217,6 +4271,17 @@ glob-stream@^5.3.2: to-absolute-glob "^0.1.1" unique-stream "^2.0.2" +glob@7.1.1: + version "7.1.1" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8" + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.0.2" + once "^1.3.0" + path-is-absolute "^1.0.0" + glob@^5.0.15, glob@^5.0.3: version "5.0.15" resolved "https://registry.yarnpkg.com/glob/-/glob-5.0.15.tgz#1bc936b9e02f4a603fcc222ecf7633d30b8b93b1" @@ -4303,6 +4368,14 @@ graceful-fs@^4.0.0, graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.4, version "4.1.11" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" +"graceful-readlink@>= 1.0.0": + version "1.0.1" + resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725" + +growl@1.9.2: + version "1.9.2" + resolved "https://registry.yarnpkg.com/growl/-/growl-1.9.2.tgz#0ea7743715db8d8de2c5ede1775e1b45ac85c02f" + growly@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081" @@ -4540,6 +4613,10 @@ hawk@~6.0.2: hoek "4.x.x" sntp "2.x.x" +he@1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd" + highlight.js@^9.1.0: version "9.12.0" resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.12.0.tgz#e6d9dbe57cbefe60751f02af336195870c90c01e" @@ -5761,6 +5838,10 @@ json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" +json3@3.3.2: + version "3.3.2" + resolved "https://registry.yarnpkg.com/json3/-/json3-3.3.2.tgz#3c0434743df93e2f5c42aee7b19bcb483575f4e1" + json5@^0.5.0, json5@^0.5.1: version "0.5.1" resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821" @@ -6013,10 +6094,29 @@ lodash-es@^4.2.0, lodash-es@^4.2.1: version "4.17.4" resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.4.tgz#dcc1d7552e150a0640073ba9cb31d70f032950e7" +lodash._baseassign@^3.0.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/lodash._baseassign/-/lodash._baseassign-3.2.0.tgz#8c38a099500f215ad09e59f1722fd0c52bfe0a4e" + dependencies: + lodash._basecopy "^3.0.0" + lodash.keys "^3.0.0" + +lodash._basecopy@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz#8da0e6a876cf344c0ad8a54882111dd3c5c7ca36" + +lodash._basecreate@^3.0.0: + version "3.0.3" + resolved "https://registry.yarnpkg.com/lodash._basecreate/-/lodash._basecreate-3.0.3.tgz#1bc661614daa7fc311b7d03bf16806a0213cf821" + lodash._getnative@^3.0.0: version "3.9.1" resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5" +lodash._isiterateecall@^3.0.0: + version "3.0.9" + resolved "https://registry.yarnpkg.com/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz#5203ad7ba425fae842460e696db9cf3e6aac057c" + lodash._reinterpolate@~3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d" @@ -6033,6 +6133,14 @@ lodash.camelcase@^4.3.0: version "4.3.0" resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6" +lodash.create@3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/lodash.create/-/lodash.create-3.1.1.tgz#d7f2849f0dbda7e04682bb8cd72ab022461debe7" + dependencies: + lodash._baseassign "^3.0.0" + lodash._basecreate "^3.0.0" + lodash._isiterateecall "^3.0.0" + lodash.debounce@^4.0.8: version "4.0.8" resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" @@ -6081,7 +6189,7 @@ lodash.kebabcase@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz#8489b1cb0d29ff88195cceca448ff6d6cc295c36" -lodash.keys@^3.1.2: +lodash.keys@^3.0.0, lodash.keys@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/lodash.keys/-/lodash.keys-3.1.2.tgz#4dbc0472b156be50a0b286855d1bd0b0c656098a" dependencies: @@ -6205,6 +6313,12 @@ macaddress@^0.2.8: version "0.2.8" resolved "https://registry.yarnpkg.com/macaddress/-/macaddress-0.2.8.tgz#5904dc537c39ec6dbefeae902327135fa8511f12" +mail2@latest: + version "1.2.2" + resolved "https://registry.yarnpkg.com/mail2/-/mail2-1.2.2.tgz#977c6940c6fabca4c353a0d84e584fe7cd7de06d" + dependencies: + mocha "^3.2.0" + make-dir@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-1.0.0.tgz#97a011751e91dd87cfadef58832ebb04936de978" @@ -6506,7 +6620,7 @@ mixin-deep@^1.2.0: for-in "^1.0.2" is-extendable "^0.1.1" -"mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0, mkdirp@~0.5.1: +mkdirp@0.5.1, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0, mkdirp@~0.5.1: version "0.5.1" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" dependencies: @@ -6520,6 +6634,23 @@ mobx@^2.3.4: version "2.7.0" resolved "https://registry.yarnpkg.com/mobx/-/mobx-2.7.0.tgz#cf3d82d18c0ca7f458d8f2a240817b3dc7e54a01" +mocha@^3.2.0: + version "3.5.3" + resolved "https://registry.yarnpkg.com/mocha/-/mocha-3.5.3.tgz#1e0480fe36d2da5858d1eb6acc38418b26eaa20d" + dependencies: + browser-stdout "1.3.0" + commander "2.9.0" + debug "2.6.8" + diff "3.2.0" + escape-string-regexp "1.0.5" + glob "7.1.1" + growl "1.9.2" + he "1.1.1" + json3 "3.3.2" + lodash.create "3.1.1" + mkdirp "0.5.1" + supports-color "3.1.2" + mochii@^0.0.8: version "0.0.8" resolved "https://registry.yarnpkg.com/mochii/-/mochii-0.0.8.tgz#f53b2744154f4543e2df52f8606eecc6f647113a" @@ -7126,8 +7257,8 @@ parse-latin@^4.0.0: unist-util-visit-children "^1.0.0" parse-script-tags@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/parse-script-tags/-/parse-script-tags-0.1.1.tgz#db0b4dbe551e946055133c323ed8bcc0e6de6ab7" + version "0.1.3" + resolved "https://registry.yarnpkg.com/parse-script-tags/-/parse-script-tags-0.1.3.tgz#abcc38665d4ff92bd5a2661b8f24c3e172db19d5" dependencies: babel-types "^6.24.1" babylon "^6.17.0" @@ -7609,6 +7740,12 @@ postcss-unique-selectors@^2.0.2: postcss "^5.0.4" uniqs "^2.0.0" +"postcss-url-mapper@github:jasonLaster/postcss-url-mapper": + version "1.1.1" + resolved "https://codeload.github.com/jasonLaster/postcss-url-mapper/tar.gz/821a281aa5a9eaf1f8557d7d282c05b77e7db5f9" + dependencies: + postcss "^6.0.13" + postcss-value-parser@^3.0.1, postcss-value-parser@^3.0.2, postcss-value-parser@^3.1.1, postcss-value-parser@^3.1.2, postcss-value-parser@^3.2.3, postcss-value-parser@^3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-3.3.0.tgz#87f38f9f18f774a4ab4c8a232f5c5ce8872a9d15" @@ -7630,7 +7767,7 @@ postcss@^5.0.10, postcss@^5.0.11, postcss@^5.0.12, postcss@^5.0.13, postcss@^5.0 source-map "^0.5.6" supports-color "^3.2.3" -postcss@^6.0.0, postcss@^6.0.1, postcss@^6.0.11, postcss@^6.0.2, postcss@^6.0.3, postcss@^6.0.6, postcss@^6.0.8: +postcss@^6.0.0, postcss@^6.0.1, postcss@^6.0.13, postcss@^6.0.2, postcss@^6.0.3, postcss@^6.0.6, postcss@^6.0.8: version "6.0.13" resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.13.tgz#b9ecab4ee00c89db3ec931145bd9590bbf3f125f" dependencies: @@ -7911,17 +8048,6 @@ react-dom@^15.6.2: object-assign "^4.1.0" prop-types "^15.5.10" -react-hot-api@^0.4.5: - version "0.4.7" - resolved "https://registry.yarnpkg.com/react-hot-api/-/react-hot-api-0.4.7.tgz#a7e22a56d252e11abd9366b61264cf4492c58171" - -react-hot-loader@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/react-hot-loader/-/react-hot-loader-1.3.1.tgz#c95647ae78b73dfceff6ec71ffcb04182ff6daf9" - dependencies: - react-hot-api "^0.4.5" - source-map "^0.4.4" - react-html-attributes@^1.3.0: version "1.4.1" resolved "https://registry.yarnpkg.com/react-html-attributes/-/react-html-attributes-1.4.1.tgz#97b5ec710da68833598c8be6f89ac436216840a5" @@ -9584,6 +9710,12 @@ sugarss@^1.0.0: dependencies: postcss "^6.0.0" +supports-color@3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.1.2.tgz#72a262894d9d408b956ca05ff37b2ed8a6e2a2d5" + dependencies: + has-flag "^1.0.0" + supports-color@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-0.2.0.tgz#d92de2694eb3f67323973d7ae3d8b55b4c22190a"