-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
46 lines (46 loc) · 1.07 KB
/
package.json
File metadata and controls
46 lines (46 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"name": "tswordcount",
"version": "1.0.0",
"description": "Displays word count from file",
"main": "index.js",
"scripts": {
"test": "jest --watchAll --verbose --coverage",
"demo": "npx ts-node src/index.ts src/tests/Fixtures/test01.txt",
"demo2": "npx ts-node src/index.ts src/tests/Fixtures/test02.txt"
},
"author": "David Goodman",
"license": "ISC",
"devDependencies": {
"@types/jest": "^29.5.0",
"jest": "^29.5.0",
"ts-jest": "^29.0.5",
"typescript": "^5.0.2"
},
"jest": {
"preset": "ts-jest/presets/js-with-ts",
"testEnvironment": "node",
"transform": {
"node_modules/variables/.+\\.(j|t)sx?$": "ts-jest",
"^.+\\.ts?$": "ts-jest"
},
"transformIgnorePatterns": [
"node_modules/(?!variables/.*)",
"root"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"collectCoverageFrom": [
"<rootDir>/src/**/*"
],
"coveragePathIgnorePatterns": [
"<rootDir>/node_modules",
"<rootDir>/dist"
]
},
"dependencies": {
"ts-node": "^10.9.1"
}
}