-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
/
package.json
54 lines (54 loc) · 1.73 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"name": "formik-project",
"private": true,
"type": "module",
"resolutions": {
"shelljs": "0.8.5",
"typescript": "^4.0.0"
},
"devDependencies": {
"@changesets/changelog-github": "^0.2.7",
"@changesets/cli": "^2.10.3",
"@hookform/resolvers": "^3.1.1",
"@playwright/test": "^1.34.3",
"@types/benchmark": "^2.1.2",
"@types/jest": "^25.0.0",
"benchmark": "^2.1.4",
"esm": "^3.2.25",
"husky": "^4.3.0",
"lint-staged": "^10.4.0",
"prettier": "^2.1.2",
"react-hook-form": "^7.45.0",
"tslib": "^2.5.3",
"tsx": "^4.19.0",
"turbo": "^1.9.9"
},
"workspaces": [
"packages/*",
"website"
],
"scripts": {
"dev": "turbo run start",
"test": "turbo run test --filter='./packages/*' --",
"build": "turbo run build",
"build:benchmark": "yarn build --filter=formik",
"build:codesandbox": "yarn build --filter='./packages/*'",
"prepublish": "turbo run build --filter='./packages/*'",
"format": "prettier --write 'examples/**/*' 'packages/*/src/**/*' 'website/src/**/*.{ts,tsx,js,jsx,md,mdx}' 'app/pages/**/*' 'packages/*/test/**/*' 'README.md'",
"changeset": "changeset",
"release": "changeset publish",
"git-reset": "git reset --hard HEAD",
"git-clean": "git clean -d -x -e node_modules -e packages -f",
"e2e": "playwright test",
"precommit": "lint-staged",
"e2e:ui": "playwright test --ui",
"start:app": "turbo run build --filter formik... && yarn --cwd packages/formik link && yarn --cwd ./app link formik && yarn --cwd ./app && yarn --cwd ./app run dev",
"benchmark": "tsx scripts/benchmark.tsx | tee output.txt"
},
"lint-staged": {
"**/*.{ts,tsx,md,mdx,js,jsx}": [
"npm run format",
"tsdx lint"
]
}
}