formhero/package.json
2023-03-03 23:25:51 +00:00

40 lines
1000 B
JSON

{
"name": "formhero",
"version": "1.0.3",
"type": "module",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"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.8"
},
"devDependencies": {
"@testing-library/react": "^13.4.0",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@vitejs/plugin-react": "^3.1.0",
"@vitest/coverage-c8": "^0.29.2",
"happy-dom": "^8.9.0",
"npm-run-all": "^4.1.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^4.9.5",
"vite": "^4.1.4",
"vitest": "^0.29.2"
}
}