Skip to content

Commit 74d65d2

Browse files
Update the DevelopmentWorkflow.md
1 parent d012f9a commit 74d65d2

File tree

1 file changed

+8
-17
lines changed

1 file changed

+8
-17
lines changed

DevelopmentWorkflow.md

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -39,25 +39,18 @@ npm run setup
3939
The following commands are commonly used to compile the `tns-core-modules`:
4040
```bash
4141
# Full tsc with type checking ~22.2s.
42-
tsc -p tns-core-modules
42+
tsc
4343

4444
# Fast tsc ~11.2s.
45-
tsc -p tns-core-modules --skipLibCheck
45+
tsc --skipLibCheck
4646

4747
# Fast watcher, ~4s. on save
48-
tsc -p tns-core-modules --skipLibCheck -w
49-
```
50-
51-
Compiling the modules, tests and apps has also npm scripts:
52-
```
53-
npm run dev-tsc-tns-core-modules
54-
npm run dev-tsc-tests
55-
npm run dev-tsc-apps
48+
tsc --skipLibCheck -w
5649
```
5750

5851
The modules have `typescript` as devDependency so you should also be able to use locally installed TypeScript compiler from node_modules:
5952
```
60-
./node_modules/.bin/tsc -p tns-core-modules
53+
./node_modules/.bin/tsc
6154
```
6255

6356
You can compile the typescript files in the `tns-core-modules`, `tns-platform-declarations`, `apps` and `tests` at once at the root of the repo:
@@ -72,13 +65,11 @@ To run the test app:
7265
# Once after npm install
7366
npm run setup
7467
75-
# After changes in the modules
76-
tsc -p tns-core-modules
77-
# After changes in the tests
78-
tsc -p tests
68+
# After changes in the modules or the tests
69+
tsc
7970
80-
tns run ios --path tests
81-
tns run android --path tests
71+
tns livesync ios --path tests
72+
tns livesync android --path tests
8273
```
8374

8475
## Platform declarations

0 commit comments

Comments
 (0)