File tree 2 files changed +25
-3
lines changed
2 files changed +25
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Node TS Starter
2
2
3
- > A modern Node TS starter project
3
+ > A modern Node TS starter project using as many native Node.js features as possible
4
4
5
- ## Warnings
5
+ ## Features
6
6
7
+ - Modern TS config
8
+ - Type stripping to run .ts files directly
9
+ - Native Node.js test runner
10
+ - Uses Yarn through corepack
11
+ - Non intrusive ESLint config
12
+ - Prettier config
13
+ - Full VSCode config
14
+
15
+ ## Scripts
16
+
17
+ - ` yarn test ` - Run all tests
18
+ - ` yarn test:types ` - Run type checking
19
+ - ` yarn test:lint ` - Run linting
20
+ - ` yarn test:unit ` - Run unit tests
21
+ - ` yarn test:e2e ` - Run E2E tests
22
+
23
+ ## Notes
24
+
25
+ - Requires Node.js >= 22.9.0
26
+ - Unit tests are suffixed with ` .test.ts `
27
+ - E2E tests are suffixed with ` .e2e.ts `
7
28
- If you want to use npm publish, make sure to set ` "private": false ` in your package.json
Original file line number Diff line number Diff line change 27
27
"test:unit" : " node --experimental-strip-types --experimental-test-snapshots --no-warnings --test src/**/*.test.ts" ,
28
28
"test:e2e" : " node --experimental-strip-types --experimental-test-snapshots --no-warnings --test src/**/*.e2e.ts" ,
29
29
"test:lint" : " yarn eslint . --cache" ,
30
- "test:types" : " tsc --noEmit"
30
+ "test:types" : " tsc --noEmit" ,
31
+ "test" : " yarn test:types && yarn test:lint && yarn test:unit && yarn test:e2e"
31
32
},
32
33
"devDependencies" : {
33
34
"@eslint/js" : " ^9.16.0" ,
You can’t perform that action at this time.
0 commit comments