2018-04-21 04:34:02 +08:00
|
|
|
{
|
|
|
|
"name": "simple-keyboard",
|
2021-03-09 17:29:10 +08:00
|
|
|
"version": "2.32.121",
|
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",
|
2018-11-28 21:53:06 +08:00
|
|
|
"types": "build/index.d.ts",
|
2018-04-21 04:34:02 +08:00
|
|
|
"scripts": {
|
|
|
|
"start": "node scripts/start.js",
|
2019-08-18 04:27:06 +08:00
|
|
|
"build": "node scripts/build.js",
|
2018-04-21 04:34:02 +08:00
|
|
|
"demo": "node scripts/demo.js",
|
2018-11-10 00:06:46 +08:00
|
|
|
"test": "node scripts/test.js",
|
2019-04-28 10:19:34 +08:00
|
|
|
"coverage": "node scripts/test.js --coverage --watchAll=false",
|
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": {
|
2021-03-01 23:22:01 +08:00
|
|
|
"@babel/core": "7.13.8",
|
2021-02-23 19:25:13 +08:00
|
|
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
2021-03-02 17:22:23 +08:00
|
|
|
"@babel/preset-env": "^7.13.9",
|
2021-02-03 22:56:53 +08:00
|
|
|
"@babel/preset-react": "^7.12.13",
|
2020-11-16 18:31:30 +08:00
|
|
|
"@svgr/webpack": "5.5.0",
|
2021-01-13 17:23:28 +08:00
|
|
|
"@testing-library/jest-dom": "^5.11.9",
|
2021-02-03 22:49:49 +08:00
|
|
|
"@testing-library/react": "^11.2.5",
|
2021-03-03 17:17:57 +08:00
|
|
|
"@testing-library/user-event": "^12.8.1",
|
2020-08-08 05:52:12 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^2.10.0",
|
|
|
|
"@typescript-eslint/parser": "^2.10.0",
|
2020-02-26 18:52:28 +08:00
|
|
|
"babel-eslint": "^10.1.0",
|
2020-11-04 17:51:47 +08:00
|
|
|
"babel-jest": "^26.6.3",
|
2020-11-27 17:17:44 +08:00
|
|
|
"babel-loader": "8.2.2",
|
2020-10-25 14:05:07 +08:00
|
|
|
"babel-plugin-named-asset-import": "^0.3.7",
|
2020-10-24 14:16:24 +08:00
|
|
|
"babel-preset-react-app": "^10.0.0",
|
2020-10-30 10:15:00 +08:00
|
|
|
"camelcase": "^6.2.0",
|
2021-02-23 19:31:03 +08:00
|
|
|
"case-sensitive-paths-webpack-plugin": "2.4.0",
|
2020-08-28 15:08:35 +08:00
|
|
|
"copy-webpack-plugin": "^5.1.2",
|
2021-03-02 17:20:27 +08:00
|
|
|
"css-loader": "5.1.1",
|
2019-10-16 11:10:35 +08:00
|
|
|
"dotenv": "8.2.0",
|
2019-08-24 17:30:20 +08:00
|
|
|
"dotenv-expand": "5.1.0",
|
2019-12-23 18:44:48 +08:00
|
|
|
"eslint": "^6.8.0",
|
2019-08-18 04:05:07 +08:00
|
|
|
"eslint-config-react-app": "^5.0.1",
|
2020-04-27 20:56:12 +08:00
|
|
|
"eslint-loader": "4.0.2",
|
2020-05-22 20:53:02 +08:00
|
|
|
"eslint-plugin-flowtype": "4.7.0",
|
2020-09-29 06:51:12 +08:00
|
|
|
"eslint-plugin-import": "2.22.1",
|
2020-10-27 12:53:03 +08:00
|
|
|
"eslint-plugin-jsx-a11y": "6.4.1",
|
2020-12-30 17:31:02 +08:00
|
|
|
"eslint-plugin-react": "7.22.0",
|
2020-10-22 07:50:49 +08:00
|
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
2020-10-29 02:19:30 +08:00
|
|
|
"file-loader": "6.2.0",
|
2021-01-20 18:49:27 +08:00
|
|
|
"fs-extra": "9.1.0",
|
2021-02-19 17:23:21 +08:00
|
|
|
"html-webpack-plugin": "4.5.2",
|
2018-11-10 00:06:46 +08:00
|
|
|
"identity-obj-proxy": "3.0.0",
|
2020-11-04 17:46:00 +08:00
|
|
|
"jest": "26.6.3",
|
2019-12-02 17:14:08 +08:00
|
|
|
"jest-environment-jsdom-fourteen": "1.0.1",
|
2020-11-03 17:37:57 +08:00
|
|
|
"jest-resolve": "26.6.2",
|
2020-09-08 07:20:55 +08:00
|
|
|
"jest-watch-typeahead": "0.6.1",
|
2021-02-26 19:43:24 +08:00
|
|
|
"mini-css-extract-plugin": "1.3.9",
|
2020-09-01 07:54:47 +08:00
|
|
|
"optimize-css-assets-webpack-plugin": "5.0.4",
|
2020-02-19 18:29:22 +08:00
|
|
|
"pnp-webpack-plugin": "1.6.4",
|
2020-04-28 19:17:46 +08:00
|
|
|
"postcss-flexbugs-fixes": "4.2.1",
|
2018-11-10 00:06:46 +08:00
|
|
|
"postcss-loader": "3.0.0",
|
2020-04-13 19:51:57 +08:00
|
|
|
"postcss-normalize": "9.0.0",
|
2019-07-13 17:15:11 +08:00
|
|
|
"postcss-preset-env": "6.7.0",
|
2020-09-29 06:52:32 +08:00
|
|
|
"postcss-safe-parser": "5.0.2",
|
2020-02-06 12:41:59 +08:00
|
|
|
"prettier": "^1.19.1",
|
|
|
|
"prettier-webpack-plugin": "^1.2.0",
|
2020-10-26 10:02:46 +08:00
|
|
|
"react": "^17.0.1",
|
2020-10-25 14:05:26 +08:00
|
|
|
"react-app-polyfill": "^2.0.0",
|
2021-03-09 17:23:58 +08:00
|
|
|
"react-dev-utils": "^11.0.4",
|
2020-10-26 10:02:46 +08:00
|
|
|
"react-dom": "^17.0.1",
|
2021-02-12 17:42:50 +08:00
|
|
|
"resolve": "1.20.0",
|
2020-10-22 00:05:10 +08:00
|
|
|
"resolve-url-loader": "3.1.2",
|
2021-01-12 17:48:21 +08:00
|
|
|
"sass-loader": "10.1.1",
|
2020-12-02 17:34:47 +08:00
|
|
|
"semver": "7.3.4",
|
2020-10-10 06:15:27 +08:00
|
|
|
"style-loader": "2.0.0",
|
2020-10-09 02:52:17 +08:00
|
|
|
"terser-webpack-plugin": "4.2.3",
|
2020-03-27 18:51:08 +08:00
|
|
|
"ts-pnp": "1.2.0",
|
2020-02-06 12:41:59 +08:00
|
|
|
"uglifyjs-webpack-plugin": "^2.2.0",
|
2020-10-10 06:17:25 +08:00
|
|
|
"url-loader": "4.1.1",
|
2021-01-12 17:44:16 +08:00
|
|
|
"webpack": "4.46.0",
|
2021-01-14 17:28:41 +08:00
|
|
|
"webpack-dev-server": "3.11.2",
|
2020-12-03 17:32:58 +08:00
|
|
|
"webpack-manifest-plugin": "3.0.0",
|
2021-02-23 19:29:20 +08:00
|
|
|
"workbox-webpack-plugin": "6.1.1"
|
2018-04-21 04:34:02 +08:00
|
|
|
},
|
2018-11-10 00:06:46 +08:00
|
|
|
"eslintConfig": {
|
2019-08-18 04:05:07 +08:00
|
|
|
"extends": "react-app"
|
2018-11-10 00:06:46 +08:00
|
|
|
},
|
2019-04-28 10:19:34 +08:00
|
|
|
"browserslist": {
|
|
|
|
"production": [
|
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not op_mini all"
|
|
|
|
],
|
|
|
|
"development": [
|
|
|
|
"last 1 chrome version",
|
|
|
|
"last 1 firefox version",
|
|
|
|
"last 1 safari version"
|
|
|
|
]
|
|
|
|
},
|
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",
|
|
|
|
"!src/demo/index.js",
|
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
|
|
|
],
|
|
|
|
"setupFiles": [
|
2018-11-10 00:06:46 +08:00
|
|
|
"react-app-polyfill/jsdom"
|
2018-04-21 04:34:02 +08:00
|
|
|
],
|
2020-08-08 05:52:12 +08:00
|
|
|
"setupFilesAfterEnv": [
|
|
|
|
"<rootDir>/src/setupTests.js"
|
|
|
|
],
|
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
|
|
|
],
|
2019-04-28 10:19:34 +08:00
|
|
|
"testEnvironment": "jest-environment-jsdom-fourteen",
|
2018-04-21 04:34:02 +08:00
|
|
|
"transform": {
|
2018-11-10 00:06:46 +08:00
|
|
|
"^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest",
|
2018-04-21 04:34:02 +08:00
|
|
|
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
|
2018-11-10 00:06:46 +08:00
|
|
|
"^(?!.*\\.(js|jsx|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
|
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": {
|
2018-11-10 00:06:46 +08:00
|
|
|
"^react-native$": "react-native-web",
|
|
|
|
"^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
|
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"
|
2019-04-28 10:19:34 +08:00
|
|
|
],
|
|
|
|
"watchPlugins": [
|
|
|
|
"jest-watch-typeahead/filename",
|
|
|
|
"jest-watch-typeahead/testname"
|
2018-04-21 04:34:02 +08:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"babel": {
|
|
|
|
"presets": [
|
2019-08-18 05:16:58 +08:00
|
|
|
"@babel/preset-env",
|
|
|
|
"@babel/preset-react"
|
2018-11-17 12:24:53 +08:00
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
[
|
2019-08-18 04:05:07 +08:00
|
|
|
"@babel/plugin-proposal-class-properties"
|
2018-11-17 12:24:53 +08:00
|
|
|
]
|
2018-04-21 04:34:02 +08:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|