2018-04-21 04:34:02 +08:00
|
|
|
{
|
|
|
|
"name": "simple-keyboard",
|
2020-04-16 19:11:54 +08:00
|
|
|
"version": "2.28.70",
|
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",
|
2018-04-21 04:34:02 +08:00
|
|
|
"devDependencies": {
|
2020-03-23 20:48:44 +08:00
|
|
|
"@babel/core": "7.9.0",
|
2020-01-14 18:48:56 +08:00
|
|
|
"@babel/plugin-proposal-class-properties": "^7.8.3",
|
2020-04-08 19:11:51 +08:00
|
|
|
"@babel/preset-env": "^7.9.5",
|
2020-03-24 19:21:35 +08:00
|
|
|
"@babel/preset-react": "^7.9.4",
|
2020-04-06 20:15:05 +08:00
|
|
|
"@svgr/webpack": "5.3.1",
|
2019-07-27 17:15:02 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "1.13.0",
|
2019-07-27 17:28:05 +08:00
|
|
|
"@typescript-eslint/parser": "1.13.0",
|
2020-02-26 18:52:28 +08:00
|
|
|
"babel-eslint": "^10.1.0",
|
2020-04-09 19:02:42 +08:00
|
|
|
"babel-jest": "^25.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",
|
2019-12-13 17:33:35 +08:00
|
|
|
"copy-webpack-plugin": "^5.1.1",
|
2020-04-13 19:49:09 +08:00
|
|
|
"css-loader": "3.5.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-06 20:12:34 +08:00
|
|
|
"eslint-loader": "4.0.0",
|
2019-08-03 17:14:03 +08:00
|
|
|
"eslint-plugin-flowtype": "3.13.0",
|
2020-03-30 20:41:34 +08:00
|
|
|
"eslint-plugin-import": "2.20.2",
|
2019-07-06 17:28:16 +08:00
|
|
|
"eslint-plugin-jsx-a11y": "6.2.3",
|
2020-03-09 20:02:37 +08:00
|
|
|
"eslint-plugin-react": "7.19.0",
|
2020-03-27 18:45:22 +08:00
|
|
|
"eslint-plugin-react-hooks": "^3.0.0",
|
2020-03-18 01:17:48 +08:00
|
|
|
"file-loader": "6.0.0",
|
2020-03-20 18:40:34 +08:00
|
|
|
"fs-extra": "9.0.0",
|
2020-04-10 19:03:29 +08:00
|
|
|
"html-webpack-plugin": "4.2.0",
|
2018-11-10 00:06:46 +08:00
|
|
|
"identity-obj-proxy": "3.0.0",
|
2019-08-31 17:17:22 +08:00
|
|
|
"is-wsl": "^2.1.0",
|
2020-04-09 19:01:42 +08:00
|
|
|
"jest": "25.3.0",
|
2019-12-02 17:14:08 +08:00
|
|
|
"jest-environment-jsdom-fourteen": "1.0.1",
|
2020-04-20 21:00:10 +08:00
|
|
|
"jest-resolve": "25.4.0",
|
2020-04-01 19:53:48 +08:00
|
|
|
"jest-watch-typeahead": "0.5.0",
|
2019-12-23 18:47:14 +08:00
|
|
|
"mini-css-extract-plugin": "0.9.0",
|
2019-06-29 17:13:45 +08:00
|
|
|
"optimize-css-assets-webpack-plugin": "5.0.3",
|
2020-02-19 18:29:22 +08:00
|
|
|
"pnp-webpack-plugin": "1.6.4",
|
2020-02-05 18:26:00 +08:00
|
|
|
"postcss-flexbugs-fixes": "4.2.0",
|
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-03-18 01:17:48 +08:00
|
|
|
"react-dev-utils": "10.1.0",
|
2020-03-23 20:38:06 +08:00
|
|
|
"react-dom": "^16.13.1",
|
2020-04-20 20:58:44 +08:00
|
|
|
"resolve": "1.16.1",
|
2019-11-11 19:38:11 +08:00
|
|
|
"resolve-url-loader": "3.1.1",
|
2020-01-14 18:36:20 +08:00
|
|
|
"sass-loader": "8.0.2",
|
2020-04-15 19:24:15 +08:00
|
|
|
"semver": "7.3.2",
|
2020-04-16 19:01:09 +08:00
|
|
|
"style-loader": "1.1.4",
|
2020-02-18 18:29:12 +08:00
|
|
|
"terser-webpack-plugin": "2.3.5",
|
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-03-24 19:32:17 +08:00
|
|
|
"webpack": "4.42.1",
|
2020-02-06 18:24:07 +08:00
|
|
|
"webpack-dev-server": "3.10.3",
|
2019-10-05 17:19:01 +08:00
|
|
|
"webpack-manifest-plugin": "2.2.0",
|
2020-03-26 19:25:04 +08:00
|
|
|
"workbox-webpack-plugin": "5.1.2"
|
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
|
|
|
],
|
2019-04-28 10:19:34 +08:00
|
|
|
"setupFilesAfterEnv": [],
|
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
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|