Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit ea1521e

Browse files
chalinFoxandxss
authored andcommitted
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`.
1 parent 9cf71d4 commit ea1521e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

public/docs/_examples/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ karma-test-shim.js
55
package.json
66
*/**/styles.css
77
systemjs.config.js
8-
tsconfig.json
8+
*/**/tsconfig.json
99
tslint.json
1010
wallaby.js
1111

public/docs/_examples/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"private": true,
55
"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.",
66
"scripts": {
7+
"http-server": "http-server",
78
"protractor": "protractor",
89
"webdriver:update": "webdriver-manager update --standalone false --gecko false"
910
},

0 commit comments

Comments
 (0)