This repository was archived by the owner on Sep 16, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 1
1
# Jest Angular Schematic
2
2
3
+ ## Getting started
4
+
5
+ ``` shell
6
+ npm install && npm run link
7
+ ```
8
+
3
9
## Development
4
10
5
- ### Test schematic changes against this repositories test-app
11
+ ### Test schematic changes against this repositories Angular CLI test-app
6
12
7
13
Schematic changes will be applied to the test app in the ` ./test-app ` directory
8
14
Original file line number Diff line number Diff line change 3
3
"version" : " 1.0.0" ,
4
4
"description" : " Add jest to an Angular CLI project" ,
5
5
"scripts" : {
6
- "build" : " tsc -p tsconfig.json -w " ,
6
+ "build" : " tsc -p tsconfig.json -watch " ,
7
7
"build:once" : " tsc -p tsconfig.json" ,
8
- "build:launch" : " npm run build:once && npm run launch" ,
9
8
"clean:testApp" : " git checkout HEAD -- test-app && git clean -f -d test-app" ,
10
9
"clean:launch" : " npm run clean:testApp && npm run launch" ,
10
+ "launch" : " cd test-app && ng g add-jest:add-jest" ,
11
11
"test" : " npm run build:once && jasmine src/**/*_spec.js" ,
12
- "test:app:unit " : " cd test-app && npm run test" ,
12
+ "test:app" : " cd test-app && npm run lint && npm run test && npm run e2e && npm run build " ,
13
13
"link" : " cd test-app && npm link ../" ,
14
- "debug" : " echo \" debug not working with @angular/schematics\n > node --inspect-brk $(which schematics) .:addJest\" " ,
15
- "launch" : " cd test-app && ng g add-jest:add-jest"
14
+ "debug" : " echo \" debug not setup with @angular/schematics\n > node --inspect-brk $(which schematics) .:addJest\" "
16
15
},
17
16
"keywords" : [
18
17
" schematics"
You can’t perform that action at this time.
0 commit comments