forked from gpbl/react-day-picker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
125 lines (125 loc) · 4.25 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
{
"name": "react-day-picker",
"version": "5.5.0",
"description": "Flexible date picker component for React",
"main": "DayPicker.js",
"style": "lib/style.css",
"types": "./types/index.d.ts",
"files": [
"DayPicker.js",
"lib",
"moment.js",
"utils.js",
"types/index.d.ts"
],
"directories": {
"doc": "docs"
},
"scripts": {
"clean": "rimraf coverage lib",
"lint": "eslint src test",
"dtslint": "dtslint types",
"prettify": "prettier --write --single-quote --trailing-comma=\"es5\" \"{src,test,examples/src}/**/*.js\"",
"precommit": "lint-staged",
"test": "mocha --compilers js:babel-core/register --require ./test/setup.js --recursive",
"test:watch": "npm test -- --watch",
"test:files": "mocha --compilers js:babel-core/register --require ./test/setup.js --reporter spec --bail --watch",
"cover": "babel-node ./node_modules/istanbul/lib/cli cover -- _mocha --recursive",
"check": "npm run lint && npm run dtslint && npm run test",
"prerelease": "npm run check && npm run build",
"build": "npm run build:node && npm run build:production && npm run build:development",
"build:node": "babel ./src -d ./lib/src --source-maps && npm run build:css",
"build:development": "NODE_ENV=development webpack",
"build:production": "NODE_ENV=production webpack -p",
"build:css": "postcss src/style.css --use autoprefixer -d lib/ --no-map",
"examples:clean": "rimraf examples/built",
"examples:build": "npm run examples:clean && cd examples && npm run build && cd ..",
"docs:clean": "rimraf _book",
"docs:prepare": "gitbook install",
"docs:build": "npm run docs:prepare && gitbook build",
"docs:serve": "gitbook serve",
"docs:publish": "npm run docs:clean && npm run docs:build && npm run examples:build && rimraf _book/examples && mv examples/built _book/examples && cd _book && ECHO react-day-picker.js.org > CNAME && git init && git commit --allow-empty -m 'Update docs and examples' && git checkout -b gh-pages && touch .nojekyll && git add . && git commit -am 'Update docs and examples' && git push [email protected]:gpbl/react-day-picker gh-pages --force",
"coveralls": "coveralls < ./coverage/lcov.info",
"codeclimate": "codeclimate-test-reporter < ./coverage/lcov.info"
},
"repository": {
"type": "git",
"url": "https://github.com/gpbl/react-day-picker.git"
},
"keywords": [
"react",
"react-component",
"component",
"calendar",
"date-picker",
"datepicker",
"date",
"picker",
"moment",
"momentjs"
],
"author": "Giampaolo Bellavite <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/gpbl/react-day-picker/issues"
},
"homepage": "https://react-day-picker.js.org",
"peerDependencies": {
"react": "~0.13.x || ~0.14.x || ^15.0.0"
},
"devDependencies": {
"@types/react": "^15.0.23",
"autoprefixer": "7.0.0",
"babel-cli": "6.24.1",
"babel-core": "6.24.1",
"babel-eslint": "7.2.3",
"babel-loader": "7.0.0",
"babel-preset-es2015": "6.24.1",
"babel-preset-react": "6.24.1",
"babel-preset-stage-1": "6.24.1",
"chai": "3.5.0",
"chai-enzyme": "0.6.1",
"cheerio": "0.22.0",
"coveralls": "2.13.1",
"codeclimate-test-reporter": "^0.4.1",
"dtslint": "^0.1.2",
"enzyme": "2.8.2",
"eslint": "3.19.0",
"eslint-config-airbnb": "14.1.0",
"eslint-config-prettier": "2.0.0",
"eslint-plugin-import": "2.2.0",
"eslint-plugin-jsx-a11y": "4.0.0",
"eslint-plugin-react": "7.0.0",
"gitbook-cli": "2.3.0",
"husky": "0.13.3",
"istanbul": "1.1.0-alpha.1",
"jsdom": "10.1.0",
"lint-staged": "3.4.1",
"mocha": "3.3.0",
"mocha-circleci-reporter": "^0.0.2",
"mocha-junit-reporter": "^1.13.0",
"moment": "2.18.1",
"postcss-cli": "4.0.0",
"prettier": "1.3.1",
"react": "15.5.4",
"react-addons-test-utils": "15.5.1",
"react-dom": "15.5.4",
"react-hot-loader": "3.0.0-beta.6",
"react-test-renderer": "15.5.4",
"rimraf": "2.6.1",
"sinon": "2.2.0",
"sinon-chai": "2.10.0",
"typescript": "^2.2.2",
"webpack": "2.5.1"
},
"dependencies": {
"prop-types": "^15.5.8"
},
"precommit": "lint-staged",
"lint-staged": {
"*.js": [
"npm run prettify",
"git add"
]
}
}