simple-keyboard/package.json

116 lines
3.1 KiB
JSON
Raw Normal View History

2018-04-21 04:34:02 +08:00
{
"name": "simple-keyboard",
2022-01-11 17:07:01 +08:00
"version": "3.4.26",
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",
"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": {
"@babel/cli": "^7.16.8",
"@babel/core": "^7.16.7",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-transform-typescript": "^7.16.8",
2021-03-07 15:52:17 +08:00
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.16.8",
"@types/jest": "^27.4.0",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"autoprefixer": "^10.4.2",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.3",
2021-03-07 15:52:17 +08:00
"babel-preset-minify": "^0.5.0",
"core-js": "^3.20.2",
"css-loader": "^6.5.1",
"eslint": "^8.6.0",
2021-03-07 15:52:17 +08:00
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0",
2021-08-02 18:20:14 +08:00
"jest": "^26.6.3",
"mini-css-extract-plugin": "^2.4.6",
"optimize-css-assets-webpack-plugin": "^6.0.1",
"postcss": "^8.4.5",
"postcss-loader": "^6.2.0",
"prettier": "^2.5.1",
2020-02-06 12:41:59 +08:00
"prettier-webpack-plugin": "^1.2.0",
"style-loader": "^3.3.1",
"terser-webpack-plugin": "^5.3.0",
"typescript": "^4.5.4",
2021-03-07 15:52:17 +08:00
"url-loader": "^4.1.1",
"webpack": "^5.40.0",
"webpack-cli": "^4.9.1",
"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"
]
}
}