mirror of
https://github.com/cupcakearmy/formhero.git
synced 2025-09-05 22:00:39 +00:00
support modern browsers
This commit is contained in:
@@ -4,12 +4,15 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"typings": "dist/index.d.ts",
|
"typings": "dist/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"prepublishOnly": "tsc",
|
||||||
"test": "parcel -d public ./test/index.html",
|
"test": "parcel -d public ./test/index.html",
|
||||||
"build": "tsc -w",
|
"build": "tsc -w",
|
||||||
"dev": "pnpm run build & pnpm run test"
|
"dev": "pnpm run build & pnpm run test"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
"last 1 year"
|
"last 2 Chrome versions",
|
||||||
|
"last 2 Firefox versions",
|
||||||
|
"last 2 Safari versions"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/react": "^16.9.3",
|
"@types/react": "^16.9.3",
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "es5",
|
"target": "es2017",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"jsx": "react",
|
"jsx": "react",
|
||||||
"outDir": "./dist",
|
"outDir": "./dist",
|
||||||
|
Reference in New Issue
Block a user