-
-
Notifications
You must be signed in to change notification settings - Fork 62
/
package.json
132 lines (132 loc) · 3.81 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
129
130
131
132
{
"name": "react-simple-keyboard",
"version": "3.8.30",
"description": "React.js Virtual Keyboard",
"main": "build/index.js",
"scripts": {
"start": "webpack serve --config webpack.config.demo.js",
"build": "npm run generate-types && webpack && npm run build-modern && npm run build-modern-esm && tsc",
"build-modern": "webpack --config webpack.config.modern.js",
"build-modern-esm": "webpack --config webpack.config.modern_esm.js",
"test": "jest --silent",
"coverage": "npm run test -- --coverage",
"prepare": "npm run build",
"generate-types": "node scripts/generateKeyboardTypes.js"
},
"repository": {
"type": "git",
"url": "https://github.com/hodgef/react-simple-keyboard"
},
"author": "Francisco Hodge <[email protected]> (https://github.com/hodgef)",
"bugs": {
"url": "https://github.com/hodgef/react-simple-keyboard/issues"
},
"homepage": "https://virtual-keyboard.js.org/",
"keywords": [
"react",
"reactjs",
"digital",
"keyboard",
"onscreen",
"virtual",
"component",
"screen-keyboard",
"component",
"virtual-keyboard",
"touchscreen",
"touch-screen",
"kiosk",
"osk",
"js"
],
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.0",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-transform-typescript": "^7.26.3",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.26.0",
"@types/enzyme": "^3.10.12",
"@types/jest": "^29.5.14",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.3",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.32.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
"autoprefixer": "^10.4.20",
"babel-eslint": "^10.1.0",
"babel-loader": "^9.2.1",
"babel-preset-minify": "^0.5.2",
"copy-webpack-plugin": "^12.0.2",
"core-js": "^3.39.0",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.0",
"dts-bundle": "^0.7.3",
"enzyme": "^3.11.0",
"eslint": "^7.32.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.6.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"mini-css-extract-plugin": "^2.9.2",
"postcss": "^8.4.49",
"postcss-loader": "^8.1.1",
"react": "^16.0.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0",
"simple-keyboard": "3.8.23",
"style-loader": "^4.0.0",
"terser-webpack-plugin": "^5.3.11",
"typescript": "^4.9.5",
"url-loader": "^4.1.1",
"webpack": "^5.97.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "4.13.3"
},
"peerDependencies": {
"react": "^16.0.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0"
},
"jest": {
"testEnvironment": "jsdom",
"roots": [
"<rootDir>/src"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*.d.ts",
"!src/lib/index.js",
"!src/lib/polyfills.js",
"!src/demo/**",
"!src/utils/**",
"!src/**/*.d.ts",
"!**/tests/**"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
"<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
],
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$",
"^.+\\.module\\.(css|sass|scss)$"
],
"modulePaths": [],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/scripts/testMock.js",
"\\.(css|less)$": "<rootDir>/scripts/testMock.js"
},
"moduleFileExtensions": [
"web.js",
"js",
"web.ts",
"ts",
"web.tsx",
"tsx",
"json",
"web.jsx",
"jsx",
"node"
]
}
}