forked from ant-design/ant-design-pro-site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
99 lines (99 loc) · 3.04 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
{
"name": "ant-design-pro-site",
"version": "2.3.0",
"description": "site of Ant Design Pro",
"homepage": "http://pro.ant.design/",
"repository": {
"type": "git",
"url": "https://github.com/ant-design/ant-design-pro-site"
},
"license": "MIT",
"scripts": {
"build": "gatsby build",
"dev": "gatsby develop",
"gh-pages": "gh-pages -d public",
"lint": "npm run lint:js && npm run lint:style",
"lint-staged": "lint-staged",
"lint-staged:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
"lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
"lint:fix": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src --fix",
"lint:style": "stylelint \"src/**/*.less\" --syntax less --fix",
"precommit": "npm run lint-staged",
"prettier": "prettier --write \"**/**\"",
"serve": "gatsby serve",
"presite": "npm run build",
"site": "npm run gh-pages",
"start": "gatsby develop",
"test": "npm run lint"
},
"pre-commit": [
"precommit"
],
"lint-staged": {
"**/*.less": "stylelint --syntax less",
"**/*.{js,jsx,less}": [
"prettier --write",
"git add"
],
"**/*.{js,jsx}": "npm run lint-staged:js"
},
"dependencies": {
"antd": "3.x",
"cheerio": "^1.0.0-rc.3",
"classnames": "^2.2.6",
"delegate": "^3.2.0",
"docsearch.js": "^2.6.3",
"gatsby": "^2.2.7",
"gatsby-plugin-copy-files": "^1.0.3",
"gatsby-plugin-sitemap": "^2.1.0",
"gatsby-transformer-remark": "^2.6.39",
"moment": "^2.24.0",
"node-fetch": "^2.5.0",
"prop-types": "^15.7.2",
"rc-drawer-menu": "^1.1.0",
"rc-queue-anim": "^1.3.1",
"rc-scroll-anim": "^2.0.2",
"rc-tween-one": "^2.2.3",
"react": "^16.4.2",
"react-copy-to-clipboard": "^5.0.0",
"react-dom": "^16.4.2",
"react-github-button": "^0.1.11",
"react-helmet": "^5.2.1",
"react-intl": "^2.4.0",
"react-media": "^1.9.2",
"slash2": "^2.0.0"
},
"devDependencies": {
"@types/classnames": "^2.2.7",
"@types/react-helmet": "^5.0.13",
"@types/react-intl": "^2.3.17",
"@umijs/fabric": "^1.1.3",
"cross-env": "^5.1.1",
"eslint": "^5.3.0",
"gatsby-plugin-antd": "^2.0.2",
"gatsby-plugin-catch-links": "^2.0.0",
"gatsby-plugin-google-analytics": "^2.0.0",
"gatsby-plugin-less": "^2.0.6",
"gatsby-plugin-manifest": "^2.0.9",
"gatsby-plugin-netlify": "^2.0.0",
"gatsby-plugin-offline": "^2.0.16",
"gatsby-plugin-react-helmet": "^3.0.2",
"gatsby-plugin-typescript": "^2.0.13",
"gatsby-remark-copy-linked-files": "^2.0.0",
"gatsby-remark-embed-snippet": "^3.0.0",
"gatsby-remark-prismjs": "^3.0.2",
"gatsby-source-filesystem": "^2.0.0",
"gh-pages": "^1.0.0",
"github-slugger": "^1.2.1",
"less": "^3.9.0",
"lint-staged": "^7.0.5",
"mdast-util-to-string": "^1.0.5",
"nprogress": "^0.2.0",
"pre-commit": "^1.2.2",
"prettier": "^1.14.0",
"prismjs": "^1.15.0",
"stylelint": "^12.0.0",
"typescript": "^3.5.2"
},
"title": "Ant Design Pro"
}