forked from primer/react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 3.46 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
{
"name": "primer",
"private": true,
"workspaces": [
"packages/*",
"docs",
"examples/*"
],
"scripts": {
"setup": "./script/setup",
"build": "npm run build -w @primer/react",
"clean": "npm run clean -ws --if-present",
"clean:all": "npm run clean && rimraf node_modules docs/node_modules packages/*/node_modules examples/*/node_modules",
"format": "prettier --cache --write '**/*.{js,css,md,mdx,ts,tsx,yml}'",
"format:diff": "prettier --cache --list-different '**/*.{js,css,md,mdx,ts,tsx,yml}'",
"start": "concurrently npm:start:*",
"start:docs": "npm run develop -w docs",
"start:storybook": "npm run start:storybook -w @primer/react",
"build:storybook": "script/build-storybook",
"build:docs": "NODE_OPTIONS=--openssl-legacy-provider script/build-docs",
"build:docs:preview": "NODE_OPTIONS=--openssl-legacy-provider script/build-docs preview",
"build:components.json": "npm run build:components.json -w @primer/react",
"lint": "eslint '**/*.{js,ts,tsx,md,mdx}' --max-warnings=0",
"lint:fix": "npm run lint -- --fix",
"lint:md": "markdownlint-cli2 \"**/*.{md,mdx}\" \"!.github\" \"!.changeset\" \"!**/node_modules/**\" \"!**/CHANGELOG.md\"",
"test": "jest",
"test:update": "npm run test -- --updateSnapshot",
"test:watch": "npm run test -- --watch",
"test:coverage": "npm run test -- --coverage",
"test:type-check": "tsc --noEmit",
"type-check": "tsc --noEmit && npm run type-check -ws --if-present",
"release": "npm run build && changeset publish",
"size": "size-limit",
"prepare": "husky install"
},
"author": "GitHub, Inc.",
"license": "MIT",
"engines": {
"node": ">=12",
"npm": ">=7"
},
"devDependencies": {
"@babel/eslint-parser": "7.23.3",
"@changesets/changelog-github": "0.4.8",
"@changesets/cli": "2.27.1",
"@github/axe-github": "0.6.1",
"@github/markdownlint-github": "^0.6.0",
"@github/prettier-config": "0.0.6",
"@mdx-js/react": "1.6.22",
"@playwright/test": "1.43.0",
"@prettier/sync": "0.5.1",
"@size-limit/preset-big-lib": "11.0.2",
"@types/jest": "29.5.6",
"@typescript-eslint/eslint-plugin": "^7.11.0",
"@typescript-eslint/parser": "^7.3.1",
"eslint": "8.56.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-github": "5.0.1",
"eslint-plugin-jest": "27.2.1",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-mdx": "3.0.0",
"eslint-plugin-playwright": "0.15.1",
"eslint-plugin-prettier": "5.0.0",
"eslint-plugin-primer-react": "4.0.2",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-ssr-friendly": "1.3.0",
"eslint-plugin-storybook": "0.8.0",
"eslint-plugin-testing-library": "6.0.2",
"husky": "8.0.3",
"jest": "29.7.0",
"jest-watch-typeahead": "2.2.2",
"lint-staged": "15.2.2",
"markdownlint-cli2": "^0.11.0",
"markdownlint-cli2-formatter-pretty": "0.0.3",
"prettier": "3.0.3",
"rimraf": "5.0.5",
"size-limit": "11.0.2",
"typescript": "5.4.5"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.9.6"
},
"prettier": "@github/prettier-config",
"size-limit": [
{
"path": "packages/react/dist/browser.esm.js",
"webpack": false,
"running": false
},
{
"path": "packages/react/dist/browser.umd.js",
"webpack": false,
"running": false
}
],
"lint-staged": {
"**/*.{js,ts,tsx,md,mdx}": "npm run lint"
}
}