forked from carbon-design-system/carbon-website-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
140 lines (140 loc) · 4.07 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
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "carbon-website-gatsby",
"description": "Carbon Design System website",
"private": true,
"version": "0.0.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon-website-gatsby/"
},
"keywords": [
"gatsby"
],
"scripts": {
"build": "echo 'ERROR: Please specify environment by running either build:external or build:internal. This will set the correct environment variable for the build.'",
"build:external": "./tasks/build.sh --env external",
"build:internal": "./tasks/build.sh --env internal",
"dev": "yarn dev:external",
"dev:external": "rm -rf .cache && cross-env GATSBY_CARBON_ENV=external gatsby develop",
"dev:internal": "rm -rf .cache && cross-env GATSBY_CARBON_ENV=internal gatsby develop",
"format": "prettier --write \"**/*.{scss,css,js,md}\"",
"format:diff": "prettier --list-different \"**/*.{scss,css,js,md}\"",
"test": "echo \"Error: no test specified\" && exit 1",
"storybook": "start-storybook -p 9001 -c .storybook",
"storybook:build": "build-storybook -c .storybook -o public/docs",
"deploy": "gatsby build && gh-pages -d public"
},
"dependencies": {
"@carbon/icons-react": "^0.0.1-alpha.2",
"@reach/router": "^1.2.1",
"@storybook/addon-info": "^3.4.11",
"carbon-components": "^9.26.0",
"carbon-components-react": "6.33.3",
"carbon-icons": "^7.0.7",
"classnames": "^2.2.6",
"custom-event": "^1.0.1",
"dotenv": "^6.0.0",
"flatpickr": "^4.5.2",
"fs": "0.0.1-security",
"gatsby": "2.0.6",
"gatsby-image": "2.0.7",
"gatsby-plugin-google-analytics": "^2.0.6",
"gatsby-plugin-manifest": "^2.0.2",
"gatsby-plugin-offline": "^2.0.5",
"gatsby-plugin-react-helmet": "3.0.0",
"gatsby-plugin-sass": "2.0.1",
"gatsby-plugin-sharp": "2.0.5",
"gatsby-react-router-scroll": "^2.0.0",
"gatsby-remark-autolink-headers": "^2.0.6",
"gatsby-remark-component": "^1.1.3",
"gatsby-remark-copy-linked-files": "2.0.5",
"gatsby-remark-embed-video": "^1.4.0",
"gatsby-remark-embedded-codesandbox": "^1.2.0",
"gatsby-remark-images": "2.0.1",
"gatsby-source-filesystem": "2.0.1",
"gatsby-transformer-remark": "2.1.3",
"gatsby-transformer-sharp": "next",
"markdown-it": "^8.4.2",
"markdown-loader": "^3.0.0",
"prismjs": "^1.15.0",
"prop-types": "^15.6.1",
"react-copy-to-clipboard": "^5.0.1",
"react-ga": "^2.5.3",
"react-helmet": "^5.2.0",
"react-router": "^4.3.1",
"rehype-react": "^3.0.2"
},
"devDependencies": {
"@storybook/addon-actions": "^3.4.7",
"@storybook/addon-knobs": "^3.4.7",
"@storybook/addon-options": "^3.4.7",
"@storybook/react": "^3.4.7",
"babel-core": "^6.26.3",
"babel-loader": "7.1.1",
"cross-env": "^5.2.0",
"gatsby-remark-static-images": "^1.0.0",
"gh-pages": "^1.2.0",
"html-loader": "^0.5.5",
"node-sass": "^4.9.3",
"prettier": "^1.12.0",
"react": "^16.4.2",
"react-dom": "^16.4.2",
"sass-loader": "^7.0.3",
"storybook-readme": "^3.3.0"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"loose": true,
"modules": false,
"useBuiltIns": false,
"shippedProposals": true,
"targets": {
"browsers": [
">0.25%",
"not dead"
]
}
}
],
[
"@babel/preset-react",
{
"useBuiltIns": false,
"pragma": "React.createElement"
}
]
],
"plugins": [
[
"@babel/plugin-proposal-class-properties",
{
"loose": true
}
],
"@babel/plugin-syntax-dynamic-import",
"babel-plugin-macros",
[
"@babel/plugin-transform-runtime",
{
"helpers": true,
"regenerator": true
}
]
]
},
"eslintConfig": {
"globals": {
"__PATH_PREFIX__": true
}
},
"prettier": {
"jsxBracketSameLine": true,
"printWidth": 80,
"singleQuote": true,
"trailingComma": "es5"
}
}