1 | {
|
2 | "version": "1.0.0-rc.14",
|
3 | "name": "haul",
|
4 | "description": "Haul is a new command line tools for React Native",
|
5 | "bin": {
|
6 | "haul": "./bin/cli.js"
|
7 | },
|
8 | "main": "src/index.js",
|
9 | "scripts": {
|
10 | "precommit": "lint-staged",
|
11 | "flow": "flow --include-warnings",
|
12 | "lint": "eslint .",
|
13 | "jest": "jest",
|
14 | "test": "yarn flow && yarn lint && yarn jest",
|
15 | "test:ci": "yarn flow && yarn lint && yarn jest -- -i",
|
16 | "format": "eslint --fix .",
|
17 | "add-contributor": "all-contributors add"
|
18 | },
|
19 | "author": "Mike Grabowski <mike@callstack.io>",
|
20 | "repository": "github:callstack-io/haul",
|
21 | "contributors": [
|
22 | "Satyajit Sahoo <satyajit.sahoo@callstack.io>",
|
23 | "Piotr Drapich <piotr.drapich@callstack.io>",
|
24 | "Pawel Trysla <pawel.trysla@callstack.io>"
|
25 | ],
|
26 | "license": "MIT",
|
27 | "bugs": "https://github.com/callstack-io/haul/issues",
|
28 | "peerDependencies": {
|
29 | "metro-react-native-babel-preset": "^0.45.0",
|
30 | "react-native": "^0.57.0"
|
31 | },
|
32 | "dependencies": {
|
33 | "@babel/core": "^7.0.0",
|
34 | "@babel/plugin-proposal-class-properties": "^7.0.0",
|
35 | "@babel/plugin-proposal-object-rest-spread": "^7.0.0",
|
36 | "@babel/plugin-transform-flow-strip-types": "^7.0.0",
|
37 | "@babel/plugin-transform-react-jsx": "^7.0.0",
|
38 | "@babel/polyfill": "^7.0.0",
|
39 | "@babel/preset-env": "^7.0.0",
|
40 | "@babel/register": "^7.0.0",
|
41 | "@react-slate/components": "0.2.0",
|
42 | "@react-slate/core": "0.7.0",
|
43 | "@react-slate/utils": "0.2.2",
|
44 | "@zamotany/react-proxy": "3.0.0-alpha.4",
|
45 | "babel-loader": "^8.0.2",
|
46 | "cache-loader": "^1.2.2",
|
47 | "camelcase-keys": "^4.0.0",
|
48 | "case-sensitive-paths-webpack-plugin": "^2.1.2",
|
49 | "chalk": "1.1.3",
|
50 | "clear": "^0.0.1",
|
51 | "cliui": "^3.2.0",
|
52 | "clone": "^2.1.1",
|
53 | "core-js": "^2.5.3",
|
54 | "decamelize": "^1.2.0",
|
55 | "dedent": "^0.7.0",
|
56 | "escape-string-regexp": "^1.0.5",
|
57 | "express": "^4.15.2",
|
58 | "hasha": "^2.2.0",
|
59 | "hoist-non-react-statics": "^2.2.1",
|
60 | "image-size": "^0.5.1",
|
61 | "inquirer": "^3.0.6",
|
62 | "loader-utils": "^1.1.0",
|
63 | "mime-types": "^2.1.18",
|
64 | "minimist": "^1.2.0",
|
65 | "mkdirp": "^0.5.1",
|
66 | "morgan": "^1.8.1",
|
67 | "multi-progress": "^2.0.0",
|
68 | "node-emoji": "^1.8.1",
|
69 | "node-fetch": "^2.0.0",
|
70 | "open-in-editor": "^2.2.0",
|
71 | "opn": "^5.3.0",
|
72 | "ora": "^1.2.0",
|
73 | "platform-select": "^1.1.0",
|
74 | "react": "16.5.0",
|
75 | "react-deep-force-update": "^2.0.1",
|
76 | "react-hot-loader": "^4.3.6",
|
77 | "resolve": "^1.3.3",
|
78 | "resolve-from": "^4.0.0",
|
79 | "rxjs": "^5.4.2",
|
80 | "semver": "^5.5.0",
|
81 | "simple-progress-webpack-plugin": "^1.1.2",
|
82 | "source-map": "^0.5.6",
|
83 | "strip-ansi": "^3.0.1",
|
84 | "thread-loader": "^1.2.0",
|
85 | "uglifyjs-webpack-plugin": "^1.2.7",
|
86 | "webpack": "^4.12.0",
|
87 | "webpack-hot-middleware": "^2.22.1",
|
88 | "ws": "^2.2.2",
|
89 | "xpipe": "^1.0.5"
|
90 | },
|
91 | "devDependencies": {
|
92 | "all-contributors-cli": "^4.5.1",
|
93 | "babel-core": "^7.0.0-bridge.0",
|
94 | "babel-jest": "^23.6.0",
|
95 | "eslint": "^4.3.0",
|
96 | "eslint-config-callstack-io": "^1.0.1",
|
97 | "flow-bin": "^0.65.0",
|
98 | "husky": "^0.13.3",
|
99 | "jest": "^23.6.0",
|
100 | "lint-staged": "^3.4.0",
|
101 | "metro-react-native-babel-preset": "^0.45",
|
102 | "react-native": "^0.57.0",
|
103 | "rimraf": "^2.6.1",
|
104 | "snapshot-diff": "^0.3.0",
|
105 | "traverse": "^0.6.6"
|
106 | },
|
107 | "lint-staged": {
|
108 | "*.js": [
|
109 | "eslint --fix",
|
110 | "git add"
|
111 | ]
|
112 | },
|
113 | "babel": {
|
114 | "presets": [
|
115 | [
|
116 | "@babel/preset-env",
|
117 | {
|
118 | "targets": {
|
119 | "node": "current"
|
120 | },
|
121 | "useBuiltIns": "entry"
|
122 | }
|
123 | ]
|
124 | ],
|
125 | "plugins": [
|
126 | "@babel/plugin-transform-flow-strip-types",
|
127 | "@babel/plugin-proposal-class-properties",
|
128 | "@babel/plugin-proposal-object-rest-spread",
|
129 | "@babel/plugin-transform-react-jsx"
|
130 | ]
|
131 | },
|
132 | "eslintConfig": {
|
133 | "extends": "callstack-io",
|
134 | "rules": {
|
135 | "strict": 0,
|
136 | "arrow-body-style": 0,
|
137 | "arrow-parens": 0,
|
138 | "class-methods-use-this": 0,
|
139 | "flowtype/no-weak-types": 0,
|
140 | "flowtype/require-parameter-type": 0,
|
141 | "global-require": 0,
|
142 | "no-alert": 0,
|
143 | "no-confusing-arrow": 0,
|
144 | "no-console": 0,
|
145 | "no-constant-condition": 0,
|
146 | "no-restricted-syntax": 0
|
147 | },
|
148 | "overrides": {
|
149 | "files": "**/integration_tests/**/*.js",
|
150 | "rules": {
|
151 | "import/no-extraneous-dependencies": [
|
152 | "error",
|
153 | {
|
154 | "devDependencies": [
|
155 | "**/integration_tests/**"
|
156 | ]
|
157 | }
|
158 | ]
|
159 | }
|
160 | }
|
161 | },
|
162 | "jest": {
|
163 | "setupTestFrameworkScriptFile": "<rootDir>/jest/setupTestFramework.js",
|
164 | "testPathIgnorePatterns": [
|
165 | "/integration_tests/.*/__tests__"
|
166 | ],
|
167 | "moduleNameMapper": {
|
168 | "^jest/(.*)": "<rootDir>/jest/$1"
|
169 | },
|
170 | "testMatch": [
|
171 | "**/*.test.js"
|
172 | ]
|
173 | }
|
174 | }
|