Update types, tests

This commit is contained in:
Francisco Hodge
2021-03-16 00:40:23 -04:00
parent d1c414b7b5
commit bc5fc5a947
33 changed files with 1392 additions and 957 deletions
+9 -2
View File
@@ -3,9 +3,9 @@
"version": "3.0.0-beta.0",
"description": "On-screen Javascript Virtual Keyboard",
"main": "build/index.js",
"types": "build/index.d.ts",
"types": "build/types/index.d.ts",
"scripts": {
"start": "webpack serve",
"start": "webpack serve --config webpack.config.demo.js",
"build": "webpack && tsc",
"test": "jest --silent",
"coverage": "npm run test -- --coverage",
@@ -45,17 +45,23 @@
"@babel/plugin-transform-typescript": "^7.13.0",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.13.9",
"@types/jest": "^26.0.20",
"@typescript-eslint/eslint-plugin": "^4.16.1",
"@typescript-eslint/parser": "^4.16.1",
"autoprefixer": "^10.2.5",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.2",
"babel-preset-minify": "^0.5.0",
"core-js": "^3.9.1",
"css-loader": "^5.1.1",
"eslint": "^7.21.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.3.0",
"jest": "^26.6.3",
"mini-css-extract-plugin": "^1.3.9",
"optimize-css-assets-webpack-plugin": "^5.0.4",
"postcss": "^8.2.8",
"postcss-loader": "^5.2.0",
"prettier": "^2.2.1",
"prettier-webpack-plugin": "^1.2.0",
"style-loader": "^2.0.0",
@@ -74,6 +80,7 @@
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*.d.ts",
"!src/lib/index.js",
"!src/lib/polyfills.js",
"!src/demo/index.js",
"!src/utils/**",
"!src/**/*.d.ts",