forked from jaredpalmer/formik
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
43 lines (43 loc) · 1.36 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
{
"name": "formik-project",
"private": true,
"devDependencies": {
"@changesets/changelog-github": "^0.2.7",
"@changesets/cli": "^2.10.3",
"@types/jest": "^26.0.14",
"cypress": "^5.2.0",
"got": "10.0.4",
"husky": "^4.3.0",
"lerna": "^3.19.0",
"lint-staged": "^10.4.0",
"prettier": "^2.1.2",
"release": "6.0.1",
"tsdx": "^0.14.1",
"typescript": "^4.0.3"
},
"workspaces": [
"packages/*"
],
"scripts": {
"lerna": "lerna",
"dev": "lerna run start --stream --parallel",
"test": "lerna run test --",
"build": "lerna run build",
"prepublish": "lerna run prepublish",
"format": "prettier --write 'examples/**/*' 'packages/*/src/**/*' 'docs/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",
"cypress": "cypress run",
"precommit": "lint-staged",
"cypress:open": "cypress open",
"start:app": "npm run build && yarn --cwd packages/formik link && yarn --cwd node_modules/react link && yarn --cwd ./app link react formik && yarn --cwd ./app && yarn --cwd ./app run dev"
},
"lint-staged": {
"**/*.{ts,tsx,md,mdx,js,jsx}": [
"npm run format",
"tsdx lint"
]
}
}