the next generation of the in-browser educational proof assistant
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

add pre-commit hook

test

+8 -1
+1
.husky/pre-commit
··· 1 + npx lint-staged
+7 -1
package.json
··· 13 13 "res:dev": "rescript -w", 14 14 "res:format": "rescript format -all", 15 15 "test": "npm run res:build && pta 'tests/*.mjs'", 16 - "test-watch": "onchange --initial '{tests,src}/*.mjs' -- pta 'tests/*.mjs'" 16 + "test-watch": "onchange --initial '{tests,src}/*.mjs' -- pta 'tests/*.mjs'", 17 + "prepare": "husky" 17 18 }, 18 19 "dependencies": { 19 20 "@rescript/react": "^0.13.1", ··· 33 34 "eslint-plugin-react-hooks": "^5.2.0", 34 35 "eslint-plugin-react-refresh": "^0.4.19", 35 36 "globals": "^16.0.0", 37 + "husky": "^9.1.7", 38 + "lint-staged": "^16.2.3", 36 39 "onchange": "^7.1.0", 37 40 "pta": "^1.3.0", 38 41 "typescript": "~5.8.3", 39 42 "typescript-eslint": "^8.30.1", 40 43 "vite": "^6.3.5" 44 + }, 45 + "lint-staged": { 46 + "*.res": "rescript format" 41 47 } 42 48 }