-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 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
58
59
60
61
62
63
64
65
66
67
{
"name": "ruuvitag-parser",
"main": "dist/index.js",
"types": "src/types/index.d.ts",
"repository": "https://gitlab.com/kirbo/ruuvitag-parser",
"author": "Kimmo Saari <kirbownz@me.com>",
"type": "commonjs",
"license": "MIT",
"devDependencies": {
"@types/jest": "29.2.0",
"@typescript-eslint/eslint-plugin": "5.41.0",
"@typescript-eslint/parser": "5.41.0",
"eslint": "8.26.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.2.1",
"jest": "29.2.2",
"jest-junit": "14.0.1",
"prettier": "2.7.1",
"ts-jest": "29.0.3",
"typescript": "4.8.4",
"typescript-transform-paths": "3.4.4"
},
"dependencies": {
"@types/node": "18.11.8"
},
"scripts": {
"compile:ci": "tsc -p tsconfig.compile.json",
"compile:clean": "rm -rf dist",
"compile": "yarn compile:clean && tsc -p tsconfig.compile.json",
"lint": "eslint --ext .ts src/",
"test:unit": "jest --verbose tests/**.unit.test.ts",
"test:integration": "jest --verbose tests/**.integration.test.ts",
"test": "yarn lint && yarn verify && yarn test:unit && yarn compile && yarn test:integration",
"verify": "tsc --noEmit"
},
"files": [
"dist",
"src",
"package.json",
"README.md",
"tsconfig.json"
],
"jest": {
"preset": "ts-jest",
"testRegex": ".*test.ts$",
"moduleNameMapper": {
"@index$": "<rootDir>/src",
"@src/(.*)$": "<rootDir>/src/$1",
"@dist/(.*)$": "<rootDir>/dist/$1",
"@lib/(.*)$": "<rootDir>/src/lib/$1",
"@dataformats": "<rootDir>/src/dataformats",
"@dataformats/(.*)$": "<rootDir>/src/dataformats/$1",
"@types": "<rootDir>/src/types",
"@types/*": "<rootDir>/src/types/$1"
}
},
"jest-junit": {
"suiteName": "jest tests",
"outputDirectory": ".",
"outputName": "junit.xml",
"uniqueOutputName": "false",
"classNameTemplate": "{classname}-{title}",
"titleTemplate": "{classname}-{title}",
"ancestorSeparator": " › ",
"usePathForSuiteName": "true"
}
}