forked from ZhongAnTech/zarm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
153 lines (153 loc) · 5.54 KB
/
Copy pathpackage.json
File metadata and controls
153 lines (153 loc) · 5.54 KB
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
{
"name": "zarm",
"version": "1.2.0-beta.32",
"description": "基于 React 的移动端UI库",
"tags": [
"zarm",
"zarm-ui",
"react",
"react-zarm",
"zhongan"
],
"keywords": [
"react",
"react-ui",
"react-component",
"zarm",
"zarm-ui",
"zarm-mobile",
"component",
"components",
"ui",
"framework",
"frontend",
"mobile"
],
"license": "MIT",
"repository": "git://github.com/ZhonganTechENG/zarm",
"bugs": {
"url": "https://github.com/ZhonganTechENG/zarm/issues"
},
"module": "es/index.js",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"scripts": {
"start": "npm run deploy && npm run dev",
"clean": "rm -rf lib es dist assets coverage .temp",
"clean:rn": "git clean -dxf -e node_modules",
"dev": "webpack-dev-server --config scripts/webpack/config.dev.js",
"rn-start": "node node_modules/react-native/local-cli/cli.js start",
"rn-watch": "tsc --module es6 --jsx react-native --w",
"ios": "concurrently \"npm run rn-watch\" \"node node_modules/react-native/local-cli/cli.js run-ios --project-path examples-rn/ios\" \"npm run rn-start\"",
"android": "concurrently \"npm run rn-watch\" \"node node_modules/react-native/local-cli/cli.js run-android --root examples-rn\" \"npm run rn-start\"",
"build:es": "tsc --outDir es -d --module es6",
"build:lib": "tsc --outDir lib -d && tsc --outDir .temp --jsx preserve && babel .temp --out-dir lib --presets=env,react,stage-2 && rm -rf .temp",
"build:umd": "webpack --config scripts/webpack/config.umd.js && cross-env NODE_ENV=production webpack --config scripts/webpack/config.umd.js",
"build:css": "cd scripts/gulp && gulp",
"build": "npm run clean && npm run build:lib && npm run build:es && npm run build:umd && npm run build:css",
"site:build": "rm -rf assets && webpack --config scripts/webpack/config.site.js",
"site": "npm run site:build && gh-pages -d assets",
"lint:ts": "tslint 'components/**/*.{ts,tsx}'",
"lint:js": "eslint --ext '.js,.jsx' examples examples-rn",
"lint:style": "stylelint --syntax scss components/**/*.scss components/**/**/*.scss examples/styles/**/*.scss",
"lint": "npm run lint:ts && npm run lint:js && npm run lint:style",
"test": "export TZ=America/New_York; jest --config scripts/jest/config.web.js --coverage",
"coverage": "cat ./coverage/lcov.info | coveralls",
"docs": "cd docs && gitbook install && gitbook serve",
"authors": "git log --format='%aN <%aE>' | sort -u | grep -v 'users.noreply.github.com' > AUTHORS",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"precommit": "lint-staged",
"commitmsg": "commitlint -e $GIT_PARAMS"
},
"peerDependencies": {
"react": ">=16.0.0",
"react-dom": ">=16.0.0"
},
"dependencies": {
"better-scroll": "^1.8.0",
"classnames": "^2.2.5",
"normalize.css": "^7.0.0",
"react-native-camera-roll-picker": "^1.2.3"
},
"devDependencies": {
"@commitlint/cli": "^6.2.0",
"@commitlint/config-conventional": "^6.1.3",
"@types/classnames": "^2.2.3",
"@types/enzyme-to-json": "^1.5.0",
"@types/jest": "^21.1.5",
"@types/react": "16.4.2",
"@types/react-dom": "^16.0.0",
"@types/react-native": "^0.51.9",
"autoprefixer": "^6.7.7",
"awesome-typescript-loader": "^5.0.0",
"babel-cli": "^6.24.1",
"babel-core": "^6.24.1",
"babel-eslint": "^8.0.1",
"babel-jest": "^20.0.3",
"babel-loader": "^7.0.0",
"babel-plugin-import": "^1.6.2",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.0",
"babel-preset-react": "^6.24.1",
"babel-preset-react-hmre": "^1.1.1",
"babel-preset-react-native": "^4.0.0",
"babel-preset-stage-2": "^6.24.1",
"babel-runtime": "^6.23.0",
"concurrently": "^3.5.1",
"conventional-changelog-cli": "^1.3.22",
"core-js": "^2.5.1",
"coveralls": "^2.13.1",
"cross-env": "^5.1.3",
"css-loader": "^0.28.1",
"enzyme": "^3.1.0",
"enzyme-adapter-react-16": "^1.0.3",
"enzyme-to-json": "^3.2.0",
"eslint": "^4.19.1",
"eslint-config-za": "^1.0.0",
"eslint-plugin-import": "^2.11.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.7.0",
"fastclick": "^1.0.6",
"file-loader": "^1.1.11",
"gh-pages": "^1.0.0",
"gulp": "^3.9.1",
"history": "^4.7.2",
"html-webpack-plugin": "^3.2.0",
"husky": "^0.14.3",
"jest": "^21.2.1",
"lint-staged": "^4.3.0",
"mini-css-extract-plugin": "^0.4.0",
"node-sass": "^4.5.2",
"optimize-css-assets-webpack-plugin": "^4.0.2",
"postcss-loader": "^2.1.5",
"prop-types": "^15.5.10",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-native": "^0.52.0",
"react-navigation": "^1.0.0-beta.23",
"react-router-dom": "^4.2.2",
"react-test-renderer": "^16.2.0",
"react-transition-group": "^2.2.1",
"sass-loader": "^6.0.3",
"style-loader": "^0.18.2",
"stylelint": "^7.12.0",
"stylelint-config-standard": "^16.0.0",
"ts-jest": "^20.0.14",
"tslint": "^5.9.1",
"tslint-eslint-rules": "^5.1.0",
"tslint-react": "^3.2.0",
"typescript": "2.8.4",
"uglifyjs-webpack-plugin": "^1.2.5",
"url-loader": "^1.0.1",
"webpack": "^4.8.3",
"webpack-bundle-analyzer": "^2.9.0",
"webpack-cli": "^2.1.3",
"webpack-dev-server": "^3.1.4"
},
"lint-staged": {
"components/**/*.{ts,tsx}": "tslint",
"{components,examples,examples-rn}/**/*.{js,jsx}": "eslint",
"{styles,examples}/**/*.scss": "stylelint"
}
}