-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
51 lines (51 loc) · 1.85 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
{
"name": "monoexample",
"private": true,
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"workspaces": {
"packages": [
"packages/native",
"packages/shared",
"packages/web"
],
"nohoist": [
"**/react-native",
"**/react-native/**",
"**/styled-components",
"**/jest"
]
},
"scripts": {
"run:web": "yarn workspace web start",
"run:native:packager": "yarn workspace app react-native start",
"run:native:ios": "yarn workspace app react-native run-ios",
"run:native:android": "yarn workspace app react-native run-android",
"reset:modules": "rm -rf node_modules/ yarn.lock packages/*/node_modules",
"reset:yarn": "yarn cache clean",
"reset:rn": "watchman watch-del-all; rm -fr $TMPDIR/react-*; rm -rf $TMPDIR/haste-map-react-native-packager-*",
"reset:cache": "yarn reset:yarn && yarn reset:rn",
"reset": "yarn reset:modules && yarn reset:cache",
"lint:web:css":"stylelint './packages/web/src/*.js'",
"lint:native:css":"stylelint './packages/native/*.js' --fix",
"lint:web:eslint": "eslint --ignore-path .gitignore './packages/web/src/*.js' --fix",
"lint:native:eslint": "eslint --ignore-path .gitignore './packages/native/*.js' --fix",
"lint:web": "yarn lint:web:eslint ; yarn lint:web:css",
"lint:native": "yarn lint:native:eslint ; yarn lint:native:css"
},
"devDependencies": {
"eslint": "5.12.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^4.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.11.0",
"prettier": "^1.16.4",
"stylelint": "^9.10.1",
"stylelint-config-recommended": "^2.1.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.5.2"
}
}