-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
101 lines (101 loc) · 3.46 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
{
"name": "react_native_css_in_js_benchmarks",
"version": "0.0.1",
"private": true,
"scripts": {
"format": "npm run lint:fix && npm run prettier",
"lint": "eslint '{.,__tests__/**,e2e/**,src/**}/*.js'",
"lint:fix": "npm run lint -- --fix",
"precommit": "lint-staged",
"prettier": "npm run prettier:options -- --write '{.,__tests__/**,e2e/**,src/**}/*.js'",
"prettier:options": "prettier --no-semi --trailing-comma all --single-quote",
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "NODE_ENV=test jest",
"test:e2e": "NODE_ENV=test npm run test:e2e:release",
"test:e2e:build": "NODE_ENV=test npm run test:e2e:build:release",
"test:e2e:build:debug": "NODE_ENV=test detox build -c ios.sim.debug",
"test:e2e:build:release": "NODE_ENV=test detox build -c ios.sim.release",
"test:e2e:debug": "NODE_ENV=test detox test -c ios.sim.debug",
"test:e2e:release": "NODE_ENV=test detox test -c ios.sim.release"
},
"dependencies": {
"fela": "^6.1.8",
"fela-native": "^5.0.21",
"fela-tools": "^5.1.6",
"glamorous-native": "^1.4.0",
"hoist-non-react-statics": "^2.5.4",
"prop-types": "^15.6.1",
"react": "16.4.1",
"react-fela": "^7.3.0",
"react-native": "0.55.4",
"styled-components": "^3.3.2",
"usertiming": "^0.1.8"
},
"devDependencies": {
"babel-eslint": "^8.2.3",
"babel-jest": "23.0.1",
"babel-preset-react-native": "4.0.0",
"detox": "^7.4.2",
"eslint": "^4.19.1",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-babel": "^5.1.0",
"eslint-plugin-detox": "^1.0.0",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-react": "^7.9.1",
"eslint-plugin-react-native": "^3.2.1",
"husky": "^0.14.3",
"jest": "23.1.0",
"jest-cli": "^23.1.0",
"lint-staged": "^7.2.0",
"prettier-eslint": "^8.8.1",
"react-test-renderer": "16.4.1"
},
"jest": {
"preset": "react-native",
"moduleFileExtensions": [
"js",
"android.js",
"ios.js"
],
"moduleDirectories": [
"node_modules"
],
"testRegex": "(__tests__/|src/|).*\\.(spec|test)\\.js$",
"testPathIgnorePatterns": [
"node_modules",
"e2e"
],
"transformIgnorePatterns": [
"node_modules/(?!detox*|glamorous-native|react-native)"
]
},
"lint-staged": {
"*.js": [
"npm run prettier:options -- --write",
"eslint --fix",
"git add"
]
},
"detox": {
"specs": "e2e",
"test-runner": "jest",
"runner-config": "e2e/config.json",
"configurations": {
"ios.sim.debug": {
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/react_native_css_in_js_benchmarks.app",
"build": "xcodebuild -project ios/react_native_css_in_js_benchmarks.xcodeproj -scheme react_native_css_in_js_benchmarks -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"name": "iPhone X"
},
"ios.sim.release": {
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/react_native_css_in_js_benchmarks.app",
"build": "xcodebuild -project ios/react_native_css_in_js_benchmarks.xcodeproj -scheme react_native_css_in_js_benchmarks -configuration Release -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"name": "iPhone X"
}
}
}
}