formhero/package.json
2023-01-31 01:26:27 +01:00

36 lines
904 B
JSON

{
"name": "formhero",
"version": "0.0.7",
"type": "module",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"clean": "rm -rf ./dist",
"prepublishOnly": "run-s clean build test",
"build": "tsc",
"build:watch": "tsc -w",
"demo": "vite build",
"demo:watch": "vite",
"test": "vitest --coverage --run",
"test:watch": "vitest --coverage",
"dev": "run-p build: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.0.1",
"@vitest/coverage-c8": "^0.28.2",
"happy-dom": "^8.1.5",
"npm-run-all": "^4.1.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^4.9.4",
"vite": "^4.0.4",
"vitest": "^0.28.2"
}
}