|
3 | 3 | "private": true,
|
4 | 4 | "version": "1.0.0",
|
5 | 5 | "description": "Opinionated UI starter with ⚛️ React, ⚡️ Chakra UI, ⚛️ React Query & 🐜 Formiz — From the 🐻 BearStudio Team",
|
| 6 | + "engines": { |
| 7 | + "node": ">=14.17", |
| 8 | + "npm": "please-use-yarn", |
| 9 | + "yarn": ">=1.22" |
| 10 | + }, |
6 | 11 | "scripts": {
|
7 | 12 | "prepare": "husky install",
|
8 | 13 | "test": "jest --roots src --watch",
|
9 | 14 | "dev": "yarn docs:build && next dev",
|
10 | 15 | "build": "yarn docs:build && next build",
|
11 | 16 | "start": "next start",
|
12 | 17 | "pretty": "prettier -w .",
|
13 |
| - "lint": "eslint ./src --fix", |
| 18 | + "lint": "eslint ./src --fix && tsc --noEmit", |
14 | 19 | "storybook": "start-storybook -p 6006",
|
15 | 20 | "storybook:build": "build-storybook && mv ./storybook-static ./public/storybook",
|
16 | 21 | "static:build": "yarn build && next export",
|
|
19 | 24 | },
|
20 | 25 | "lint-staged": {
|
21 | 26 | "*.{ts,tsx,js,jsx,json}": "prettier --write",
|
22 |
| - "*.{ts,tsx,js,jsx}": "eslint --cache --fix", |
| 27 | + "*.{ts,tsx,js,jsx}": "eslint --cache --fix && tsc --noEmit", |
23 | 28 | "src/mocks/**/*.{yaml,yml}": "yarn docs:build"
|
24 | 29 | },
|
25 | 30 | "dependencies": {
|
|
0 commit comments