-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
127 lines (127 loc) · 4.77 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
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "@acusti/uikit",
"version": "0.0.1",
"type": "module",
"description": "UI toolkit monorepo containing a React component library, UI utilities, a drag-and-drop library, and more",
"keywords": [
"react",
"react-component",
"component-library",
"uikit",
"toolkit",
"node",
"fetch",
"aws",
"isomorphic",
"typescript",
"ts",
"flow"
],
"scripts": {
"build": "npm-run-all clean build:tsc --parallel lint build:flowtypes",
"buildci": "run-s clean build:tsc lint",
"build:flowtypes": "find . -type f -not -path './node_modules/*' -regex '.*/dist/[^/]*.d.ts' -exec sh -c 'yarn flowgen --add-flow-header --no-inexact $1 -o ${1%.*.*}.js.flow; sed -E -i \"\" \"s/React\\\\.(ReactNode|JSX\\\\.Element)/React.Node/g; s/React\\\\.SyntheticEvent/SyntheticEvent/g; s/React\\\\.ChangeEvent/SyntheticInputEvent/g; s/React\\\\.FormEvent/SyntheticEvent/g; s/React\\\\.KeyboardEvent/SyntheticKeyboardEvent/g; s/React\\\\.MouseEvent/SyntheticMouseEvent/g; s/React\\\\.FocusEvent/SyntheticFocusEvent/g; s/React\\\\.CSSProperties/{| [string]: string | number |}/g; s/React\\\\.RefAttributes<([^>]+)>/{| ref?: \\1 |}/g; s/React\\\\.ForwardRefExoticComponent/React.StatelessFunctionalComponent/g;\" ${1%.*.*}.js.flow' _ '{}' \\;",
"build:stories": "yarn workspace @acusti/uikit-docs build",
"build:tsc": "tsc --build",
"clean": "run-p 'clean:*'",
"clean:flowtypes": "find . -type f -regex './packages/[^/]+/dist/[^/]+.flow' -delete",
"clean:tsc": "tsc --build --clean",
"dev": "run-p 'dev:*'",
"dev:stories": "yarn workspace @acusti/uikit-docs storybook",
"dev:watch": "tsc --build --watch",
"format": "prettier --write eslint.config.js package.json README.md tsconfig.json ./packages/ ./packages/docs/.storybook/",
"lint": "eslint ./packages/*/src/**",
"lintfix": "eslint ./packages/*/src/** --fix",
"publish": "run-s build publish:all",
"publish:all": "yarn workspaces foreach --parallel --exclude '@acusti/uikit' npm publish --access public",
"test": "vitest"
},
"repository": {
"type": "git",
"url": "https://github.com/acusti/uikit.git"
},
"author": "andrew patton <[email protected]> (https://www.acusti.ca)",
"license": "Unlicense",
"bugs": {
"url": "https://github.com/acusti/uikit/issues"
},
"homepage": "https://github.com/acusti/uikit#readme",
"private": true,
"workspaces": [
"packages/*"
],
"devDependencies": {
"@babel/core": "^7.26.0",
"@eslint/js": "^9.17.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.5.2",
"@types/node": "^22.10.2",
"@types/react": "^19.0.2",
"@typescript-eslint/eslint-plugin": "^8.18.1",
"@typescript-eslint/parser": "^8.18.1",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.9.0",
"eslint-plugin-jest-dom": "^5.5.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-markdown": "^5.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-compiler": "beta",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-testing-library": "^7.1.1",
"eslint-plugin-typescript-sort-keys": "^3.3.0",
"flowgen": "^1.20.1",
"globals": "^15.14.0",
"happy-dom": "^15.11.7",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"typescript": "5.3.3",
"vite": "^6.0.3",
"vitest": "beta"
},
"resolutions": {
"@babel/core": "^7.26.0"
},
"eslintIgnore": [
"/node_modules",
"/build",
"/public"
],
"prettier": {
"arrowParens": "always",
"printWidth": 90,
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "all",
"useTabs": false,
"overrides": [
{
"files": [
"*.css",
"*.scss"
],
"options": {
"singleQuote": false
}
},
{
"files": [
"*.md",
"*.mdx",
"*.markdown"
],
"options": {
"printWidth": 75,
"proseWrap": "always"
}
}
]
},
"packageManager": "[email protected]"
}