-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
97 lines (97 loc) · 4.04 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
{
"name": "thebrain2-testing",
"version": "1.0.1",
"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 --record",
"cypressTestEndToEndCI": "BABEL_ENV=development cypress run -s testing/web/features/endToEnd.js",
"enzymeTest": "ENZYME=true BABEL_ENV=test NODE_ENV=TESTING jest --projects testing/web",
"enzymeTestMobile": "ENZYME=true BABEL_ENV=test NODE_ENV=TESTING jest --projects testing/mobile",
"enzymeTest:watch": "npm run enzymeTest -- --watch",
"cleanAll": "rm -rf node_modules && rm -rf web/node_modules && rm -rf mobile/node_modules && rm -rf server/node_modules && rm -rf shared/node_modules",
"buildAll": "npm install && pushd web && npm install && pushd ../mobile && npm install && pushd ../server && npm install && pushd ../shared && npm install",
"testAll": "ENZYME=true BABEL_ENV=test NODE_ENV=TESTING jest --projects testing/mobile testing/web/ server server/jest.standard.config.js testing/jest.standard.config.js shared/jest.config.js mobile/jest.standard.config.js web/jest.standard.config.js",
"makeWebStandardHappy": "pushd ./web; ./node_modules/.bin/standard --fix",
"makeMobileStandardHappy": "pushd ./mobile; ./node_modules/.bin/standard --fix",
"makeServerStandardHappy": "pushd ./server; ./node_modules/.bin/standard --fix",
"makeSharedStandardHappy": "pushd ./shared ; ../node_modules/.bin/standard --fix",
"makeTestsStandardHappy": "pushd ./testing; ../node_modules/.bin/standard --fix",
"makeStandardHappy": "npm run makeWebStandardHappy ; npm run makeWebStandardHappy ; npm run makeMobileStandardHappy; npm run makeSharedStandardHappy ; npm run makeTestsStandardHappy; npm run makeServerStandardHappy",
"precommit": "lint-staged",
"createDefaultDB": "NODE_ENV=staging babel-node ./testing/common/serverStateHelpers/createDefaultDB",
"createDefaultDevDB": "NODE_ENV=DEVELOPMENT babel-node ./testing/common/serverStateHelpers/createDefaultDB"
},
"lint-staged": {
"mobile/**/*.js": [
"npm run makeMobileStandardHappy -- ",
"git add"
],
"server/**/*.js": [
"npm run makeServerStandardHappy -- ",
"git add"
],
"web/**/*.js": [
"npm run makeWebStandardHappy -- ",
"git add"
],
"shared/**/*.js": [
"npm run makeSharedStandardHappy -- ",
"git add"
],
"testing/**/*.js": [
"npm run makeTestsStandardHappy -- ",
"git add"
],
"*.js": [
"npm run testAll -- --bail --findRelatedTests"
]
},
"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",
"aws-sdk": "^2.188.0",
"babel-cli": "^6.26.0",
"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",
"crypto": "^1.0.1",
"cypress": "^1.4.1",
"enzyme": "^3.3.0",
"husky": "^0.14.3",
"jest": "^22.0.4",
"jest-expo": "^24.0.0",
"jest-runner-standard": "^0.0.12",
"jquery": "^3.2.1",
"lint-staged": "^6.0.1",
"lodash": "^4.17.4",
"moment": "^2.20.1",
"mongodb": "^3.0.2",
"opn": "^5.1.0",
"promise": "^8.0.1",
"react": "^16.2.0",
"react-apollo": "^1.4.16",
"react-dom": "^16.2.0",
"react-test-renderer": "^15.6.2",
"regenerator-runtime": "^0.11.1",
"standard": "^10.0.3"
}
}