-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
145 lines (145 loc) · 4.57 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"name": "lexi-kit",
"version": "1.0.0",
"description": "A component kit for lexical framework. Build the editor that you want, not the one you're given.",
"scripts": {
"lint": "eslint packages --ext .js,.ts,.tsx",
"types:check": "tsc --skipLibCheck --noEmit",
"test": "jest",
"test:ci": "pnpm run types:check && jest --ci --coverage",
"build": "pnpm run build:config && pnpm run build:packages && pnpm run build:cleanup || pnpm run build:cleanup",
"build:config": "cp stubs/tsconfig.production.json tsconfig.json",
"build:packages": "parcel build 'packages/*/*/' --no-cache && pnpm run build:fix-type-defs",
"build:fix-type-defs": "node ./scripts/fix-type-defs-imports",
"build:cleanup": "cp stubs/tsconfig.dev.json tsconfig.json",
"bump:stable": "pnpm --filter '!lexi-kit' recursive exec -- npm version patch",
"bump:next": "pnpm --filter '!lexi-kit' recursive exec -- npm version prerelease --preid=next",
"clean": "pnpm --filter '!lexi-kit' recursive exec -- pnpm run clean",
"publish:stable": "pnpm bump:stable && pnpm clean && pnpm build && pnpm --filter '!lexi-kit' publish --access public",
"publish:next": "pnpm bump:next && pnpm clean && pnpm build && pnpm --filter '!lexi-kit' publish --access public --tag next",
"storybook": "storybook dev -p 6006 --no-open",
"build-storybook": "storybook build"
},
"homepage": "https://github.com/RegiByte/lexi-kit",
"repository": {
"type": "git",
"url": "git+https://github.com/RegiByte/lexi-kit.git"
},
"bugs": {
"url": "https://github.com/RegiByte/lexi-kit/issues"
},
"author": "RegiByte <github.com/RegiByte>",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.21.8",
"@babel/plugin-transform-typescript": "^7.21.3",
"@babel/preset-react": "^7.18.6",
"@babel/runtime": "^7.21.5",
"@babel/template": "^7.20.7",
"@jest/globals": "^29.5.0",
"@parcel/babel-plugin-transform-runtime": "^2.8.3",
"@parcel/babel-preset-env": "^2.8.3",
"@parcel/packager-ts": "^2.8.3",
"@parcel/transformer-typescript-types": "^2.8.3",
"@storybook/addon-essentials": "^7.0.12",
"@storybook/addon-interactions": "^7.0.12",
"@storybook/addon-links": "^7.0.12",
"@storybook/addon-storysource": "^7.0.12",
"@storybook/blocks": "^7.0.12",
"@storybook/react": "^7.0.12",
"@storybook/react-vite": "^7.0.12",
"@storybook/testing-library": "^0.1.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@types/babel__template": "^7.4.1",
"@types/eslint": "^8.37.0",
"@types/jest": "^29.5.1",
"@types/jest-axe": "^3.5.5",
"@types/node": "^20.1.4",
"@types/react": "^18.2.6",
"@types/react-dom": "^18.2.4",
"@typescript-eslint/eslint-plugin": "^5.59.5",
"@typescript-eslint/parser": "^5.59.5",
"babel-eslint": "^10.1.0",
"babel-loader": "^9.1.2",
"eslint": "^8.40.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^29.5.0",
"jest-axe": "^7.0.1",
"jest-environment-jsdom": "^29.5.0",
"jest-watch-typeahead": "^2.2.2",
"parcel": "^2.8.3",
"prettier": "^2.8.8",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"replace-in-files": "^3.0.0",
"standard-version": "^9.5.0",
"storybook": "^7.0.12",
"ts-jest": "^29.1.0",
"typescript": "^5.0.4"
},
"prettier": {
"arrowParens": "always",
"endOfLine": "lf",
"singleQuote": false,
"jsxSingleQuote": false,
"bracketSameLine": true,
"trailingComma": "all",
"printWidth": 100,
"quoteProps": "consistent"
},
"eslintConfig": {
"extends": [
"react-app",
"plugin:jsx-a11y/recommended"
],
"plugins": [
"jsx-a11y"
],
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"import/no-anonymous-default-export": [
1,
{
"allowObject": true
}
],
"react/jsx-pascal-case": [
2,
{
"allowNamespace": true
}
],
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "off",
"prefer-const": [
1,
{
"destructuring": "all"
}
],
"jsx-a11y/label-has-associated-control": [
2,
{
"controlComponents": [
"Checkbox"
],
"depth": 3
}
]
}
},
"eslintIgnore": [
"node_modules",
"dist"
]
}