forked from ant-design/ant-design-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
165 lines (165 loc) · 6.18 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
{
"name": "antd-mobile",
"version": "2.2.14",
"description": "基于 React 的移动设计规范实现",
"homepage": "http://mobile.ant.design",
"keywords": [
"ant",
"design",
"react",
"react-component",
"component",
"components",
"ui",
"framework",
"frontend",
"mobile"
],
"repository": {
"type": "git",
"url": "http://github.com/ant-design/ant-design-mobile"
},
"bugs": {
"url": "http://github.com/ant-design/ant-design-mobile/issues"
},
"files": [
"dist",
"lib",
"es"
],
"license": "MIT",
"main": "lib/index.js",
"module": "es/index.js",
"dependencies": {
"array-tree-filter": "~2.1.0",
"babel-runtime": "6.x",
"classnames": "^2.2.1",
"normalize.css": "^7.0.0",
"rc-checkbox": "~2.0.0",
"rc-collapse": "~1.9.1",
"rc-slider": "~8.2.0",
"rc-swipeout": "~2.0.0",
"rmc-calendar": "^1.0.0",
"rmc-cascader": "~5.0.0",
"rmc-date-picker": "^6.0.8",
"rmc-dialog": "^1.0.1",
"rmc-drawer": "^0.4.11",
"rmc-feedback": "^2.0.0",
"rmc-input-number": "^1.0.0",
"rmc-list-view": "^0.11.0",
"rmc-notification": "~1.0.0",
"rmc-nuka-carousel": "~3.0.0",
"rmc-picker": "~5.0.0",
"rmc-pull-to-refresh": "~1.0.1",
"rmc-steps": "~1.0.0",
"rmc-tabs": "~1.2.0",
"rmc-tooltip": "~1.0.0"
},
"devDependencies": {
"@types/prop-types": "^15.5.2",
"@types/react": "^16.0.36",
"@types/react-dom": "^16.0.3",
"antd": "3.x",
"antd-mobile-demo-data": "^0.2.0",
"antd-tools": "^5.2.0",
"babel-eslint": "^7.2.3",
"babel-plugin-import": "^1.6.2",
"babel-plugin-transform-runtime": "^6.23.0",
"bisheng": "^0.28.0",
"bisheng-plugin-antd": "^0.16.0",
"bisheng-plugin-description": "^0.1.1",
"bisheng-plugin-react": "^0.6.0",
"bisheng-plugin-toc": "^0.4.0",
"concurrently": "^3.4.0",
"cross-env": "^5.0.1",
"css-split-webpack-plugin": "^0.2.5",
"dora-plugin-upload": "^0.3.1",
"enquire.js": "^2.1.1",
"enzyme": "^3.0.0",
"enzyme-adapter-react-16": "^1.0.0",
"enzyme-to-json": "^3.0.0",
"eslint": "~4.3.0",
"eslint-config-airbnb": "~15.1.0",
"eslint-plugin-babel": "~4.1.1",
"eslint-plugin-import": "~2.7.0",
"eslint-plugin-jsx-a11y": "~6.0.2",
"eslint-plugin-markdown": "~1.0.0-beta.6",
"eslint-plugin-react": "~7.2.0",
"eslint-tinker": "~0.4.1",
"glob": "^7.1.1",
"jest": "^23.0.0",
"jest-spec-reporter": "^1.0.3",
"jsonml.js": "^0.1.0",
"lesshint": "^4.0.2",
"lint-staged": "^7.0.0",
"lodash.debounce": "^4.0.6",
"mockdate": "^2.0.1",
"pre-commit": "1.x",
"preact": "~8.2.6",
"preact-compat": "3.18.0",
"qrcode.react": "^0.7.1",
"raf": "^3.4.0",
"rc-form": "1.x",
"react": "^16.0.0",
"react-copy-to-clipboard": "^5.0.0",
"react-document-title": "^2.0.1",
"react-dom": "^16.0.0",
"react-github-button": "^0.1.9",
"react-intl": "^2.2.3",
"react-sticky": "^6.0.1",
"stylelint": "^8.0.0",
"stylelint-config-standard": "^17.0.0",
"typescript": "~3.4.0",
"webpack-visualizer-plugin": "^0.1.11"
},
"scripts": {
"lint": "npm run tslint && npm run srclint && npm run demolint && npm run stylelint",
"srclint": "eslint site scripts --ext '.js,.jsx'",
"tslint": "npm run tsc && antd-tools run ts-lint",
"tslint-fix": "antd-tools run ts-lint-fix && npm run compile && rm -rf lib",
"demolint": "cross-env RUN_ENV=DEMO eslint components/*/demo/*.md --ext '.md'",
"stylelint": "stylelint \"{site,components}/**/*.less\" --syntax less",
"stylelint-fix": "stylelint \"{site,components}/**/*.less\" --syntax less --fix",
"eslint-fix": "eslint --fix site scripts ./*.js --ext '.js,.jsx' && eslint-tinker ./components/*/demo/*.md",
"pre-publish": "npm run test:all && node ./scripts/build-less-entry",
"prepublish": "antd-tools run guard",
"prepare": "antd-tools run guard",
"prepublishOnly": "antd-tools run guard",
"test": "jest --config .jest.js",
"test:all": "./scripts/test-all.sh",
"authors": "git log --format='%aN <%aE>' | sort -u | grep -v 'users.noreply.github.com' > AUTHORS.txt",
"dist": "cross-env BABEL_ENV=dist antd-tools run dist",
"compile": "cross-env BABEL_ENV=dist antd-tools run compile",
"watch-tsc": "antd-tools run watch-tsc",
"clean": "antd-tools run clean",
"start": "cross-env NODE_ENV=development concurrently \"cross-env DEMO_ENV=react bisheng start -c ./site/bisheng.desktop.config.js\" \"cross-env DEMO_ENV=preact bisheng start -c ./site/bisheng.kitchen.config.js\"",
"start-hd": "cross-env NODE_ENV=development concurrently \"cross-env DEMO_ENV=react bisheng start -c ./site/bisheng.desktop.config.js\" \"cross-env DEMO_ENV=preact HD_ENV=hd bisheng start -c ./site/bisheng.kitchen.config.js\"",
"start-prod": "cross-env NODE_ENV=production concurrently \"cross-env DEMO_ENV=react bisheng start -c ./site/bisheng.desktop.config.js\" \"cross-env DEMO_ENV=preact bisheng start -c ./site/bisheng.kitchen.config.js\"",
"site": "cross-env NODE_ENV=production concurrently \"cross-env DEMO_ENV=react bisheng build -c ./site/bisheng.desktop.config.js\" \"cross-env DEMO_ENV=preact bisheng build -c ./site/bisheng.kitchen.config.js\"",
"site-cdn": "cdn-tools run -c ./scripts/cdn-config.js",
"analysis": "npm run dist && node ./scripts/analysis",
"deploy": "npm run clean && npm run site && cp CNAME _site && bisheng gh-pages --push-only",
"pub": "cross-env BABEL_ENV=dist antd-tools run pub --skip-tag",
"lint-staged": "lint-staged",
"lint-staged:ts": "npm run tsc && node node_modules/tslint/bin/tslint -c node_modules/antd-tools/lib/tslint.json components/**/*.tsx",
"lint-staged:es": "eslint ./.eslintrc.js ./webpack.config.js",
"lint-staged:demo": "cross-env RUN_ENV=DEMO eslint --ext '.md'",
"tsc": "antd-tools run tsc"
},
"lint-staged": {
"components/**/*.tsx": [
"npm run lint-staged:ts"
],
"{tests,site,scripts,components}/**/*.{js,jsx}": [
"npm run lint-staged:es"
],
"{site,components}/**/*.less": "stylelint --syntax less",
"components/*/demo/*.md": [
"npm run lint-staged:demo"
]
},
"typings": "lib/index.d.ts",
"pre-commit": [
"lint-staged"
]
}