forked from primer/primitives
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 2.94 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
{
"name": "@primer/primitives",
"version": "8.2.3",
"description": "Typography, spacing, and color primitives for Primer design system",
"files": [
"dist",
"src/**/*",
"!src/**/*.test.ts"
],
"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 build:v8 && npm run build:fallbacks && npm run build:figma",
"build:next": "echo '\\033[31m 🛑 Use npm run build instead of npm run build:next\\033[0m'",
"build:v8": "ts-node ./scripts/buildTokens.ts",
"build:fallbacks": "ts-node ./scripts/buildFallbacks.ts",
"build:figma": "ts-node scripts/buildFigma.ts",
"tokenJson:check": "ts-node scripts/diffThemes.ts && ts-node scripts/diffTokenProps.ts",
"contrast:check": "ts-node 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 '**/*.{js,ts,tsx,md,mdx}' --max-warnings=0 --config .eslintrc.js && npm run lint:tokens",
"lint:fix": "eslint '**/*.{js,ts,tsx,md,mdx}' --fix --max-warnings=0 --config .eslintrc.js",
"lint:tokens": "ts-node ./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": "jest --verbose --coverage"
},
"prettier": "@github/prettier-config",
"devDependencies": {
"@actions/github": "^6.0.0",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"@github/prettier-config": "^0.0.6",
"@playwright/test": "^1.43.0",
"@types/jest": "^29.5.2",
"@types/node": "^20.4.0",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
"color-blend": "^4.0.0",
"color2k": "^2.0.0",
"console-table-printer": "^2.11.1",
"eslint": "^8.12.0",
"eslint-config-prettier": "^8.6.0",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-plugin-github": "^4.3.6",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-mdx": "^2.0.5",
"eslint-plugin-primer-react": "^1.0.1",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.4.0",
"eslint-plugin-storybook": "^0.6.15",
"jest": "^29.6.1",
"json5": "^2.2.1",
"markdown-table-ts": "^1.0.3",
"prettier": "^2.7.1",
"style-dictionary": "^3.9.2",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typescript": "^5.4.5",
"zod": "^3.22.4",
"zod-validation-error": "^3.1.0"
}
}