From ea1521ed6cf22bf577a25abb4f21dc5a4d9ba0e8 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Tue, 13 Dec 2016 09:36:32 -0800 Subject: [PATCH] chore(examples): don't gitignore _examples/tsconfig.json (#2966) Tweak to `.gitignore` so that only the `tsconfig.json` files in subdirectories are ignored, not the one directly in this `_examples` folder. Also, add a package.json script definition for `http-server` for more convenient access (w/o invoking tsc as is forced in the script definition given in `_boilerplate/package.json`. --- public/docs/_examples/.gitignore | 2 +- public/docs/_examples/package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/public/docs/_examples/.gitignore b/public/docs/_examples/.gitignore index 3d007625ef..c1d5403c98 100644 --- a/public/docs/_examples/.gitignore +++ b/public/docs/_examples/.gitignore @@ -5,7 +5,7 @@ karma-test-shim.js package.json */**/styles.css systemjs.config.js -tsconfig.json +*/**/tsconfig.json tslint.json wallaby.js diff --git a/public/docs/_examples/package.json b/public/docs/_examples/package.json index 789fcaaa7d..62d32a8a06 100644 --- a/public/docs/_examples/package.json +++ b/public/docs/_examples/package.json @@ -4,6 +4,7 @@ "private": true, "description": "Master package.json, the superset of all dependencies for all of the _example package.json files. See _boilerplate/package.json for example npm scripts.", "scripts": { + "http-server": "http-server", "protractor": "protractor", "webdriver:update": "webdriver-manager update --standalone false --gecko false" },