-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
128 lines (128 loc) · 3.86 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
{
"name": "cbp-design-system",
"version": "1.0.0",
"description": "A design system for the U.S. Customs & Border Protection that provides components, patterns and guidelines to create consistent and cohesive user interfaces.",
"main": "index.js",
"scripts": {
"style-lint": "npx stylelint '**/*.scss'",
"stylelint-check": "stylelint-config-prettier-check",
"build-tokens": "npm run sd -w packages/vanilla",
"vanilla-dev": "npm run dev -w packages/vanilla",
"vanilla-build": "npm run build -w packages/vanilla",
"vanilla-sb": "npm run storybook -w packages/vanilla",
"ux-dev": "npm run dev -w packages/ux-guidelines",
"ux-build": "npm run build -w packages/ux-guidelines",
"react-build": "npm run build -w packages/react-components",
"stencil-build": "npm run build -w packages/web-components",
"stencil-start": "npm run start -w packages/web-components",
"stencil-sb": "npm run storybook -w packages/web-components",
"stencil-build-sb": "npm run build-pages -w packages/web-components",
"stencil-generate": "npm run generate -w packages/web-components",
"test": "echo \"Error: no test specified\" && exit 1",
"build-pages": "npm run vanilla-build && npm run build-pages -w packages/vanilla && npm run stencil-build && npm run build-pages -w packages/web-components",
"build-wc-package": "npm run stencil-build && npm run build-pages -w packages/web-components",
"build-pages-old": "npm run vanilla-build && npm run build-pages -w packages/vanilla && npm run build-pages -w packages/ux-guidelines",
"build-all": "npm run vanilla-build && npm run stencil-build && npm run react-build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/US-CBP/design-system.git"
},
"keywords": [
"CBP",
"CBP Design System",
"CBP Theme"
],
"author": {
"name": "Creative Services",
"email": "CreativeServices@cbp.dhs.gov"
},
"license": "CC0-1.0",
"bugs": {
"url": "https://github.com/US-CBP/design-system/issues"
},
"homepage": "https://github.com/US-CBP/design-system",
"engines": {
"npm": ">=8.0.0",
"node": ">=18.0.0"
},
"workspaces": [
"packages/vanilla",
"packages/ux-guidelines",
"packages/web-components",
"packages/react-components"
],
"devDependencies": {
"@types/node": "^20.10.4",
"eslint": "^8.55.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"lerna": "^8.1.8",
"postcss-scss": "^4.0.9",
"prettier": "^2.8.8",
"stylelint": "^14.16.1",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-recommended": "^9.0.0",
"stylelint-scss": "^4.7.0",
"typescript": "^5.3.3"
},
"eslintConfig": {
"env": {
"browser": true,
"es2021": true
},
"plugins": [
"react",
"react-refresh"
],
"extends": [
"eslint:recommended",
"prettier",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended",
"plugin:react/jsx-runtime"
],
"ignorePatterns": [
"dist"
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"overrides": [],
"rules": {
"semi": [
"error",
"always"
],
"quotes": [
"error",
"single"
],
"react-refresh/only-export-components": "warn"
}
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"singleQuote": true,
"max_line_length": 120
},
"stylelint": {
"extends": [
"stylelint-config-prettier",
"stylelint-config-recommended"
],
"customSyntax": "postcss-scss",
"plugins": [
"stylelint-scss"
],
"rules": {
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": true
}
}
}