forked from TheBrainFamily/TheBrain2.0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 loc) · 3.44 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
{
"name": "thebrain2-testing",
"version": "1.0.0",
"description": "Wrapper for all-thing TheBrain, mostly for testing purposes",
"main": "index.js",
"scripts": {
"test": "npm run cypressTestCI && npm run enzymeTest",
"cypressTest": "BABEL_ENV=development cypress open",
"cypressTestCI": "BABEL_ENV=development cypress run",
"enzymeTest": "ENZYME=true BABEL_ENV=test NODE_ENV=TESTING jest cypress/integration/landingPage.test.js --config ./clientEnzymeTest.json",
"enzymeTestMobile": "ENZYME=true BABEL_ENV=test NODE_ENV=TESTING jest testingMobile/App.test.js",
"enzymeTest:watch": "npm run enzymeTest -- --watch",
"cleanAll": "rm -rf node_modules && rm -rf client/node_modules && rm -rf mobileClient/node_modules && rm -rf server/node_modules",
"buildAll": "npm install && pushd client && npm install && pushd ../mobileClient && npm install && pushd ../server && npm install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lgandecki/TheBrain2.0.git"
},
"author": "The Brain Software House",
"license": "ISC",
"bugs": {
"url": "https://github.com/lgandecki/TheBrain2.0/issues"
},
"homepage": "https://github.com/lgandecki/TheBrain2.0#readme",
"devDependencies": {
"@cypress/browserify-preprocessor": "^1.0.2",
"apollo-client": "^1.8.1",
"apollo-test-utils-with-context": "^0.3.5",
"babel-plugin-get-rid-of-async-await": "0.0.4",
"babel-plugin-module-rewrite-with-root": "^0.3.0",
"babel-plugin-transform-async-to-generator": "^6.24.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-flow": "^6.23.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"casual": "^1.5.19",
"cypress": "^1.4.1",
"enzyme": "^3.3.0",
"enzyme-adapter-react-15": "^1.0.5",
"jest": "^22.0.4",
"jest-expo": "^24.0.0",
"jquery": "^3.2.1",
"lodash": "^4.17.4",
"moment": "^2.20.1",
"opn": "^5.1.0",
"react": "^15.5.3",
"react-apollo": "^1.4.16",
"react-dom": "^15.6.2",
"react-test-renderer": "^15.6.2",
"regenerator-runtime": "^0.11.1"
},
"jest": {
"haste": {
"defaultPlatform": "ios",
"platforms": [
"android",
"ios",
"native"
],
"providesModuleNodeModules": [
"react-native"
]
},
"moduleNameMapper": {
"^[./a-zA-Z0-9$_-]+\\.(bmp|gif|jpg|jpeg|png|psd|svg|webp)$": "RelativeImageStub",
"^React$": "<rootDir>/mobileClient/node_modules/react",
"^react$": "<rootDir>/mobileClient/node_modules/react",
"^react-native$": "<rootDir>/mobileClient/node_modules/react-native",
"^react-apollo$": "<rootDir>/mobileClient/node_modules/react-apollo",
"^react-native/(.*)$": "<rootDir>/mobileClient/node_modules/react-native/$1",
"^[./a-zA-Z0-9$_-]+\\.(ttf|otf|m4v|mov|mp4|mpeg|mpg|webm|aac|aiff|caf|m4a|mp3|wav|html|pdf|obj)$": "RelativeImageStub"
},
"modulePathIgnorePatterns": [
"<rootDir>/mobileClient/node_modules/react-native/Libraries/react-native/"
],
"transformIgnorePatterns": [
"<rootDir>/server/node_modules/",
"<rootDir>/client/node_modules/",
"<rootDir>/node_modules/",
"<rootDir>/mobileClient/node_modules/(?!react-apollo|react-native|expo|react-router-native)"
],
"setupFiles": [
"<rootDir>/mobileClient/node_modules/react-native/jest/setup.js",
"<rootDir>/mobileClient/node_modules/jest-expo/src/setup.js"
],
"testEnvironment": "node"
}
}