forked from alibaba/rax
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
128 lines (128 loc) · 3.95 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
{
"private": true,
"devEngines": {
"node": "4.x || 5.x || 6.x || 7.x",
"npm": "3.x || 4.x"
},
"devDependencies": {
"babel-core": "^6.17.0",
"babel-eslint": "^7.1.0",
"babel-jest": "^18.0.0",
"babel-loader": "^6.2.5",
"babel-preset-es2015": "^6.16.0",
"babel-preset-rax": "^0.3.2",
"chalk": "^1.1.3",
"chokidar": "^1.6.1",
"codecov": "^1.0.1",
"conventional-commit-types": "^2.1.0",
"cz-conventional-changelog": "^1.2.0",
"eslint": "^3.9.1",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-react": "^6.6.0",
"findup": "^0.1.5",
"ghooks": "^1.3.2",
"glob": "^7.1.1",
"image-size": "^0.5.1",
"istanbul-api": "^1.0.0-aplha.10",
"istanbul-lib-coverage": "^1.0.0",
"jest": "^18.1.0",
"lerna": "2.0.0-beta.37",
"minimatch": "^3.0.3",
"minimist": "^1.2.0",
"rax-webpack-plugin": "^0.3.2",
"redux": "^3.6.0",
"rimraf": "^2.5.4",
"semver-regex": "^1.0.0",
"uppercamelcase": "^1.1.0",
"webpack": "^2.2.1",
"webpack-dev-server": "^2.3.0"
},
"peerDependencies": {
"redux": "latest",
"rax": "latest",
"rax-components": "latest",
"rax-view": "latest",
"rax-canvas": "latest",
"rax-charts": "latest",
"rax-text": "latest",
"rax-icon": "latest",
"rax-image": "latest",
"rax-slider": "latest",
"rax-countdown": "latest",
"rax-navigation": "latest",
"rax-animated": "latest",
"rax-modal": "latest",
"rax-touchable": "latest",
"rax-button": "latest",
"rax-calendar": "latest",
"rax-gotop": "latest",
"rax-link": "latest",
"rax-grid": "latest",
"rax-multirow": "latest",
"rax-picture": "latest",
"rax-redux": "latest",
"rax-player": "latest",
"rax-scrollview": "latest",
"rax-recyclerview": "latest",
"rax-switch": "latest",
"rax-tabbar": "latest",
"rax-tabheader": "latest",
"rax-textinput": "latest",
"universal-env": "latest",
"universal-easing": "latest",
"universal-jsonp": "latest",
"universal-panresponder": "latest",
"universal-perf": "latest",
"universal-platform": "latest",
"universal-stylesheet": "latest",
"universal-toast": "latest",
"universal-transition": "latest"
},
"scripts": {
"link": "node ./scripts/link.js && npm run build:compile && npm run build:dist",
"bootstrap": "lerna bootstrap",
"setup": "npm run bootstrap && npm run link",
"build:theme": "node ./scripts/build-theme.js",
"build:compile": "npm run clean:compile && node ./scripts/compile.js",
"build:dist": "npm run clean:dist && node ./scripts/dist.js",
"build:examples": "node ./scripts/build-examples.js",
"build": "npm run build:compile && npm run build:dist && npm run build:examples && npm run build:theme",
"watch:compile": "node ./scripts/compile.js --watch",
"test": "jest",
"start": "npm run build:compile && node ./scripts/start.js",
"lint": "npm run lint:nofix -- --fix",
"lint:nofix": "eslint --ext .js --ext .jsx ./",
"coverage": "npm run test -- --coverage",
"coverage:upload": "npm run clean:coverage && npm run coverage && node ./scripts/mapCoverage.js && codecov",
"publish": "node ./scripts/publish.js",
"clean:dist": "rm -rf ./packages/*/dist",
"clean:compile": "rm -rf ./packages/*/lib",
"clean:coverage": "rm -rf ./coverage",
"clean:modules": "rm -rf ./packages/*/node_modules",
"clean": "npm run clean:modules & npm run clean:compile & npm run clean:dist & npm run clean:coverage",
"clear": "git clean -xfd"
},
"jest": {
"collectCoverage": true,
"verbose": true,
"setupFiles": [
"./scripts/jest.js"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/fixtures/",
"/__modules__/",
"/__files__/",
"/lib/",
"/dist/"
]
},
"config": {
"ghooks": {
"commit-msg": "./scripts/validate-commit-msg.js"
},
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}