2018-04-21 04:34:02 +08:00
|
|
|
{
|
|
|
|
"name": "simple-keyboard",
|
2020-09-03 15:17:31 +08:00
|
|
|
"version": "2.30.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",
|
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": {
|
2020-09-03 15:12:26 +08:00
|
|
|
"@babel/core": "7.11.5",
|
2020-07-01 22:21:25 +08:00
|
|
|
"@babel/plugin-proposal-class-properties": "^7.10.4",
|
2020-09-01 07:57:02 +08:00
|
|
|
"@babel/preset-env": "^7.11.5",
|
2020-07-01 22:33:05 +08:00
|
|
|
"@babel/preset-react": "^7.10.4",
|
2020-04-28 19:18:56 +08:00
|
|
|
"@svgr/webpack": "5.4.0",
|
2020-09-03 15:13:25 +08:00
|
|
|
"@testing-library/jest-dom": "^5.11.4",
|
2020-09-03 15:19:33 +08:00
|
|
|
"@testing-library/react": "^11.0.1",
|
2020-08-08 05:52:12 +08:00
|
|
|
"@testing-library/user-event": "^7.1.2",
|
|
|
|
"@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-08-11 00:50:58 +08:00
|
|
|
"babel-jest": "^26.3.0",
|
2020-03-23 20:48:44 +08:00
|
|
|
"babel-loader": "8.1.0",
|
2020-01-31 19:03:24 +08:00
|
|
|
"babel-plugin-named-asset-import": "^0.3.6",
|
2020-03-23 20:42:54 +08:00
|
|
|
"babel-preset-react-app": "^9.1.2",
|
2020-04-07 19:14:32 +08:00
|
|
|
"camelcase": "^6.0.0",
|
2020-01-16 18:55:36 +08:00
|
|
|
"case-sensitive-paths-webpack-plugin": "2.3.0",
|
2020-08-28 15:08:35 +08:00
|
|
|
"copy-webpack-plugin": "^5.1.2",
|
2020-08-25 07:22:15 +08:00
|
|
|
"css-loader": "4.2.2",
|
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-06-30 20:54:25 +08:00
|
|
|
"eslint-plugin-import": "2.22.0",
|
2020-06-22 23:00:35 +08:00
|
|
|
"eslint-plugin-jsx-a11y": "6.3.1",
|
2020-08-14 02:29:55 +08:00
|
|
|
"eslint-plugin-react": "7.20.6",
|
2020-08-18 00:18:43 +08:00
|
|
|
"eslint-plugin-react-hooks": "^4.1.0",
|
2020-09-01 08:01:12 +08:00
|
|
|
"file-loader": "6.1.0",
|
2020-06-04 20:53:59 +08:00
|
|
|
"fs-extra": "9.0.1",
|
2020-09-01 07:55:47 +08:00
|
|
|
"html-webpack-plugin": "4.4.1",
|
2018-11-10 00:06:46 +08:00
|
|
|
"identity-obj-proxy": "3.0.0",
|
2020-09-03 12:08:24 +08:00
|
|
|
"jest": "26.4.2",
|
2019-12-02 17:14:08 +08:00
|
|
|
"jest-environment-jsdom-fourteen": "1.0.1",
|
2020-08-14 02:37:12 +08:00
|
|
|
"jest-resolve": "26.4.0",
|
2020-05-06 20:25:55 +08:00
|
|
|
"jest-watch-typeahead": "0.6.0",
|
2020-08-28 15:07:08 +08:00
|
|
|
"mini-css-extract-plugin": "0.11.0",
|
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-02-10 19:20:56 +08:00
|
|
|
"postcss-safe-parser": "4.0.2",
|
2020-02-06 12:41:59 +08:00
|
|
|
"prettier": "^1.19.1",
|
|
|
|
"prettier-webpack-plugin": "^1.2.0",
|
2020-03-20 18:40:32 +08:00
|
|
|
"react": "^16.13.1",
|
2020-01-31 18:52:04 +08:00
|
|
|
"react-app-polyfill": "^1.0.6",
|
2020-08-08 05:52:12 +08:00
|
|
|
"react-dev-utils": "^10.2.1",
|
2020-03-23 20:38:06 +08:00
|
|
|
"react-dom": "^16.13.1",
|
2020-04-23 19:20:56 +08:00
|
|
|
"resolve": "1.17.0",
|
2019-11-11 19:38:11 +08:00
|
|
|
"resolve-url-loader": "3.1.1",
|
2020-08-26 15:25:43 +08:00
|
|
|
"sass-loader": "10.0.1",
|
2020-04-15 19:24:15 +08:00
|
|
|
"semver": "7.3.2",
|
2020-04-29 19:28:18 +08:00
|
|
|
"style-loader": "1.2.1",
|
2020-08-11 00:46:40 +08:00
|
|
|
"terser-webpack-plugin": "4.1.0",
|
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-04-09 19:06:19 +08:00
|
|
|
"url-loader": "4.1.0",
|
2020-07-30 23:54:18 +08:00
|
|
|
"webpack": "4.44.1",
|
2020-05-11 21:48:55 +08:00
|
|
|
"webpack-dev-server": "3.11.0",
|
2019-10-05 17:19:01 +08:00
|
|
|
"webpack-manifest-plugin": "2.2.0",
|
2020-04-27 20:52:46 +08:00
|
|
|
"workbox-webpack-plugin": "5.1.3"
|
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
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|