-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
128 lines (128 loc) · 3.23 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "dualsense-ts",
"version": "0.0.0",
"description": "A natural interface for your DualSense controller, with Typescript",
"keywords": [
"dualsense",
"typescript",
"controller",
"node",
"strictly-typed",
"ps5",
"dualshock",
"playstation",
"esm"
],
"homepage": "https://github.com/nsfm/dualsense-ts",
"repository": {
"type": "git",
"url": "https://github.com/nsfm/dualsense-ts.git"
},
"bugs": {
"url": "https://github.com/nsfm/dualsense-ts/issues"
},
"author": "Nate Dube <[email protected]> (https://ndube.com)",
"contributors": [
"CamTosh",
"nsfm",
"daniloarcidiacono"
],
"license": "GPL-3.0",
"private": false,
"main": "dist/index.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"browser": {
"node-hid": false
},
"scripts": {
"prebuild": "yarn barrels",
"build": "tsc --project tsconfig.build.json",
"build:watch": "tsc --project tsconfig.build.json --pretty --watch",
"start": "webpack serve --open",
"lint": "eslint src",
"test": "jest src --verbose",
"test:watch": "jest src --verbose --watch",
"coverage": "jest src --coverage --verbose --forceExit",
"coverage:watch": "jest src --coverage --verbose --watch",
"barrels": "barrelsby -d src -D -l replace -e 'spec.ts$'",
"debug": "node --inspect --enable-source-maps --experimental-specifier-resolution=node --loader ts-node/esm ./nodehid_example/debug.ts"
},
"peerDependencies": {
"node-hid": "^3.0.0"
},
"peerDependenciesMeta": {
"node-hid": {
"optional": true
}
},
"devDependencies": {
"@types/jest": "^27.5.0",
"@types/node": "^22.0.0",
"@types/node-hid": "^1.3.1",
"@types/w3c-web-hid": "^1.0.3",
"@typescript-eslint/eslint-plugin": "^5.23.0",
"@typescript-eslint/parser": "^5.23.0",
"barrelsby": "^2.3.4",
"eslint": "^8.15.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.26.0",
"html-webpack-plugin": "^5.5.0",
"jest": "^27.5.1",
"node-hid": "^3.0.0",
"prettier": "^3.0.0",
"ts-jest": "^27.1.3",
"ts-loader": "^9.3.1",
"ts-node": "^10.7.0",
"typescript": "^4.6.4",
"webpack": "^5.73.0",
"webpack-cli": "^5.0.0",
"webpack-dev-server": "^4.9.3"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"overrides": [
{
"files": [
"*.ts"
],
"parserOptions": {
"project": [
"./tsconfig.json"
]
}
}
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:@typescript-eslint/strict"
],
"rules": {
"@typescript-eslint/no-inferrable-types": 0,
"@typescript-eslint/no-empty-function": 0
}
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"preset": "ts-jest"
}
}