-
Notifications
You must be signed in to change notification settings - Fork 43
/
package.json
86 lines (86 loc) · 3.18 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
{
"name": "@primer/primitives",
"version": "9.1.2",
"description": "Typography, spacing, and color primitives for Primer design system",
"type": "module",
"files": [
"dist",
"src/tokens"
],
"repository": "https://github.com/primer/primitives",
"keywords": [
"primitives",
"colors",
"spacing",
"typography",
"variables",
"design-system"
],
"author": "GitHub, Inc.",
"license": "MIT",
"bugs": {
"url": "https://github.com/primer/primitives/issues"
},
"homepage": "https://github.com/primer/primitives#readme",
"scripts": {
"build": "npm run clean && npm run build:tokens && npm run build:fallbacks && npm run build:figma && npm run build:config",
"build:tokens": "tsx ./scripts/buildTokens.ts",
"build:fallbacks": "tsx ./scripts/buildFallbacks.ts",
"build:figma": "tsx scripts/buildFigma.ts",
"build:config": "tsc -p build.tsconfig.jsonc && tsx ./scripts/copyDir.ts src/types dist/build/types",
"clean": "rm -rf dist",
"tokenJson:check": "tsx scripts/diffThemes.ts && tsx scripts/diffTokenProps.ts",
"contrast:check": "tsx scripts/color-contrast.ts",
"format": "prettier --write '**/*.{js,jsx,ts,tsx,md,mdx,css}'",
"format:check": "prettier --check '**/*.{js,jsx,ts,tsx,md,mdx,css}'",
"install:storybook": "cd docs/storybook && npm ci --legacy-peer-deps --no-audit --no-fund",
"lint": "ESLINT_USE_FLAT_CONFIG=false eslint '**/*.{js,ts,tsx,md,mdx}' --config .eslintrc.cjs && npm run lint:tokens",
"lint:fix": "eslint '**/*.{js,ts,tsx,md,mdx}' --fix --max-warnings=0 --config .eslintrc.cjs",
"lint:tokens": "tsx ./scripts/validateTokenJson.ts",
"prebuild": "rm -rf dist",
"prepack": "npm run build",
"release": "changeset publish",
"start:storybook": "npm run build && cd docs/storybook && npm run storybook",
"test": "npm run test:unit && npm run test:integration",
"test:unit": "vitest run --coverage",
"test:integration": "vitest run -r integration"
},
"prettier": "@github/prettier-config",
"devDependencies": {
"@actions/github": "^6.0.0",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.7",
"@github/prettier-config": "^0.0.6",
"@playwright/test": "^1.47.1",
"@types/node": "^20.14.11",
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.15.0",
"@vitest/coverage-v8": "^2.0.3",
"color-blend": "^4.0.0",
"color2k": "^2.0.3",
"console-table-printer": "^2.12.1",
"esbuild": "^0.23.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "3.6",
"eslint-plugin-github": "^5.0.1",
"eslint-plugin-jsx-a11y": "6.9",
"eslint-plugin-mdx": "^3.1.5",
"eslint-plugin-primer-react": "^5.3.0",
"eslint-plugin-react": "7.34",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-storybook": "^0.8.0",
"json5": "^2.2.1",
"markdown-table-ts": "^1.0.3",
"prettier": "^3.3.3",
"style-dictionary": "^4.1.3",
"tsx": "^4.19.0",
"typescript": "5.5",
"vitest": "^2.0.3",
"zod": "3.23",
"zod-validation-error": "3.3"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.22.0"
}
}