forked from HULKs/mopad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
119 lines (119 loc) · 3.79 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
{
"private": true,
"name": "mopad-client",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"setup:schema": "apollo-codegen introspect-schema https://api.graph.cool/simple/v1/mopad --output schema.json",
"setup:typings": "apollo-codegen generate './client/src/**/*.{ts,tsx}' --schema schema.json --target typescript --output ./client/mopad-graphql.ts",
"postinstall": "npm run setup:schema && npm run setup:typings",
"build": "webpack --config ./client/webpack.config.js",
"dist": "webpack --config ./client/webpack.config.js --mode=production",
"serve": "webpack-dev-server --config ./client/webpack.config.js",
"prettier": "prettier --write '**/*.{ts,tsx}'",
"prettier:check": "prettier -l '**/*.{ts,tsx}'",
"check": "npm run prettier:check; npm run lint",
"test": "jest --coverage"
},
"author": "Robert Oehlmann, Finn Poppinga",
"license": "MIT",
"dependencies": {
"@material-ui/core": "^3.4.0",
"@material-ui/icons": "^3.0.1",
"apollo-cache-inmemory": "^1.1.1",
"apollo-client": "^2.0.3",
"apollo-link": "^1.0.3",
"apollo-link-http": "^1.2.0",
"bcryptjs": "^2.4.3",
"graphcool-lib": "^0.1.0",
"graphql": "^0.11.7",
"graphql-request": "^1.4.0",
"graphql-tag": "^2.5.0",
"moment": "^2.19.3",
"prop-types": "^15.6.0",
"query-string": "^6.2.0",
"react": "^16.3",
"react-apollo": "^2.0.1",
"react-dom": "^16.3",
"react-intl": "^2.4.0",
"react-router-dom": "^4.2.2",
"validator": "^9.0.0"
},
"devDependencies": {
"@babel/core": "^7.0.0-beta.32",
"@types/bcryptjs": "^2.4.1",
"@types/enzyme": "^3.1.5",
"@types/jest": "^21.1.8",
"@types/node": "^8.0.44",
"@types/prop-types": "^15.5.2",
"@types/query-string": "^6.1.1",
"@types/react": "^16.0",
"@types/react-intl": "^2.3.2",
"@types/react-router": "^4.0.19",
"@types/validator": "^6.3.0",
"apollo-codegen": "0.16.x",
"babel-jest": "^21.2.0",
"babel-node-modules": "^0.0.1",
"babel-preset-es2015": "^6.24.1",
"css-loader": "^1.0.1",
"enzyme": "^3.2.0",
"enzyme-adapter-react-16": "^1.1.0",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"html-webpack-plugin": "^3.2.0",
"jest": "^21.2.1",
"less": "^2.7.3",
"less-loader": "^4.1.0",
"prettier": "^1.15.2",
"style-loader": "^0.23.1",
"ts-jest": "^21.2.3",
"ts-loader": "^5.3.0",
"tslint-config-prettier": "^1.6.0",
"tslint-react": "^3.2.0",
"typescript": "3",
"webpack": "^4.25.1",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.1.10"
},
"prettier": {
"tabWidth": 4
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest",
"^.+\\.js$": "babel-jest"
},
"transformIgnorePatterns": [
"node_modules/(?!(react-apollo)/)"
],
"browser": true,
"globals": {
"ts-jest": {
"tsConfigFile": "client/tsconfig.json",
"useBabelrc": true
}
},
"testRegex": "(/__tests__/.*(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"setupFiles": [
"<rootDir>/client/src/__tests__/setup.js"
]
},
"babel": {
"presets": [
"es2015"
],
"plugins": [
"transform-es2015-modules-commonjs"
],
"only": [
"**/react-apollo/*"
]
}
}