forked from ant-design/ant-design-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
188 lines (188 loc) · 7.6 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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
{
"name": "antd-mobile",
"version": "2.0.0-beta.2",
"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",
"scripts/update-tip.js"
],
"license": "MIT",
"main": "lib/index.js",
"module": "es/index.js",
"dependencies": {
"array-tree-filter": "~1.0.0",
"babel-runtime": "6.x",
"classnames": "^2.2.1",
"normalize.css": "^7.0.0",
"rc-checkbox": "~2.0.0",
"rc-collapse": "~1.7.0",
"rc-drawer": "~0.4.9",
"rc-notification": "~2.0.0",
"rc-slider": "~8.2.0",
"rc-swipeout": "~2.0.0",
"react-native-camera-roll-picker": "~1.2.0",
"react-native-collapsible": "^0.8.0",
"react-native-drawer-layout": "~1.3.0",
"react-native-menu": "~0.21.0",
"rmc-calendar": "^0.1.2",
"rmc-cascader": "~5.0.0-alpha.2",
"rmc-date-picker": "~6.0.0-alpha.7",
"rmc-dialog": "^0.0.1-alpha.4",
"rmc-feedback": "^1.0.0",
"rmc-input-number": "^0.1.5",
"rmc-list-view": "^0.8.4",
"rmc-nuka-carousel": "^3.0.0-alpha.1",
"rmc-picker": "~5.0.0-alpha.6",
"rmc-steps": "~1.0.0",
"rmc-tabs": "~1.2.0",
"rmc-tooltip": "~1.0.0",
"rn-topview": "~0.1.0",
"warning": "^3.0.0"
},
"devDependencies": {
"@types/react": "~16.0.2",
"@types/react-dom": "15.5.1",
"@types/react-native": "^0.47.2",
"@types/classnames": "^2.2.3",
"antd": "2.x",
"antd-mobile-demo-data": "^0.1.1",
"antd-tools": "^2.0.0",
"babel-eslint": "^7.2.3",
"babel-plugin-import": "^1.2.1",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-react-native": "^1.0.0",
"bisheng": "^0.25.0",
"bisheng-plugin-antd": "^0.15.0",
"bisheng-plugin-description": "^0.1.1",
"bisheng-plugin-react": "^0.5.0",
"bisheng-plugin-toc": "^0.4.0",
"concurrently": "^3.4.0",
"cross-env": "^5.0.1",
"dora-plugin-upload": "^0.3.1",
"enquire.js": "^2.1.1",
"enzyme": "^2.7.1",
"enzyme-to-json": "^1.5.0",
"eslint": "^4.3.0",
"eslint-config-airbnb": "latest",
"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.1.0",
"eslint-tinker": "^0.4.1",
"glob": "^7.1.1",
"jest": "^20.0.4",
"jsonml.js": "^0.1.0",
"lesshint": "^4.0.2",
"lint-staged": "^4.0.2",
"lodash.debounce": "^4.0.6",
"mockdate": "^2.0.1",
"pre-commit": "1.x",
"preact": "^8.2.5",
"preact-compat": "^3.17.0",
"qrcode.react": "^0.7.1",
"rc-form": "1.x",
"react": "^15.6.1",
"react-copy-to-clipboard": "^5.0.0",
"react-document-title": "^2.0.1",
"react-dom": "^15.6.1",
"react-github-button": "^0.1.9",
"react-intl": "^2.2.3",
"react-native": "~0.42.0",
"react-native-code-push": "~1.17.4-beta",
"react-native-mock": "^0.3.1",
"react-navigation": "^1.0.0-beta.12",
"react-test-renderer": "^15.4.2",
"stylelint": "^8.0.0",
"stylelint-config-standard": "^17.0.0",
"typescript": "~2.4.0",
"webpack-visualizer-plugin": "^0.1.11"
},
"scripts": {
"lint": "npm run tslint && npm run srclint && npm run demolint && npm run stylelint && npm run applint",
"srclint": "eslint site scripts --ext '.js,.jsx'",
"tslint": "antd-tools run ts-lint && npm run compile && rm -rf lib",
"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",
"applint": "eslint rn-kitchen-sink --ext '.js'",
"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": "npm run test:rn && npm run test:web",
"test:rn": "jest --config .jest.native.js",
"test:web": "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": "BABEL_ENV=dist antd-tools run dist",
"compile": "BABEL_ENV=dist antd-tools run compile && npm run add-tip",
"watch-tsc": "antd-tools run watch-tsc",
"clean": "antd-tools run clean",
"start": "cross-env NODE_ENV=development concurrently \"DEMO_ENV=react bisheng start -c ./site/bisheng.desktop.config.js --no-livereload\" \"DEMO_ENV=preact bisheng start -c ./site/bisheng.kitchen.config.js --no-livereload\"",
"start-prod": "cross-env NODE_ENV=production concurrently \"DEMO_ENV=react bisheng start -c ./site/bisheng.desktop.config.js --no-livereload\" \"DEMO_ENV=preact bisheng start -c ./site/bisheng.kitchen.config.js --no-livereload\"",
"site": "cross-env NODE_ENV=production concurrently \"DEMO_ENV=react bisheng build -c ./site/bisheng.desktop.config.js\" \"DEMO_ENV=preact bisheng build -c ./site/bisheng.kitchen.config.js\" && node scripts/copy-app-res",
"analysis": "npm run dist && node ./scripts/analysis",
"deploy": "npm run clean && npm run site && bisheng gh-pages --push-only",
"pub": "BABEL_ENV=dist antd-tools run pub",
"rn-start": "node node_modules/react-native/local-cli/cli.js start",
"ios": "concurrently \"npm run watch-tsc\" \"npm run _ios\"",
"android": "concurrently \"npm run watch-tsc\" \"npm run _android\"",
"_ios": "node node_modules/react-native/local-cli/cli.js run-ios --project-path rn-kitchen-sink/ios",
"_android": "node node_modules/react-native/local-cli/cli.js run-android --root rn-kitchen-sink",
"build-rn-ios": "node scripts/rn-mkdir && node node_modules/react-native/local-cli/cli.js bundle --platform ios --dev false --entry-file rn-kitchen-sink/index.ios.js --bundle-output rn-kitchen-sink/ios/bundle/index.ios.bundle --assets-dest rn-kitchen-sink/ios/bundle",
"build-rn-android": "node scripts/rn-mkdir && node node_modules/react-native/local-cli/cli.js bundle --platform android --dev false --entry-file rn-kitchen-sink/index.android.js --bundle-output rn-kitchen-sink/android/bundle/index.android.bundle --assets-dest rn-kitchen-sink/android/bundle",
"build-rn": "npm run tsc && npm run build-rn-ios && npm run build-rn-android",
"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",
"hd": "node scripts/rewrite-px.js",
"add-tip": "node scripts/add-tip.js",
"postinstall": "node scripts/update-tip.js"
},
"lint-staged": {
"components/**/*.tsx": [
"lint-staged:ts"
],
"{tests,site,scripts,components}/**/*.{js,jsx}": [
"lint-staged:es"
],
"{site,components}/**/*.less": "stylelint",
"components/*/demo/*.md": [
"lint-staged:demo"
]
},
"config": {
"port": 8001
},
"typings": "lib/index.d.ts",
"pre-commit": [
"lint-staged"
]
}