forked from carbon-design-system/design-language-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 3.05 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
{
"name": "design-language-website",
"description": "IBM Design Language website",
"private": true,
"version": "1.0.1",
"main": "src",
"engines": {
"node": "^12 || ^14"
},
"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 build --prefix-paths && yarn move-public",
"build:analyze": "gatsby clean && ANALYZE=true yarn build",
"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/elements": "^10.7.0",
"@carbon/icons": "^10.9.3",
"@carbon/icons-react": "^10.9.3",
"@carbon/pictograms": "^10.9.0",
"@carbon/pictograms-react": "^10.9.0",
"@ibm/plex": "^4.0.2",
"@loadable/babel-plugin": "^5.12.0",
"@loadable/component": "^5.12.0",
"@loadable/webpack-plugin": "^5.12.0",
"babel-preset-gatsby": "^0.5.2",
"carbon-components": "^10.13.0",
"carbon-components-react": "^7.13.0",
"copy-to-clipboard": "^3.2.1",
"fs-extra": "^8.1.0",
"gatsby": "^2.19.17",
"gatsby-plugin-manifest": "^2.2.5",
"gatsby-theme-carbon": "^1.26.2",
"lodash-es": "^4.17.15",
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-lottie": "^1.2.3",
"react-textarea-autosize": "^7.1.0",
"use-media": "^1.4.0"
},
"devDependencies": {
"@babel/core": "^7.10.5",
"babel-eslint": "^10.1.0",
"carbon-icons": "^7.0.7",
"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.2.0",
"stylelint": "^13.6.1",
"stylelint-config-recommended-scss": "^4.2.0",
"stylelint-scss": "^3.18.0",
"webpack": "^4.43.0"
}
}