forked from carbon-design-system/design-language-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
112 lines (112 loc) · 3.33 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
{
"name": "design-language-website",
"description": "IBM Design Language website",
"private": true,
"version": "1.0.1",
"main": "src",
"engines": {
"node": "20.x"
},
"browserslist": [
"last 2 edge version",
"last 2 firefox version",
"last 2 safari version",
"last 2 chrome version"
],
"repository": {
"url": "[email protected]:carbon-design-system/design-language-website.git",
"type": "git"
},
"author": "Alison Joseph <[email protected]>",
"license": "Apache-2.0",
"scripts": {
"dev": "gatsby develop -H 0.0.0.0",
"serve:prefix": "gatsby serve --prefix-paths -H 0.0.0.0",
"dev:clean": "yarn clean && gatsby develop",
"clean": "gatsby clean",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"lint:styles": "stylelint \"src/**/*.scss\" --fix",
"build": "gatsby build",
"build:prefix": "gatsby clean && gatsby build --prefix-paths && yarn move-public",
"build:analyze": "gatsby clean && ANALYZE=true yarn build",
"build:svgs": "svgo -r -f ./src/images/app-icons",
"move-public": "mv public language && mkdir public && mkdir public/design && cp -R language public/design && rm -rf language",
"serve": "gatsby serve -H 0.0.0.0",
"ci-check": "yarn format:diff",
"format": "prettier --write \"**/*.{css,scss,json,html,yaml}\"",
"test:prefix": "gatsby build --prefix-paths && gatsby serve --prefix-paths"
},
"eslintIgnore": [
"public/",
".cache/"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix"
],
"*.{css,scss,json,html,yaml}": [
"prettier --write"
],
"*.{css,scss}": [
"stylelint --fix"
]
},
"dependencies": {
"@carbon/colors": "^10.37.1",
"@carbon/icons": "^11.52.0",
"@carbon/icons-react": "^11.52.0",
"@carbon/layout": "^10.37.1",
"@carbon/pictograms": "^12.42.0",
"@carbon/pictograms-react": "^11.68.0",
"@ibm/plex": "^5.2.1",
"@loadable/babel-plugin": "^5.12.0",
"@loadable/component": "^5.15.0",
"@loadable/webpack-plugin": "^5.15.0",
"babel-preset-gatsby": "^1.7.1",
"carbon-components": "^10.58.0",
"carbon-components-react": "^7.59.0",
"copy-to-clipboard": "^3.2.1",
"fs-extra": "^8.1.0",
"gatsby": "^3.7.2",
"gatsby-plugin-manifest": "^3.7.1",
"gatsby-plugin-remove-serviceworker": "^1.0.0",
"gatsby-plugin-sitemap": "^4.3.1",
"gatsby-theme-carbon": "^2.2.0",
"lodash-es": "^4.17.15",
"prop-types": "^15.7.2",
"raw-loader": "^4.0.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-lottie": "^1.2.3",
"react-textarea-autosize": "^7.1.0",
"use-media": "^1.4.0"
},
"devDependencies": {
"@babel/core": "^7.14.6",
"babel-eslint": "^10.1.0",
"carbon-icons": "^7.0.7",
"dotenv": "^16.0.1",
"eslint": "^7.4.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-react": "^7.12.4",
"eslint-plugin-react-hooks": "^4.0.8",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"prettier": "^2.0.5",
"prettier-config-carbon": "^0.4.0",
"stylelint": "^13.6.1",
"stylelint-config-recommended-scss": "^4.2.0",
"stylelint-scss": "^3.18.0",
"svgo": "^2.3.0",
"uuid": "^8.3.2",
"webpack": "^5.40.0"
}
}