2018-04-21 04:34:02 +08:00
|
|
|
{
|
|
|
|
"name": "simple-keyboard",
|
2021-12-31 17:06:53 +08:00
|
|
|
"version": "3.4.21",
|
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",
|
|
|
|
"scripts": {
|
2021-03-16 12:40:23 +08:00
|
|
|
"start": "webpack serve --config webpack.config.demo.js",
|
2021-10-13 14:13:26 +08:00
|
|
|
"build": "webpack && npm run build-modern && tsc",
|
2021-10-13 11:18:52 +08:00
|
|
|
"build-modern": "webpack --config webpack.config.modern.js",
|
2021-03-07 15:52:17 +08:00
|
|
|
"test": "jest --silent",
|
|
|
|
"coverage": "npm run test -- --coverage",
|
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-09-20 16:01:26 +08:00
|
|
|
"@babel/cli": "^7.15.7",
|
2021-12-31 17:01:43 +08:00
|
|
|
"@babel/core": "^7.16.7",
|
2021-12-31 17:04:48 +08:00
|
|
|
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
2021-12-31 17:01:16 +08:00
|
|
|
"@babel/plugin-transform-typescript": "^7.16.7",
|
2021-03-07 15:52:17 +08:00
|
|
|
"@babel/polyfill": "^7.12.1",
|
2021-12-14 17:01:53 +08:00
|
|
|
"@babel/preset-env": "^7.16.5",
|
2021-12-31 17:02:09 +08:00
|
|
|
"@types/jest": "^27.4.0",
|
2021-12-14 17:02:52 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.7.0",
|
2021-12-28 17:01:18 +08:00
|
|
|
"@typescript-eslint/parser": "^5.8.1",
|
2021-12-30 17:01:12 +08:00
|
|
|
"autoprefixer": "^10.4.1",
|
2020-02-26 18:52:28 +08:00
|
|
|
"babel-eslint": "^10.1.0",
|
2021-10-21 16:03:05 +08:00
|
|
|
"babel-loader": "^8.2.3",
|
2021-03-07 15:52:17 +08:00
|
|
|
"babel-preset-minify": "^0.5.0",
|
2021-12-24 17:01:26 +08:00
|
|
|
"core-js": "^3.20.1",
|
2021-11-04 16:01:18 +08:00
|
|
|
"css-loader": "^6.5.1",
|
2022-01-03 17:01:21 +08:00
|
|
|
"eslint": "^8.6.0",
|
2021-03-07 15:52:17 +08:00
|
|
|
"file-loader": "^6.2.0",
|
2021-10-26 16:01:52 +08:00
|
|
|
"html-webpack-plugin": "^5.5.0",
|
2021-08-02 18:20:14 +08:00
|
|
|
"jest": "^26.6.3",
|
2021-11-18 17:01:15 +08:00
|
|
|
"mini-css-extract-plugin": "^2.4.5",
|
2021-06-24 16:38:07 +08:00
|
|
|
"optimize-css-assets-webpack-plugin": "^6.0.1",
|
2021-12-13 17:01:17 +08:00
|
|
|
"postcss": "^8.4.5",
|
2021-10-14 16:02:50 +08:00
|
|
|
"postcss-loader": "^6.2.0",
|
2021-12-06 17:02:14 +08:00
|
|
|
"prettier": "^2.5.1",
|
2020-02-06 12:41:59 +08:00
|
|
|
"prettier-webpack-plugin": "^1.2.0",
|
2021-10-22 16:03:12 +08:00
|
|
|
"style-loader": "^3.3.1",
|
2021-12-17 17:01:23 +08:00
|
|
|
"terser-webpack-plugin": "^5.3.0",
|
2021-12-14 17:03:22 +08:00
|
|
|
"typescript": "^4.5.4",
|
2021-03-07 15:52:17 +08:00
|
|
|
"url-loader": "^4.1.1",
|
2021-06-22 16:46:47 +08:00
|
|
|
"webpack": "^5.40.0",
|
2021-10-19 16:02:37 +08:00
|
|
|
"webpack-cli": "^4.9.1",
|
2021-12-30 17:01:41 +08:00
|
|
|
"webpack-dev-server": "4.7.2"
|
2019-04-28 10:19:34 +08:00
|
|
|
},
|
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",
|
2021-03-16 12:40:23 +08:00
|
|
|
"!src/lib/polyfills.js",
|
2021-06-29 14:28:09 +08:00
|
|
|
"!src/demo/**",
|
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
|
|
|
],
|
|
|
|
"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
|
|
|
],
|
|
|
|
"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": {
|
2021-03-07 15:52:17 +08:00
|
|
|
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/scripts/testMock.js",
|
|
|
|
"\\.(css|less)$": "<rootDir>/scripts/testMock.js"
|
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"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|