-
Notifications
You must be signed in to change notification settings - Fork 536
/
package.json
97 lines (97 loc) · 3.47 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
{
"name": "primer",
"private": true,
"workspaces": [
"packages/rollup-plugin-import-css",
"packages/*",
"examples/*"
],
"scripts": {
"setup": "./script/setup",
"build": "npm run build -w rollup-plugin-import-css -w @primer/react",
"clean": "npm run clean -ws --if-present",
"clean:all": "npm run clean && rimraf 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: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:css": "stylelint --rd -q '**/*.css'",
"lint:css:fix": "npm run lint:css -- --fix",
"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"
},
"author": "GitHub, Inc.",
"license": "MIT",
"engines": {
"node": ">=12",
"npm": ">=7"
},
"devDependencies": {
"@babel/eslint-parser": "7.25.9",
"@changesets/changelog-github": "0.5.0",
"@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.47.2",
"@prettier/sync": "0.5.1",
"@primer/stylelint-config": "13.1.1",
"@size-limit/preset-big-lib": "11.1.6",
"@types/jest": "29.5.12",
"@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.2",
"eslint-plugin-jest": "28.8.3",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-mdx": "3.1.5",
"eslint-plugin-playwright": "0.15.1",
"eslint-plugin-prettier": "5.0.0",
"eslint-plugin-primer-react": "5.4.0",
"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",
"jest": "29.7.0",
"jest-watch-typeahead": "2.2.2",
"markdownlint-cli2": "^0.11.0",
"markdownlint-cli2-formatter-pretty": "0.0.3",
"prettier": "3.3.3",
"rimraf": "5.0.5",
"size-limit": "11.1.5",
"stylelint": "16.9.0",
"typescript": "5.6.3"
},
"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
}
]
}