-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
74 lines (74 loc) · 3.05 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"private": true,
"scripts": {
"clean:node_modules": "find . \\( -name 'node_modules' -or -name 'package-lock.json' \\) -prune -exec rm -rf '{}' +",
"clean": "npm run clean --workspaces",
"clean:all": "npm run clean && npm run clean:node_modules",
"build": "npm run build --workspaces",
"prepublishOnly": "npm run prepublishOnly --workspaces",
"test": "npm run test --workspaces --if-present",
"test:coverage": "npm run test:coverage --workspaces --if-present",
"test:e2e": "npm run test:e2e --workspaces --if-present",
"format": "prettier --write '**/*'",
"lint": "run-p tsc eslint stylelint",
"tsc": "npm run tsc --workspaces --if-present",
"eslint": "eslint . '**/*.{js,jsx,ts,tsx}'",
"stylelint": "stylelint '**/*.scss'",
"prepare": "husky install",
"precommit": "npm run build && run-p lint format",
"prepush": "run-p test test:e2e",
"version": "npx lerna version --no-push",
"version:next": "npx lerna version --no-git-tag-version --no-push # Custom example: 0.8.0-beta.1",
"publish": "npm publish --workspace=react-form-with-constraints --workspace=react-form-with-constraints-bootstrap --workspace=react-form-with-constraints-material-ui --workspace=react-form-with-constraints-native --workspace=react-form-with-constraints-tools",
"publish:next": "npm run publish -- --tag next",
"npm:update": "npm run clean:all && find . -type f -name 'package.json' -not -path './.git/*' -not -path '*/node_modules/*' -execdir npx npm-check-updates --upgrade \\; && npm install"
},
"workspaces": [
"packages/react-form-with-constraints",
"packages/react-form-with-constraints-bootstrap",
"packages/react-form-with-constraints-material-ui",
"packages/react-form-with-constraints-native",
"packages/react-form-with-constraints-tools",
"examples/Bootstrap",
"examples/ClubMembers",
"examples/HTML5ConstraintValidationAPI",
"examples/MaterialUI",
"examples/Password",
"examples/PasswordWithoutState",
"examples/PlainOldReact",
"examples/ServerSideRendering",
"examples/SignUp",
"examples/WizardForm"
],
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
"eslint": "^8.20.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.6.0",
"eslint-plugin-jsx-a11y": "^6.6.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-unicorn": "^43.0.2",
"husky": "^8.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"stylelint": "^14.9.1",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-twbs-bootstrap": "^5.0.0",
"stylelint-prettier": "^2.0.0",
"typescript": "^4.7.4"
},
"overrides": {
"@material-ui/[email protected]": {
"@types/react": "^18.0.15"
},
"react-native@^0.63.4": {
"react": "^16.14.0"
}
}
}