2018-04-21 04:34:02 +08:00
|
|
|
{
|
|
|
|
"name": "simple-keyboard",
|
2019-05-17 07:31:31 +08:00
|
|
|
"version": "2.21.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-02-16 10:48:40 +08:00
|
|
|
"build": "node scripts/build.js && node scripts/buildUnminified.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",
|
2018-08-07 22:31:14 +08:00
|
|
|
"postinstall": "node bin/postinstall",
|
2019-04-28 10:19:34 +08:00
|
|
|
"prepare": "npm run build"
|
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-04-28 10:19:34 +08:00
|
|
|
"@babel/core": "7.4.4",
|
|
|
|
"@babel/plugin-proposal-class-properties": "^7.4.4",
|
|
|
|
"@babel/preset-env": "^7.4.4",
|
2018-11-17 12:24:53 +08:00
|
|
|
"@babel/preset-react": "^7.0.0",
|
2019-05-11 06:47:38 +08:00
|
|
|
"@babel/runtime": "^7.4.4",
|
2019-04-14 08:22:21 +08:00
|
|
|
"@svgr/webpack": "4.2.0",
|
2019-05-17 07:49:53 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "1.9.0",
|
2019-05-17 07:42:40 +08:00
|
|
|
"@typescript-eslint/parser": "1.9.0",
|
2018-12-24 06:42:02 +08:00
|
|
|
"babel-eslint": "10.0.1",
|
2019-05-11 06:47:38 +08:00
|
|
|
"babel-jest": "24.8.0",
|
2019-05-17 07:50:03 +08:00
|
|
|
"babel-loader": "8.0.6",
|
2019-04-28 10:19:34 +08:00
|
|
|
"babel-plugin-named-asset-import": "^0.3.2",
|
2019-05-11 06:47:38 +08:00
|
|
|
"babel-preset-react-app": "^9.0.0",
|
2019-01-28 09:02:29 +08:00
|
|
|
"case-sensitive-paths-webpack-plugin": "2.2.0",
|
2019-05-11 06:47:38 +08:00
|
|
|
"copy-webpack-plugin": "^5.0.3",
|
2019-03-11 03:57:45 +08:00
|
|
|
"css-loader": "2.1.1",
|
2019-05-11 06:47:38 +08:00
|
|
|
"dotenv": "8.0.0",
|
2019-03-27 11:31:52 +08:00
|
|
|
"dotenv-expand": "5.1.0",
|
2019-04-28 10:19:34 +08:00
|
|
|
"eslint": "^5.16.0",
|
2019-05-11 06:47:38 +08:00
|
|
|
"eslint-config-react-app": "^4.0.1",
|
2019-02-09 23:19:48 +08:00
|
|
|
"eslint-loader": "2.1.2",
|
2019-05-17 07:48:19 +08:00
|
|
|
"eslint-plugin-flowtype": "3.9.0",
|
2019-04-28 10:19:34 +08:00
|
|
|
"eslint-plugin-import": "2.17.2",
|
2019-02-09 23:19:48 +08:00
|
|
|
"eslint-plugin-jsx-a11y": "6.2.1",
|
2019-05-11 06:47:38 +08:00
|
|
|
"eslint-plugin-react": "7.13.0",
|
2019-04-28 10:19:34 +08:00
|
|
|
"eslint-plugin-react-hooks": "^1.5.0",
|
2018-12-24 06:42:02 +08:00
|
|
|
"file-loader": "3.0.1",
|
2019-05-17 07:44:57 +08:00
|
|
|
"fs-extra": "8.0.1",
|
2018-12-24 06:42:02 +08:00
|
|
|
"html-webpack-plugin": "4.0.0-beta.5",
|
2018-11-10 00:06:46 +08:00
|
|
|
"identity-obj-proxy": "3.0.0",
|
2019-04-28 10:19:34 +08:00
|
|
|
"is-wsl": "^2.0.0",
|
2019-05-11 06:47:38 +08:00
|
|
|
"jest": "24.8.0",
|
2019-04-28 10:19:34 +08:00
|
|
|
"jest-environment-jsdom-fourteen": "0.1.0",
|
2019-05-11 06:47:38 +08:00
|
|
|
"jest-resolve": "24.8.0",
|
|
|
|
"jest-watch-typeahead": "0.3.1",
|
2019-04-14 08:22:21 +08:00
|
|
|
"mini-css-extract-plugin": "0.6.0",
|
2018-11-10 00:06:46 +08:00
|
|
|
"optimize-css-assets-webpack-plugin": "5.0.1",
|
2019-04-28 10:19:34 +08:00
|
|
|
"pnp-webpack-plugin": "1.4.3",
|
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-04-28 10:19:34 +08:00
|
|
|
"postcss-normalize": "7.0.1",
|
2019-03-03 07:07:43 +08:00
|
|
|
"postcss-preset-env": "6.6.0",
|
2018-11-10 00:06:46 +08:00
|
|
|
"postcss-safe-parser": "4.0.1",
|
2019-04-14 08:22:21 +08:00
|
|
|
"prettier": "^1.17.0",
|
2019-02-16 10:48:40 +08:00
|
|
|
"prettier-webpack-plugin": "^1.2.0",
|
2019-04-14 08:22:21 +08:00
|
|
|
"react": "^16.8.6",
|
2019-05-11 06:47:38 +08:00
|
|
|
"react-app-polyfill": "^1.0.1",
|
|
|
|
"react-dev-utils": "^9.0.1",
|
2019-04-14 08:22:21 +08:00
|
|
|
"react-dom": "^16.8.6",
|
2019-05-17 07:41:38 +08:00
|
|
|
"resolve": "1.11.0",
|
2018-11-10 00:06:46 +08:00
|
|
|
"sass-loader": "7.1.0",
|
2019-04-28 10:19:34 +08:00
|
|
|
"semver": "6.0.0",
|
2018-11-26 07:16:27 +08:00
|
|
|
"style-loader": "0.23.1",
|
2019-05-17 07:47:50 +08:00
|
|
|
"terser-webpack-plugin": "1.2.4",
|
2019-03-03 07:07:43 +08:00
|
|
|
"uglifyjs-webpack-plugin": "^2.1.2",
|
2018-11-26 07:16:27 +08:00
|
|
|
"url-loader": "1.1.2",
|
2019-05-11 06:47:38 +08:00
|
|
|
"webpack": "4.31.0",
|
2019-04-14 08:22:21 +08:00
|
|
|
"webpack-dev-server": "3.3.1",
|
2018-11-07 18:55:15 +08:00
|
|
|
"webpack-manifest-plugin": "2.0.4",
|
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-01-07 04:44:07 +08:00
|
|
|
"extends": "react-app",
|
|
|
|
"settings": {
|
|
|
|
"react": {
|
|
|
|
"pragma": "React",
|
|
|
|
"version": "detect"
|
|
|
|
}
|
|
|
|
}
|
2018-11-10 00:06:46 +08:00
|
|
|
},
|
2019-04-28 10:19:34 +08:00
|
|
|
"browserslist": {
|
|
|
|
"production": [
|
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not ie <= 11",
|
|
|
|
"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": {
|
|
|
|
"collectCoverageFrom": [
|
2018-11-10 00:06:46 +08:00
|
|
|
"src/**/*.{js,jsx,ts,tsx}",
|
2019-03-27 11:31:52 +08:00
|
|
|
"!src/lib/index.js",
|
|
|
|
"!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
|
|
|
],
|
2018-11-10 00:06:46 +08:00
|
|
|
"resolver": "jest-pnp-resolver",
|
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-03-27 11:31:52 +08:00
|
|
|
"<rootDir>/src/**/tests/**/*.{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": [
|
2018-11-17 12:24:53 +08:00
|
|
|
"@babel/preset-env",
|
|
|
|
"@babel/preset-react"
|
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
[
|
2019-04-28 10:19:34 +08:00
|
|
|
"@babel/plugin-proposal-class-properties",
|
|
|
|
{
|
|
|
|
"loose": true
|
|
|
|
}
|
2018-11-17 12:24:53 +08:00
|
|
|
]
|
2018-04-21 04:34:02 +08:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|