1 | {
|
2 | "name": "rmc-calendar",
|
3 | "version": "0.1.8",
|
4 | "description": "React Mobile Calendar Component(web and react-native)",
|
5 | "keywords": [
|
6 | "react",
|
7 | "react-component",
|
8 | "react-m-calendar",
|
9 | "m-calendar"
|
10 | ],
|
11 | "homepage": "https://github.com/react-component/m-calendar",
|
12 | "repository": {
|
13 | "type": "git",
|
14 | "url": "https://github.com/react-component/m-calendar.git"
|
15 | },
|
16 | "bugs": {
|
17 | "url": "https://github.com/react-component/m-calendar/issues"
|
18 | },
|
19 | "files": [
|
20 | "lib",
|
21 | "es",
|
22 | "assets/*.css"
|
23 | ],
|
24 | "licenses": "MIT",
|
25 | "main": "./lib/index",
|
26 | "module": "./es/index",
|
27 | "config": {
|
28 | "port": 8021
|
29 | },
|
30 | "scripts": {
|
31 | "watch-tsc": "rc-tools run watch-tsc",
|
32 | "compile": "rc-tools run compile --babel-runtime",
|
33 | "build": "rc-tools run build",
|
34 | "gh-pages": "rc-tools run gh-pages",
|
35 | "start": "rc-tools run server",
|
36 | "pub": "rc-tools run pub --babel-runtime",
|
37 | "lint": "rc-tools run lint --no-js-lint",
|
38 | "rn-start": "node node_modules/react-native/local-cli/cli.js start",
|
39 | "test": "jest",
|
40 | "update-snap": "jest --updateSnapshot",
|
41 | "coverage": "jest --coverage",
|
42 | "coverage:upload": "npm run coverage && cat ./coverage/lcov.info | coveralls"
|
43 | },
|
44 | "jest": {
|
45 | "testMatch": [
|
46 | "**/__tests__/**/*.ts?(x)",
|
47 | "**/?(*.)(spec|test).ts?(x)"
|
48 | ],
|
49 | "coverageDirectory": "./coverage/",
|
50 | "moduleFileExtensions": [
|
51 | "ts",
|
52 | "tsx",
|
53 | "js"
|
54 | ],
|
55 | "collectCoverageFrom": [
|
56 | "src/**/*"
|
57 | ],
|
58 | "transform": {
|
59 | "\\.tsx?$": "./node_modules/rc-tools/scripts/jestPreprocessor.js",
|
60 | "\\.jsx?$": "./node_modules/rc-tools/scripts/jestPreprocessor.js"
|
61 | }
|
62 | },
|
63 | "dependencies": {
|
64 | "babel-runtime": "6.x",
|
65 | "rc-animate": "^2.4.1",
|
66 | "rmc-date-picker": "~6.0.0-alpha.7",
|
67 | "zscroller": "^0.3.1"
|
68 | },
|
69 | "devDependencies": {
|
70 | "@types/jest": "^20.0.7",
|
71 | "jest": "^20.0.4",
|
72 | "enzyme": "^2.9.1",
|
73 | "enzyme-to-json": "^1.5.1",
|
74 | "coveralls": "^2.13.1",
|
75 | "@types/react": "^15.0.27",
|
76 | "@types/react-dom": "^15.5.0",
|
77 | "pre-commit": "1.x",
|
78 | "rc-test": "6.x",
|
79 | "rc-tools": "6.x",
|
80 | "react": "15.5.x",
|
81 | "react-dom": "15.5.x",
|
82 | "react-test-renderer": "^15.5.0",
|
83 | "stylelint-config-standard": "^17.0.0"
|
84 | },
|
85 | "typings": "./lib/index.d.ts",
|
86 | "pre-commit": [
|
87 | "lint"
|
88 | ]
|
89 | }
|