2019-09-26 19:13:27 +00:00
|
|
|
{
|
2023-01-31 00:26:27 +00:00
|
|
|
"name": "formhero",
|
2023-03-06 09:06:52 +00:00
|
|
|
"version": "1.0.5",
|
2023-01-31 00:26:27 +00:00
|
|
|
"type": "module",
|
|
|
|
"module": "./dist/index.js",
|
|
|
|
"types": "./dist/index.d.ts",
|
2023-03-03 22:45:34 +00:00
|
|
|
"files": [
|
|
|
|
"dist"
|
|
|
|
],
|
2023-01-31 00:26:27 +00:00
|
|
|
"scripts": {
|
|
|
|
"clean": "rm -rf ./dist",
|
2023-03-06 09:06:15 +00:00
|
|
|
"prepublishOnly": "run-s clean compile test",
|
2023-02-05 13:03:13 +00:00
|
|
|
"build": "run-s compile demo",
|
|
|
|
"compile": "tsc",
|
|
|
|
"compile:watch": "tsc -w",
|
2023-02-05 13:10:58 +00:00
|
|
|
"demo": "vite build --emptyOutDir --base=./",
|
2023-01-31 00:26:27 +00:00
|
|
|
"demo:watch": "vite",
|
|
|
|
"test": "vitest --coverage --run",
|
|
|
|
"test:watch": "vitest --coverage",
|
2023-02-05 13:03:13 +00:00
|
|
|
"dev": "run-p compile:watch demo:watch test:watch"
|
2023-01-31 00:26:27 +00:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
2023-03-03 17:28:18 +00:00
|
|
|
"react": ">=16.8"
|
2023-01-31 00:26:27 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@testing-library/react": "^13.4.0",
|
2023-03-03 21:01:45 +00:00
|
|
|
"@types/react": "^18.0.28",
|
|
|
|
"@types/react-dom": "^18.0.11",
|
2023-02-05 13:03:13 +00:00
|
|
|
"@vitejs/plugin-react": "^3.1.0",
|
2023-03-03 21:01:45 +00:00
|
|
|
"@vitest/coverage-c8": "^0.29.2",
|
|
|
|
"happy-dom": "^8.9.0",
|
2023-01-31 00:26:27 +00:00
|
|
|
"npm-run-all": "^4.1.5",
|
|
|
|
"react": "^18.2.0",
|
|
|
|
"react-dom": "^18.2.0",
|
2023-02-05 13:03:13 +00:00
|
|
|
"typescript": "^4.9.5",
|
2023-03-03 21:01:45 +00:00
|
|
|
"vite": "^4.1.4",
|
|
|
|
"vitest": "^0.29.2"
|
2023-01-31 00:26:27 +00:00
|
|
|
}
|
|
|
|
}
|