-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
63 lines (63 loc) · 1.59 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
58
59
60
61
62
63
{
"version": "1.0.3",
"name": "@yasu-s/ts-ext",
"description": "TypeScript extension",
"license": "MIT",
"repository": "https://github.com/yasu-s/ts-array-ext.git",
"dependencies": {},
"devDependencies": {
"@types/jest": "^27.4.1",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"eslint": "^8.12.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^27.5.1",
"jest-junit": "^13.0.0",
"prettier": "^2.6.1",
"ts-jest": "^27.1.4",
"typescript": "^4.6.3"
},
"scripts": {
"build": "tsc --project ./tsconfig.build.json",
"prepare": "npm run build",
"test": "jest",
"test:w": "jest --watch",
"test:wa": "jest --watchAll",
"test:ci": "jest --runInBand --coverage --ci --reporters=default --reporters=jest-junit",
"lint": "eslint src --ext .ts"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"jest": {
"testEnvironment": "node",
"verbose": true,
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.json"
}
},
"testMatch": [
"**/test/**/*.+(ts|tsx|js)"
],
"resetMocks": true,
"testTimeout": 100
},
"jest-junit": {
"outputDirectory": "reports",
"outputName": "jest-junit.xml",
"ancestorSeparator": " › ",
"uniqueOutputName": "false",
"suiteNameTemplate": "{filepath}",
"classNameTemplate": "{classname}",
"titleTemplate": "{title}"
}
}