This repository has been archived by the owner on Nov 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
78 lines (78 loc) · 2.31 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
68
69
70
71
72
73
74
75
76
77
78
{
"name": "xtsb",
"version": "1.0.0-alpha.1",
"description": "",
"keywords": [],
"main": "dist/main/index.node.js",
"module": "dist/module/index.web.js",
"typings": "dist/types/index.d.ts",
"files": [
"dist"
],
"author": "Erik De Rijcke <derijcke.erik@gmail.com>",
"repository": {
"type": "git",
"url": "https://github.com/udevbe/xtsb.git"
},
"license": "MIT",
"engines": {
"node": ">=12.0.0"
},
"scripts": {
"prebuild": "rimraf dist",
"build:protocol": "yarn build:protocol:core && yarn build:protocol:shape && yarn build:protocol:render && yarn build:protocol:xfixes && yarn build:protocol:composite",
"build:protocol:core": "PYTHONPATH='.' python3 xcbgen/ts_client.py ./protocol/xproto.xml",
"build:protocol:shape": "PYTHONPATH='.' python3 xcbgen/ts_client.py ./protocol/shape.xml",
"build:protocol:xfixes": "PYTHONPATH='.' python3 xcbgen/ts_client.py ./protocol/xfixes.xml",
"build:protocol:render": "PYTHONPATH='.' python3 xcbgen/ts_client.py ./protocol/render.xml",
"build:protocol:composite": "PYTHONPATH='.' python3 xcbgen/ts_client.py ./protocol/composite.xml",
"build": "tsc -p tsconfig.node.json && tsc",
"test": "jest --coverage",
"test:watch": "jest --coverage --watch",
"test:prod": "yarn lint && yarn test --no-cache"
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testEnvironment": "node",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/",
"/src/xproto.ts"
],
"coverageThreshold": {
"global": {
"branches": 40,
"functions": 60,
"lines": 70,
"statements": 70
}
},
"collectCoverageFrom": [
"src/*.{js,ts}"
]
},
"devDependencies": {
"@types/jest": "^27.0.1",
"@types/node": "^16.9.1",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^27.2.0",
"jest-config": "^27.2.0",
"prettier": "^2.4.1",
"rimraf": "^3.0.2",
"ts-jest": "^27.0.5",
"ts-node": "^10.2.1",
"typescript": "^4.4.3"
}
}