2018-04-21 04:34:02 +08:00
|
|
|
{
|
|
|
|
"name": "simple-keyboard",
|
2019-12-19 18:35:22 +08:00
|
|
|
"version": "2.27.49",
|
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": {
|
2019-12-19 18:25:14 +08:00
|
|
|
"@babel/core": "7.7.7",
|
2019-11-25 17:30:46 +08:00
|
|
|
"@babel/plugin-proposal-class-properties": "^7.7.4",
|
2019-12-19 18:30:59 +08:00
|
|
|
"@babel/preset-env": "^7.7.7",
|
2019-11-25 17:24:49 +08:00
|
|
|
"@babel/preset-react": "^7.7.4",
|
2019-09-28 17:19:17 +08:00
|
|
|
"@svgr/webpack": "4.3.3",
|
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",
|
2019-08-31 17:19:37 +08:00
|
|
|
"babel-eslint": "10.0.3",
|
2019-08-18 04:05:07 +08:00
|
|
|
"babel-jest": "^24.8.0",
|
2019-05-17 07:50:03 +08:00
|
|
|
"babel-loader": "8.0.6",
|
2019-12-05 17:21:19 +08:00
|
|
|
"babel-plugin-named-asset-import": "^0.3.5",
|
2019-12-05 17:15:42 +08:00
|
|
|
"babel-preset-react-app": "^9.1.0",
|
2019-08-18 04:05:07 +08:00
|
|
|
"camelcase": "^5.2.0",
|
2019-01-28 09:02:29 +08:00
|
|
|
"case-sensitive-paths-webpack-plugin": "2.2.0",
|
2019-12-13 17:33:35 +08:00
|
|
|
"copy-webpack-plugin": "^5.1.1",
|
2019-12-18 17:51:05 +08:00
|
|
|
"css-loader": "3.4.0",
|
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-02 17:15:19 +08:00
|
|
|
"eslint": "^6.7.2",
|
2019-08-18 04:05:07 +08:00
|
|
|
"eslint-config-react-app": "^5.0.1",
|
2019-12-09 17:19:16 +08:00
|
|
|
"eslint-loader": "3.0.3",
|
2019-08-03 17:14:03 +08:00
|
|
|
"eslint-plugin-flowtype": "3.13.0",
|
2019-12-09 17:13:58 +08:00
|
|
|
"eslint-plugin-import": "2.19.1",
|
2019-07-06 17:28:16 +08:00
|
|
|
"eslint-plugin-jsx-a11y": "6.2.3",
|
2019-11-29 17:15:16 +08:00
|
|
|
"eslint-plugin-react": "7.17.0",
|
2019-11-15 18:26:26 +08:00
|
|
|
"eslint-plugin-react-hooks": "^2.3.0",
|
2019-11-26 17:15:21 +08:00
|
|
|
"file-loader": "5.0.2",
|
2019-09-07 17:15:00 +08:00
|
|
|
"fs-extra": "8.1.0",
|
2019-11-12 18:17:22 +08:00
|
|
|
"html-webpack-plugin": "4.0.0-beta.11",
|
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",
|
2019-09-07 17:13:25 +08:00
|
|
|
"jest": "24.9.0",
|
2019-12-02 17:14:08 +08:00
|
|
|
"jest-environment-jsdom-fourteen": "1.0.1",
|
2019-08-17 17:15:30 +08:00
|
|
|
"jest-resolve": "24.9.0",
|
2019-11-11 19:40:05 +08:00
|
|
|
"jest-watch-typeahead": "0.4.2",
|
2019-12-18 17:52:46 +08:00
|
|
|
"mini-css-extract-plugin": "0.8.2",
|
2019-06-29 17:13:45 +08:00
|
|
|
"optimize-css-assets-webpack-plugin": "5.0.3",
|
2019-06-08 17:14:46 +08:00
|
|
|
"pnp-webpack-plugin": "1.5.0",
|
2019-11-11 19:40:39 +08:00
|
|
|
"prettier": "^1.19.1",
|
2019-08-18 04:05:07 +08:00
|
|
|
"prettier-webpack-plugin": "^1.2.0",
|
2018-11-06 18:23:21 +08:00
|
|
|
"postcss-flexbugs-fixes": "4.1.0",
|
2018-11-10 00:06:46 +08:00
|
|
|
"postcss-loader": "3.0.0",
|
2019-08-31 17:15:13 +08:00
|
|
|
"postcss-normalize": "8.0.1",
|
2019-07-13 17:15:11 +08:00
|
|
|
"postcss-preset-env": "6.7.0",
|
2018-11-10 00:06:46 +08:00
|
|
|
"postcss-safe-parser": "4.0.1",
|
2019-11-15 18:35:16 +08:00
|
|
|
"react": "^16.12.0",
|
2019-12-05 17:14:51 +08:00
|
|
|
"react-app-polyfill": "^1.0.5",
|
2019-12-05 17:20:57 +08:00
|
|
|
"react-dev-utils": "^10.0.0",
|
2019-11-15 18:23:55 +08:00
|
|
|
"react-dom": "^16.12.0",
|
2019-12-19 18:23:13 +08:00
|
|
|
"resolve": "1.14.1",
|
2019-11-11 19:38:11 +08:00
|
|
|
"resolve-url-loader": "3.1.1",
|
2019-08-24 17:24:31 +08:00
|
|
|
"sass-loader": "7.3.1",
|
2019-12-18 17:52:00 +08:00
|
|
|
"semver": "7.1.1",
|
2019-12-18 17:57:48 +08:00
|
|
|
"style-loader": "1.0.2",
|
2019-12-18 17:48:38 +08:00
|
|
|
"terser-webpack-plugin": "2.3.1",
|
2019-11-11 19:39:21 +08:00
|
|
|
"ts-pnp": "1.1.5",
|
2019-03-03 07:07:43 +08:00
|
|
|
"uglifyjs-webpack-plugin": "^2.1.2",
|
2019-11-27 17:17:56 +08:00
|
|
|
"url-loader": "3.0.0",
|
2019-12-19 18:24:29 +08:00
|
|
|
"webpack": "4.41.4",
|
2019-12-19 18:30:36 +08:00
|
|
|
"webpack-dev-server": "3.10.0",
|
2019-10-05 17:19:01 +08:00
|
|
|
"webpack-manifest-plugin": "2.2.0",
|
2019-05-11 06:47:38 +08:00
|
|
|
"workbox-webpack-plugin": "4.3.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
|
|
|
],
|
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
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|