Skip to content

Commit 37a60de

Browse files
committed
init
0 parents  commit 37a60de

10 files changed

+2221
-0
lines changed

.gitignore

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Outputs
2+
src/**/*.js
3+
src/**/*.js.map
4+
src/**/*.d.ts
5+
!src/**/schema.d.ts
6+
7+
# IDEs
8+
.idea/
9+
jsconfig.json
10+
.vscode/
11+
12+
# Misc
13+
node_modules/
14+
npm-debug.log*
15+
yarn-error.log*
16+
17+
# Mac OSX Finder files.
18+
**/.DS_Store
19+
.DS_Store

README.md

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# ngx-spec
2+
3+
A missing schematic for creating Angular spec.
4+
5+
## Installation
6+
7+
```sh
8+
ng add ngx-spec
9+
```
10+
11+
## Usage
12+
13+
Supported types are
14+
15+
```ts
16+
const supportedTypes = ['component', 'directive', 'guard', 'service', 'pipe', 'module'];
17+
```
18+
19+
Run:
20+
21+
```sh
22+
ng g spec ngx-spec:spec path/my.service
23+
```
24+
25+
or
26+
27+
```sh
28+
ng g spec ngx-spec:spec path/my.service.ts
29+
```
30+
31+
## History
32+
33+
See the story behind [on stackoverflow](https://stackoverflow.com/q/46276055/1990451) and [on Angular CLI github issue](https://github.com/angular/angular-cli/issues/7727).
34+
35+
## License
36+
37+
MIT

0 commit comments

Comments
 (0)