2018-04-21 04:34:02 +08:00
|
|
|
{
|
|
|
|
"name": "simple-keyboard",
|
2023-01-05 17:03:43 +08:00
|
|
|
"version": "3.5.2",
|
2018-09-25 03:52:54 +08:00
|
|
|
"description": "On-screen Javascript Virtual Keyboard",
|
2018-04-21 04:34:02 +08:00
|
|
|
"main": "build/index.js",
|
|
|
|
"scripts": {
|
2021-03-16 12:40:23 +08:00
|
|
|
"start": "webpack serve --config webpack.config.demo.js",
|
2021-10-13 14:13:26 +08:00
|
|
|
"build": "webpack && npm run build-modern && tsc",
|
2021-10-13 11:18:52 +08:00
|
|
|
"build-modern": "webpack --config webpack.config.modern.js",
|
2021-03-07 15:52:17 +08:00
|
|
|
"test": "jest --silent",
|
|
|
|
"coverage": "npm run test -- --coverage",
|
2019-10-13 03:17:39 +08:00
|
|
|
"prepare": "npm run build",
|
|
|
|
"trypublish": "npm publish || true"
|
2018-04-21 04:34:02 +08:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/hodgef/simple-keyboard"
|
|
|
|
},
|
|
|
|
"author": "Francisco Hodge <hello@franciscohodge.com> (https://github.com/hodgef)",
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/hodgef/simple-keyboard/issues"
|
|
|
|
},
|
2018-10-29 23:47:23 +08:00
|
|
|
"homepage": "https://virtual-keyboard.js.org/",
|
2018-04-21 04:34:02 +08:00
|
|
|
"keywords": [
|
|
|
|
"javascript",
|
|
|
|
"es6",
|
|
|
|
"digital",
|
|
|
|
"keyboard",
|
|
|
|
"onscreen",
|
|
|
|
"virtual",
|
2018-10-29 23:47:23 +08:00
|
|
|
"screen-keyboard",
|
2018-04-21 04:34:02 +08:00
|
|
|
"component",
|
|
|
|
"virtual-keyboard",
|
|
|
|
"touchscreen",
|
2018-09-08 22:29:13 +08:00
|
|
|
"touch-screen",
|
2018-10-29 23:47:23 +08:00
|
|
|
"kiosk",
|
2019-01-25 12:02:59 +08:00
|
|
|
"osk",
|
|
|
|
"js"
|
2018-04-21 04:34:02 +08:00
|
|
|
],
|
2019-02-24 03:44:13 +08:00
|
|
|
"license": "MIT",
|
2020-08-08 06:09:06 +08:00
|
|
|
"devDependencies": {
|
2022-12-23 17:00:31 +08:00
|
|
|
"@babel/cli": "^7.20.7",
|
2023-01-05 17:01:19 +08:00
|
|
|
"@babel/core": "^7.20.12",
|
2022-05-17 16:01:51 +08:00
|
|
|
"@babel/plugin-proposal-class-properties": "^7.17.12",
|
2022-12-23 17:01:13 +08:00
|
|
|
"@babel/plugin-transform-typescript": "^7.20.7",
|
2021-03-07 15:52:17 +08:00
|
|
|
"@babel/polyfill": "^7.12.1",
|
2022-11-07 17:02:32 +08:00
|
|
|
"@babel/preset-env": "^7.20.2",
|
2022-05-03 16:02:01 +08:00
|
|
|
"@types/jest": "^27.5.0",
|
2022-12-06 17:01:03 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.45.1",
|
2023-01-03 17:00:35 +08:00
|
|
|
"@typescript-eslint/parser": "^5.48.0",
|
2022-10-28 16:00:38 +08:00
|
|
|
"autoprefixer": "^10.4.13",
|
2020-02-26 18:52:28 +08:00
|
|
|
"babel-eslint": "^10.1.0",
|
2023-01-05 17:00:51 +08:00
|
|
|
"babel-loader": "^9.1.2",
|
2022-05-09 16:01:19 +08:00
|
|
|
"babel-preset-minify": "^0.5.2",
|
2022-12-30 17:00:33 +08:00
|
|
|
"core-js": "^3.27.1",
|
2022-12-15 17:01:08 +08:00
|
|
|
"css-loader": "^6.7.3",
|
2022-10-14 16:00:47 +08:00
|
|
|
"css-minimizer-webpack-plugin": "^4.2.2",
|
2023-01-02 17:01:08 +08:00
|
|
|
"eslint": "^8.31.0",
|
2021-03-07 15:52:17 +08:00
|
|
|
"file-loader": "^6.2.0",
|
2021-10-26 16:01:52 +08:00
|
|
|
"html-webpack-plugin": "^5.5.0",
|
2021-08-02 18:20:14 +08:00
|
|
|
"jest": "^26.6.3",
|
2022-12-06 17:00:30 +08:00
|
|
|
"mini-css-extract-plugin": "^2.7.2",
|
2022-12-12 17:00:47 +08:00
|
|
|
"postcss": "^8.4.20",
|
2022-11-30 17:01:12 +08:00
|
|
|
"postcss-loader": "^7.0.2",
|
2021-10-22 16:03:12 +08:00
|
|
|
"style-loader": "^3.3.1",
|
2022-08-30 16:00:45 +08:00
|
|
|
"terser-webpack-plugin": "^5.3.6",
|
2022-12-08 17:02:00 +08:00
|
|
|
"typescript": "^4.9.4",
|
2021-03-07 15:52:17 +08:00
|
|
|
"url-loader": "^4.1.1",
|
2021-06-22 16:46:47 +08:00
|
|
|
"webpack": "^5.40.0",
|
2022-12-06 17:01:14 +08:00
|
|
|
"webpack-cli": "^5.0.1",
|
2022-09-20 16:00:40 +08:00
|
|
|
"webpack-dev-server": "4.11.1"
|
2019-04-28 10:19:34 +08:00
|
|
|
},
|
2018-04-21 04:34:02 +08:00
|
|
|
"jest": {
|
2019-08-18 04:05:07 +08:00
|
|
|
"roots": [
|
|
|
|
"<rootDir>/src"
|
|
|
|
],
|
2018-04-21 04:34:02 +08:00
|
|
|
"collectCoverageFrom": [
|
2018-11-10 00:06:46 +08:00
|
|
|
"src/**/*.{js,jsx,ts,tsx}",
|
2019-08-18 04:05:07 +08:00
|
|
|
"!src/**/*.d.ts",
|
|
|
|
"!src/lib/index.js",
|
2021-03-16 12:40:23 +08:00
|
|
|
"!src/lib/polyfills.js",
|
2021-06-29 14:28:09 +08:00
|
|
|
"!src/demo/**",
|
2019-03-27 11:31:52 +08:00
|
|
|
"!src/utils/**",
|
2018-11-10 00:06:46 +08:00
|
|
|
"!src/**/*.d.ts",
|
2018-10-17 05:31:23 +08:00
|
|
|
"!**/tests/**"
|
2018-04-21 04:34:02 +08:00
|
|
|
],
|
|
|
|
"testMatch": [
|
2019-08-18 04:05:07 +08:00
|
|
|
"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
|
|
|
|
"<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
|
2018-04-21 04:34:02 +08:00
|
|
|
],
|
|
|
|
"transformIgnorePatterns": [
|
2018-11-10 00:06:46 +08:00
|
|
|
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$",
|
|
|
|
"^.+\\.module\\.(css|sass|scss)$"
|
2018-04-21 04:34:02 +08:00
|
|
|
],
|
2019-04-28 10:19:34 +08:00
|
|
|
"modulePaths": [],
|
2018-04-21 04:34:02 +08:00
|
|
|
"moduleNameMapper": {
|
2021-03-07 15:52:17 +08:00
|
|
|
"\\.(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"
|
2018-04-21 04:34:02 +08:00
|
|
|
},
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"web.js",
|
|
|
|
"js",
|
2018-11-10 00:06:46 +08:00
|
|
|
"web.ts",
|
|
|
|
"ts",
|
|
|
|
"web.tsx",
|
|
|
|
"tsx",
|
2018-04-21 04:34:02 +08:00
|
|
|
"json",
|
|
|
|
"web.jsx",
|
|
|
|
"jsx",
|
|
|
|
"node"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|