-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
173 lines (173 loc) · 5.59 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
{
"name": "@olasearch/core",
"version": "3.9.7",
"description": "OlaSearch is a fully customisable front-end search interface that brings your information collection to life.",
"main": "lib/index.js",
"scripts": {
"clean": "rimraf dist lib",
"watch": "BABEL_ENV=production babel --watch src --out-dir lib",
"watch:style": "BABEL_ENV=production babel --watch src/components/InfiniteScroll/*.js --out-dir lib/",
"build": "BABEL_ENV=production babel src --out-dir lib",
"release": "cross-env NODE_ENV=production webpack --config webpack.release.js --json > stats.json && npm run polyfill && gulp",
"polyfill": "cross-env NODE_ENV=production webpack --config webpack.polyfill.js",
"lint": "eslint src",
"nyc": "nyc npm run test",
"test": "jest",
"test:middleware": "NODE_ENV=production jest --watch __tests__/middleware",
"test:watch": "npm run test -- --watch",
"coverage": "cross-env BABEL_ENV=production babel-node $(npm bin)/isparta cover $(npm bin)/_mocha -- --recursive",
"deploy": "s3-deploy './dist/olasearch.core.min.latest.js' './dist/olasearch.init.min.js' './dist/olasearch.init.client_demo.min.js' --cwd './dist/' --region ap-southeast-1 --bucket configs.olasearch.com/assets/js --cache 604800,public && s3-deploy './dist/olasearch.core.min.css' './dist/olasearch.core.client_demo.min.css' --cwd './dist/' --region ap-southeast-1 --bucket configs.olasearch.com/assets/css --cache 604800,public",
"cdn:invalidate": "cf-invalidate E1MMHSLEW3SZPY /assets/*",
"docs": "styleguidist server",
"docs:build": "styleguidist build",
"prettier-standard": "prettier-standard 'src/**/!(polyfill)*.js'",
"prettier": "yarn prettier-standard && git add src/ && git status",
"push": "git push origin master --tags && git push github master --tags"
},
"prettier": {
"semi": false
},
"engines": {
"node": ">=8.0.0",
"npm": ">=3"
},
"repository": {
"type": "git",
"url": "://gitlab.com/olasearch/olasearch-core.git"
},
"keywords": [
"olasearch"
],
"author": "Vinay M <[email protected]> (http://gitlab.com/olasearch)",
"license": "Copyright 2016-2017 Ola Search Pte Ltd",
"bugs": {
"url": "https://gitlab.com/olasearch/olasearch-core/issues"
},
"homepage": "https://gitlab.com/olasearch/olasearch-core",
"standard": {
"parser": "babel-eslint",
"ignore": [
"/test",
"/lib",
"/src/polyfill.js",
"/node_modules"
]
},
"nyc": {
"exclude": [
"**/*.spec.js",
".*.js",
"*setup.js"
]
},
"jest": {
"moduleNameMapper": {
"\\.(jpg|jpeg|png|svg|css|scss)$": "<rootDir>/__tests__/filemock.js"
},
"setupTestFrameworkScriptFile": "<rootDir>/__tests__/setup.js",
"collectCoverage": false,
"collectCoverageFrom": [
"**/src/**"
],
"testEnvironment": "jsdom",
"testMatch": [
"**/*.spec.js"
],
"testURL": "http://localhost/"
},
"devDependencies": {
"@olasearch/logger": "^1.4.1",
"@olasearch/solr-adapter": "^2.0.4",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.5",
"babel-jest": "^23.2.0",
"babel-loader": "^7.1.4",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-flow": "^6.23.0",
"babel-preset-olasearch": "^1.0.4",
"babel-preset-react-hmre": "^1.1.1",
"babel-register": "^6.26.0",
"chokidar": "^2.0.4",
"cloudfront-invalidate-cli": "^1.4.0",
"cross-env": "^5.2.0",
"css-loader": "^0.28.11",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^4.19.1",
"eslint-plugin-babel": "^5.1.0",
"eslint-plugin-react": "^7.10.0",
"expect": "^23.2.0",
"expose-loader": "^0.7.5",
"express": "^4.16.3",
"flow-bin": "^0.75.0",
"gulp": "^3.9.1",
"gulp-clean": "^0.4.0",
"gulp-concat": "^2.6.1",
"isparta": "^4.0.0",
"jest": "^23.2.0",
"jsdom": "^11.11.0",
"node-sass": "^4.9.0",
"nyc": "^12.0.2",
"pre-commit": "^1.2.2",
"prettier-standard": "^8.0.1",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"react-redux": "^5.0.7",
"react-styleguidist": "^7.0.19",
"react-test-renderer": "^16.4.1",
"redux": "^4.0.0",
"retire": "^1.6.1",
"rimraf": "^2.6.2",
"s3-deploy": "^1.1.0",
"sass-loader": "^7.0.3",
"snazzy": "^7.1.1",
"standard": "^11.0.1",
"style-loader": "^0.21.0",
"uglifyjs-webpack-plugin": "^1.2.7",
"webpack": "^4.12.2",
"webpack-bundle-size-analyzer": "^2.7.0",
"webpack-cli": "^3.0.8",
"webpack-dev-middleware": "^3.1.3",
"webpack-hot-middleware": "^2.22.2"
},
"peerDependencies": {
"react": ">=16.3.0",
"react-dom": ">=16.3.0",
"react-redux": "^5.0.7",
"redux": "^4.0.0",
"redux-thunk": "^2.2.0"
},
"dependencies": {
"@olasearch/alite": "^1.0.5",
"@olasearch/icons": "^1.0.2",
"@olasearch/react-onclickoutside": "^6.7.3",
"@olasearch/styled-jsx": "^2.2.7",
"babel-runtime": "^6.26.0",
"classnames": "^2.2.6",
"core-js": "^2.5.7",
"dom-scroll-into-view": "^1.2.1",
"fecha": "^2.3.3",
"hoist-non-react-statics": "^2.5.5",
"ismobilejs": "^0.4.1",
"nouislider": "^11.1.0",
"prop-types": "^15.6.2",
"query-string": "^5.1.1",
"ramda": "^0.25.0",
"react-async-load-script": "^1.0.7",
"react-line-progress": "^1.0.3",
"react-list": "^0.8.10",
"react-loadable": "^5.4.0",
"react-pikaday-datepicker": "^3.0.1",
"react-redux": "^5.0.7",
"redux": "^4.0.0",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.3.0",
"xss-filters": "^1.2.7"
},
"pre-commit": [
"test",
"prettier",
"lint"
]
}