-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
133 lines (133 loc) · 5.42 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
129
130
131
132
133
{
"name": "react-jalaali-dates",
"version": "0.0.0-development",
"description": "A responsive and accessible date range picker component built with React with support for Jalaali Calendar based on amazing 'react-dates' by airbnb",
"main": "index.js",
"scripts": {
"build": "npm run clean && npm run build:js && npm run build:css && npm run build:svg",
"build:js": "babel src/ -d lib/ --ignore src/components",
"build:css": "node-sass css/styles.scss lib/css/_datepicker.css",
"build:svg": "webpack",
"clean": "rimraf lib",
"commit": "git-cz",
"cover": "npm run cover:clean && npm run cover:mocha && npm run cover:check",
"cover:clean": "rimraf coverage",
"cover:check": "babel-node ./node_modules/istanbul/lib/cli check-coverage",
"cover:mocha": "babel-node ./node_modules/istanbul/lib/cli cover node_modules/mocha/bin/_mocha -- --compilers js:babel-register,jsx:babel-register --require airbnb-js-shims --recursive ./test/_helpers test/**/*",
"lint": "eslint --ext .js,.jsx src test",
"mocha": "mocha --compilers js:babel-register,jsx:babel-register --require airbnb-js-shims --recursive ./test/_helpers",
"pretest": "npm run --silent lint",
"tests-only": "$NODE_DEBUG_OPTION npm run mocha -R --silent test",
"tests-karma": "karma start",
"test": "npm run tests-karma",
"storybook": "start-storybook -p 9001 -s ./public",
"tag": "git tag v$npm_package_version",
"gh-pages:clean": "rimraf _gh-pages",
"gh-pages:build": "$(npm bin)/build-storybook -o _gh-pages",
"gh-pages:copy-public": "cp public/* _gh-pages/$1",
"gh-pages:publish": "$(npm bin)/git-directory-deploy --directory _gh-pages",
"gh-pages": "npm run gh-pages:clean && npm run gh-pages:build && npm run gh-pages:copy-public && npm run gh-pages:publish",
"version:patch": "npm --no-git-tag-version version patch",
"version:minor": "npm --no-git-tag-version version minor",
"version:major": "npm --no-git-tag-version version major",
"preversion": "npm run test && npm run check-changelog && npm run check-only-changelog-changed",
"postversion": "git commit package.json CHANGELOG.md -m \"Version $npm_package_version\" && npm run tag && git push && git push --tags && npm publish --registry=https://registry.npmjs.org/",
"prepublish": "in-publish && safe-publish-latest && npm run build || not-in-publish",
"postpublish": "npm run gh-pages",
"check-changelog": "expr $(git status --porcelain 2>/dev/null| grep \"^\\s*M.*CHANGELOG.md\" | wc -l) >/dev/null || (echo 'Please edit CHANGELOG.md' && exit 1)",
"check-only-changelog-changed": "(expr $(git status --porcelain 2>/dev/null| grep -v \"CHANGELOG.md\" | wc -l) >/dev/null && echo 'Only CHANGELOG.md may have uncommitted changes' && exit 1) || exit 0",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"repository": {
"type": "git",
"url": "https://github.com/thg303/react-jalaali-dates.git"
},
"author": "Ali Ghanavatian <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/thg303/react-jalaali-dates/issues"
},
"homepage": "https://github.com/thg303/react-jalaali-dates/react-jalaali-dates#readme",
"devDependencies": {
"@kadira/react-storybook-addon-info": "^3.3.0",
"@kadira/storybook": "^2.35.3",
"airbnb-js-shims": "^1.0.1",
"babel-cli": "^6.22.2",
"babel-core": "^6.22.1",
"babel-loader": "^6.2.10",
"babel-plugin-syntax-jsx": "^6.18.0",
"babel-preset-airbnb": "^2.2.0",
"babel-register": "^6.22.0",
"chai": "^3.5.0",
"commitizen": "^2.9.6",
"coveralls": "^2.11.15",
"cz-conventional-changelog": "^1.2.0",
"enzyme": "^2.7.1",
"eslint": "^3.15.0",
"eslint-config-airbnb": "^14.1.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^4.0.0",
"eslint-plugin-react": "^6.9.0",
"git-directory-deploy": "^1.5.1",
"imports-loader": "^0.6.5",
"in-publish": "^2.0.0",
"istanbul": "^1.1.0-alpha.1",
"json-loader": "^0.5.4",
"karma": "^1.5.0",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^2.0.0",
"karma-firefox-launcher": "^1.0.0",
"karma-mocha": "^1.3.0",
"karma-sinon": "^1.0.5",
"karma-webpack": "^2.0.1",
"keytar": "^3.0.2",
"mocha": "^3.2.0",
"mocha-wrap": "^2.1.0",
"moment": "^2.17.1",
"node-sass": "^4.4.0",
"raw-loader": "^0.5.1",
"react": "^15.4.2",
"react-addons-shallow-compare": "^15.4.2",
"react-addons-test-utils": "^15.4.2",
"react-dom": "^15.4.2",
"react-svg-loader": "^1.1.1",
"rimraf": "^2.5.4",
"safe-publish-latest": "^1.1.1",
"sass-loader": "^4.1.1",
"semantic-release": "^6.3.2",
"sinon": "^1.17.7",
"sinon-sandbox": "^1.0.2",
"style-loader": "^0.13.1",
"webpack": "^1.14.0"
},
"dependencies": {
"airbnb-prop-types": "^2.1.0",
"array-includes": "^3.0.2",
"classnames": "^2.2.5",
"consolidated-events": "^1.0.1",
"moment-jalaali": "^0.6.0",
"react-moment-proptypes": "^1.2.1",
"react-portal": "^3.0.0"
},
"peerDependencies": {
"moment": "2.10 - 2.14 || ^2.15.1",
"react": ">=0.14",
"react-dom": ">=0.14",
"react-addons-shallow-compare": ">=0.14"
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"directories": {
"example": "examples",
"test": "test"
},
"keywords": [
"react-jalaali-dates",
"jalaali",
"date",
"picker"
]
}