forked from ant-design/ant-design-pro-site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
101 lines (101 loc) · 3.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
{
"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:fix": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src --fix",
"lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
"lint:style": "stylelint \"src/**/*.less\" --syntax less --fix",
"prettier": "prettier --write \"**/**\"",
"serve": "gatsby serve",
"presite": "npm run build",
"site": "npm run gh-pages",
"start": "gatsby develop",
"test": "npm run lint"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint-staged"
}
},
"lint-staged": {
"**/*.less": "stylelint --syntax less",
"**/*.{js,jsx,less}": [
"prettier --write",
"git add"
],
"**/*.{js,jsx}": "npm run lint-staged:js"
},
"dependencies": {
"@ant-design/icons": "^4.0.5",
"antd": "^4.1.1",
"cheerio": "^1.0.0-rc.3",
"classnames": "^2.2.6",
"delegate": "^3.2.0",
"docsearch.js": "^2.6.3",
"gatsby": "^2.24.47",
"gatsby-plugin-antd": "^2.0.2",
"gatsby-plugin-catch-links": "^2.0.0",
"gatsby-plugin-copy-files": "^1.0.3",
"gatsby-plugin-google-analytics": "^2.0.0",
"gatsby-plugin-less": "^4.0.3",
"gatsby-plugin-offline": "^3.2.2",
"gatsby-plugin-react-helmet": "^3.0.2",
"gatsby-plugin-sitemap": "^2.1.0",
"gatsby-plugin-typescript": "^2.0.13",
"gatsby-remark-copy-linked-files": "^2.0.0",
"gatsby-remark-embed-snippet": "^4.3.5",
"gatsby-remark-prismjs": "^3.0.2",
"gatsby-source-filesystem": "^2.0.0",
"gatsby-transformer-remark": "^2.7.1",
"husky": "^4.2.3",
"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": "^6.0.0",
"@types/react-intl": "^2.3.17",
"@umijs/fabric": "^2.0.0",
"cross-env": "^7.0.2",
"eslint": "^7.0.0",
"gatsby-remark-autolink-headers": "^2.2.1",
"gh-pages": "^3.1.0",
"github-slugger": "^1.2.1",
"less": "^3.9.0",
"lint-staged": "^10.2.10",
"mdast-util-to-string": "^1.0.5",
"nprogress": "^0.2.0",
"pre-commit": "^1.2.2",
"prettier": "^2.0.0",
"prismjs": "^1.15.0",
"stylelint": "^13.6.0",
"typescript": "^3.5.2"
},
"title": "Ant Design Pro"
}