-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
114 lines (114 loc) · 3.6 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "npm-library",
"description": "NX and pnpm Workspaces monorepo of NPM packages, React and UI components",
"private": true,
"author": "unleashit",
"license": "MIT",
"keywords": [
"react",
"react components",
"ui components",
"authentication ui suite",
"pagination",
"modal",
"contact form",
"forms builder",
"navigation",
"npm"
],
"bugs": {
"url": "https://github.com/unleashit/npm-library/issues"
},
"scripts": {
"build": "nx run-many -t build --exclude=@unleashit/demo-*",
"build:pnpm": "pnpm --filter @unleashit/common build && pnpm --filter=!@unleashit/demo-* -r --parallel build",
"dev": "nx run-many -t dev -p @unleashit/demo-frontend @unleashit/demo-backend",
"dev:all": "pnpm -r --parallel dev",
"docs": "nx run @unleashit/docs:dev",
"docs:build": "nx run @unleashit/docs:build",
"test": "nx run-many --target=test --all",
"test:types": "pnpm -r exec tsc --noEmit",
"test:lint": "eslint '{packages,shared}/**/src/**/*.{ts,tsx,js,jsx,json}'",
"test:format": "prettier -c '{packages,shared}/**/src/**/*.{ts,tsx,js,jsx,json}'",
"lint": "eslint --fix '{demos,packages,shared}/**/src/**/*.{ts,tsx,js,jsx,json}'",
"format": "prettier --write '{demos,packages,shared}/**/src/**/*.{ts,tsx,js,jsx,json}'",
"prepublishOnly": "pnpm run build",
"release": "lerna publish",
"clean": "pnpm clean:build && pnpm clean:nm",
"clean:build": "pnpm -r exec rm -rf dist build",
"clean:nm": "rm -rf node_modules && pnpm -r exec rm -rf node_modules",
"prepare": "husky install"
},
"devDependencies": {
"@cfaester/enzyme-adapter-react-18": "^0.8.0",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@faker-js/faker": "^8.4.1",
"@hookform/resolvers": "^3.6.0",
"@lerna-lite/cli": "^3.5.1",
"@lerna-lite/publish": "^3.5.2",
"@lerna-lite/version": "^3.5.2",
"@types/enzyme": "^3.10.18",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.17.5",
"@types/node": "^20.14.6",
"@types/react": "18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.7.1",
"@typescript-eslint/parser": "^7.7.1",
"@unleashit/configs": "workspace:*",
"commander": "^12.1.0",
"concurrently": "^8.2.2",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.6.2",
"eslint": "^8.57.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^12.1.0",
"glob": "^10.4.2",
"husky": "^9.0.11",
"jest": "29.7.0",
"jest-environment-jsdom": "^29.7.0",
"node-sass": "^9.0.0",
"nx": "19.3.0",
"postcss": "^8.4.38",
"postcss-rename": "^0.6.1",
"prettier": "^3.3.2",
"react-dom": "^18.3.1",
"react-hook-form": "^7.52.0",
"sass-loader": "^14.2.1",
"ts-jest": "29.1.5",
"ts-loader": "^9.5.1",
"tsup": "^8.1.0",
"typescript": "5.4.5",
"zod": "^3.23.8"
},
"resolutions": {
"@types/react": "18.2.0"
},
"workspaces": {
"packages": [
"shared/*",
"packages/*",
"demos/*"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"prettier": {
"semi": true,
"trailingComma": "all",
"singleQuote": true,
"printWidth": 80,
"tabWidth": 2
},
"packageManager": "pnpm@9.0.4+sha256.caa915eaae9d9aefccf50ee8aeda25a2f8684d8f9d5c6e367eaf176d97c1f89e"
}