2019-09-26 19:13:27 +00:00
|
|
|
{
|
2023-01-31 00:26:27 +00:00
|
|
|
"name": "formhero",
|
2023-02-05 13:03:13 +00:00
|
|
|
"version": "0.1.0",
|
2023-01-31 00:26:27 +00:00
|
|
|
"type": "module",
|
|
|
|
"module": "./dist/index.js",
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
"scripts": {
|
|
|
|
"clean": "rm -rf ./dist",
|
|
|
|
"prepublishOnly": "run-s clean build 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": {
|
|
|
|
"react": ">=16"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@testing-library/react": "^13.4.0",
|
|
|
|
"@types/react": "^18.0.27",
|
|
|
|
"@types/react-dom": "^18.0.10",
|
2023-02-05 13:03:13 +00:00
|
|
|
"@vitejs/plugin-react": "^3.1.0",
|
|
|
|
"@vitest/coverage-c8": "^0.28.4",
|
|
|
|
"happy-dom": "^8.2.6",
|
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",
|
|
|
|
"vite": "^4.1.1",
|
|
|
|
"vitest": "^0.28.4"
|
2023-01-31 00:26:27 +00:00
|
|
|
}
|
|
|
|
}
|