-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 1.2 KB
/
package.json
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
47
48
49
50
51
52
53
54
55
56
57
{
"name": "soit",
"version": "2.1.0",
"description": "Create a type guard from a list of literals.",
"main": "dist/index.js",
"sideEffects": false,
"devDependencies": {
"@types/jest": "29.5.7",
"@types/node": "20.8.10",
"jest": "29.7.0",
"prettier": "3.0.3",
"rimraf": "5.0.5",
"ts-expect": "1.3.0",
"ts-jest": "29.1.1",
"typescript": "5.3.3"
},
"scripts": {
"clean": "rimraf dist",
"build": "npm run clean && tsc",
"test": "jest --coverage && npm run compile",
"compile": "tsc -p ./tsconfig.test.json --noEmit",
"prettier": "prettier 'src/**/*.ts' --write"
},
"repository": {
"type": "git",
"url": "git+https://github.com/adrgautier/soit.git"
},
"keywords": [
"utils",
"typescript",
"guard",
"literal",
"union"
],
"author": "Adrien Gautier",
"license": "MIT",
"jest": {
"transform": {
"^.+\\.ts$": "ts-jest"
},
"testRegex": "/src/.*.test.ts$",
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
],
"collectCoverageFrom": [
"src/**/*.ts",
"!src/**/*types.ts"
],
"moduleFileExtensions": [
"ts",
"js",
"json",
"node"
]
}
}