mirror of
https://github.com/cupcakearmy/formhero.git
synced 2024-12-22 16:16:24 +00:00
support modern browsers
This commit is contained in:
parent
99bee43e14
commit
9a279d4cc1
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user