-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
100 lines (100 loc) · 3.18 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
{
"name": "voter-engagement",
"version": "0.0.1",
"description": "An app to improve voter turnout",
"author": "Citizen Labs",
"homepage": "http://vote.citizenlabs.com",
"license": "MIT",
"repository": "https://github.com/citizenlabsgr/voter-engagement",
"scripts": {
"build-dev": "webpack --display-error-details --config web_client/build_scripts/webpack.config.dev.js",
"build": "webpack --display-error-details --config web_client/build_scripts/webpack.config.prod.js",
"watch": "webpack --watch --config web_client/build_scripts/webpack.config.dev.js",
"generate": "plop --plopfile web_client/build_scripts/plopfile.js",
"start": "webpack-dev-server --config web_client/build_scripts/webpack.config.dev.js --progress --colors",
"test": "jest"
},
"dependencies": {
"dashify": "^0.2.2",
"es6-promise-polyfill": "^1.2.0",
"font-awesome": "^4.7.0",
"glamor": "^2.20.40",
"history": "^4.6.1",
"immutable": "^3.8.1",
"js-cookie": "^3.0.1",
"mobx": "^3.1.10",
"mobx-react": "^4.2.1",
"moment": "^2.18.1",
"prop-types": "^15.5.8",
"react": "^15.6.1",
"react-document-title": "^2.0.3",
"react-dom": "^15.6.1",
"react-flip-move": "^3.0.1"
},
"devDependencies": {
"@types/actioncable": "^0.0.2",
"@types/enzyme": "^2.7.9",
"@types/history": "^4.5.0",
"@types/jest": "^22.2.0",
"@types/js-cookie": "^3.0.3",
"@types/prop-types": "^15.5.1",
"@types/react": "^16.0.10",
"@types/react-addons-test-utils": "^0.14.15",
"@types/react-dom": "^15.5.4",
"@types/react-hot-loader": "^3.0.0",
"@types/requirejs": "^2.1.29",
"awesome-typescript-loader": "^3.0.0-beta.9",
"css-loader": "^0.25.0",
"css-to-string-loader": "^0.1.2",
"enzyme": "^2.8.2",
"file-loader": "^0.9.0",
"html-loader": "^0.4.4",
"html-webpack-plugin": "^2.24.1",
"inquirer-directory": "^2.1.0",
"jest": "^20.0.4",
"jest-cli": "^20.0.4",
"plop": "^1.7.2",
"prettier": "1.12.1",
"react-addons-perf": "^15.4.2",
"react-addons-test-utils": "^15.4.1",
"react-hot-loader": "^3.0.0-beta.6",
"react-test-renderer": "^15.5.4",
"source-map-support": "^0.4.6",
"style-loader": "^0.13.1",
"ts-jest": "^20.0.5",
"typescript": "^2.8.3",
"uglify-js": "^3.0.20",
"uglifyjs-webpack-plugin": "^0.4.6",
"webpack": "^2.6.1",
"webpack-dev-middleware": "^5.3.4",
"webpack-dev-server": "^2.5.0",
"webpack-hot-middleware": "^2.13.2"
},
"engines": {
"node": ">= 7.6.0",
"npm": ">= 3"
},
"jest": {
"modulePaths": [
"<rootDir>/web_client/app"
],
"moduleFileExtensions": [
"js",
"jsx",
"ts",
"tsx"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|svg|css)$": "<rootDir>/web_client/build_scripts/jest/fileMock.js",
"\\./history$": "<rootDir>/web_client/app/infrastructure/router/__mocks__/history.ts",
"\\./(.*)-service$": "<rootDir>/web_client/app/models/$1/__mocks__/$1-service.ts"
},
"transform": {
".(ts|tsx)": "<rootDir>/web_client/build_scripts/jest/preprocessor.js"
},
"testRegex": "app/.*\\.spec\\.(ts|tsx)$",
"globals": {
"PRODUCTION": false
}
}
}