-
Notifications
You must be signed in to change notification settings - Fork 98
/
package.json
46 lines (46 loc) · 1.26 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
{
"name": "fex-swiper",
"version": "1.0.5",
"description": "a H5 swiper powered by FEX",
"main": "dist/swiper.umd.js",
"style": "dist/swiper.css",
"types": "dist/types/swiper.d.ts",
"repository": "http://github.com/fex-team/swiper",
"scripts": {
"build": "rm -rf dist && webpack",
"dev": "webpack --watch",
"test": "jest",
"coveralls": "cat ./__coverage__/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
},
"jest": {
"transform": {
".ts": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"moduleNameMapper": {
"\\.css$": "<rootDir>/tests/__mocks__/styleMock.ts"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|js)$",
"collectCoverage": true,
"mapCoverage": true,
"collectCoverageFrom" : ["src/**/*.ts"],
"coverageDirectory": "__coverage__",
"moduleFileExtensions": [
"ts",
"js"
]
},
"author": "zhangbobell <[email protected]>",
"license": "MIT",
"devDependencies": {
"@types/jest": "^20.0.2",
"coveralls": "^2.13.1",
"css-loader": "^0.28.4",
"extract-text-webpack-plugin": "^2.1.2",
"jest": "^20.0.4",
"style-loader": "^0.18.2",
"ts-jest": "^20.0.6",
"ts-loader": "^2.2.0",
"typescript": "^2.3.4",
"webpack": "^3.0.0"
}
}