-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
120 lines (120 loc) · 3.73 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
{
"name": "open311-web-public",
"version": "0.1.0",
"description": "Public website for open311-api",
"main": "src/index.js",
"license": "MIT",
"dependencies": {
"body-parser": "^1.17.2",
"classnames": "^2.2.5",
"echarts": "^4.0.4",
"echarts-for-react": "^2.0.8",
"express": "^4.15.3",
"font-awesome": "^4.7.0",
"history": "^4.7.2",
"http-proxy-middleware": "^0.17.4",
"leaflet": "^1.2.0",
"moment": "^2.21.0",
"object-assign": "^4.1.1",
"promise": "^8.0.1",
"prop-types": "^15.6.0",
"react": "^16.3.2",
"react-addons-shallow-compare": "^15.6.2",
"react-dates": "^15.0.0",
"react-dom": "^16.3.2",
"react-images": "^0.5.17",
"react-leaflet": "^1.7.0",
"react-moment": "^0.6.5",
"react-redux": "^5.0.6",
"react-router": "^4.2.0",
"react-router-dom": "^4.2.2",
"react-router-hash-link": "^1.1.1",
"react-router-redux": "^5.0.0-alpha.8",
"react-select": "^1.0.0-rc.10",
"react-simple-dropdown": "^3.2.0",
"reactjs-popup": "^1.1.1",
"redux": "^3.7.2",
"redux-thunk": "^2.2.0",
"whatwg-fetch": "^2.0.3"
},
"devDependencies": {
"@storybook/addon-actions": "^3.2.12",
"@storybook/addon-info": "^3.3.8",
"@storybook/addon-links": "^3.2.12",
"@storybook/react": "^3.2.12",
"autoprefixer": "^7.1.2",
"babel-core": "^6.25.0",
"babel-jest": "^20.0.3",
"babel-loader": "^7.0.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.5.2",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"css-loader": "^0.28.4",
"css-mqpacker": "^6.0.1",
"cssnano": "^3.10.0",
"enzyme": "^3.0.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^4.19.1",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-loader": "^1.9.0",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-react": "^7.1.0",
"extract-text-webpack-plugin": "^2.1.2",
"faker": "^4.1.0",
"file-loader": "^0.11.2",
"identity-obj-proxy": "^3.0.0",
"isomorphic-style-loader": "^4.0.0",
"jest": "^20.0.4",
"node-sass": "^4.5.3",
"postcss-flexbugs-fixes": "^3.2.0",
"postcss-loader": "^2.0.6",
"postcss-modules-values": "^1.3.0",
"react-hot-loader": "^3.0.0-beta.7",
"react-test-renderer": "^15.6.1",
"redux-mock-store": "^1.3.0",
"sass-loader": "^6.0.6",
"style-loader": "^0.18.2",
"url-loader": "^0.5.9",
"webpack": "^2.6.1",
"webpack-dev-middleware": "^1.12.0",
"webpack-dev-server": "^3.1.3",
"webpack-hot-middleware": "^2.18.2",
"webpack-hot-server-middleware": "^0.1.0"
},
"scripts": {
"start": "node production.js",
"dev": "node development.js",
"build": "NODE_ENV=production webpack --config config/webpack.config.prod.js --progress --profile --colors",
"predev": "rm -rf public/dist",
"test": "jest",
"storybook": "node storybook-server.js",
"build-storybook": "build-storybook"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com:CodeTanzania/open311-web-public.git"
},
"jest": {
"roots": [
"<rootDir>/src"
],
"testEnvironment": "node",
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.js?(x)",
"<rootDir>/src/**/?(*.)(spec|test).js?(x)"
],
"setupFiles": [
"<rootDir>/config/polyfills.js",
"<rootDir>/src/setupTests.js"
],
"moduleNameMapper": {
"^.+\\.(css|scss)$": "identity-obj-proxy",
"^.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/config/jest/fileMock.js"
},
"transform": {
"^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
}
}
}