mirror of
https://github.com/cupcakearmy/formhero.git
synced 2024-12-23 00:26:23 +00:00
37 lines
969 B
JSON
37 lines
969 B
JSON
{
|
|
"name": "formhero",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"scripts": {
|
|
"clean": "rm -rf ./dist",
|
|
"prepublishOnly": "run-s clean build test",
|
|
"build": "run-s compile demo",
|
|
"compile": "tsc",
|
|
"compile:watch": "tsc -w",
|
|
"demo": "vite build --emptyOutDir --base=./",
|
|
"demo:watch": "vite",
|
|
"test": "vitest --coverage --run",
|
|
"test:watch": "vitest --coverage",
|
|
"dev": "run-p compile:watch demo:watch test:watch"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=16"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/react": "^13.4.0",
|
|
"@types/react": "^18.0.27",
|
|
"@types/react-dom": "^18.0.10",
|
|
"@vitejs/plugin-react": "^3.1.0",
|
|
"@vitest/coverage-c8": "^0.28.4",
|
|
"happy-dom": "^8.2.6",
|
|
"npm-run-all": "^4.1.5",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"typescript": "^4.9.5",
|
|
"vite": "^4.1.1",
|
|
"vitest": "^0.28.4"
|
|
}
|
|
}
|