This repository has been archived by the owner on Sep 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 248
/
package.json
151 lines (151 loc) · 4.82 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
"private": true,
"name": "@phenomic/core",
"repository": "https://github.com/phenomic/phenomic.git",
"homepage": "https://phenomic.io",
"license": "MIT",
"authors": [
"Maxime Thirouin (MoOx)",
"bloodyowl <[email protected]>"
],
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/node": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/runtime": "^7.0.0",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.0.0",
"babel-jest": "^23.6.0",
"bs-platform": "^5.0.4",
"chalk": "^1.1.3",
"cross-env": "^2.0.0",
"cross-spawn": "^5.1.0",
"eslint": "^5.7.0",
"eslint-config-i-am-meticulous": "^11.0.0",
"eslint-import-resolver-webpack": "^0.10.0",
"eslint-plugin-flowtype": "^3.0.0",
"eslint-plugin-react": "^7.11.0",
"eslint-plugin-react-native": "^3.5.0",
"flow-bin": "^0.87.0",
"git-exec-and-restage": "^1.0.1",
"globby": "^6.1.0",
"husky": "^0.13.3",
"jest": "^23.0.0",
"lerna": "^3.14.0",
"lint-staged": "^3.4.0",
"npm-run-all": "^3.0.0",
"prettier": "^1.8.0",
"replace": "^1.0.0",
"trash-cli": "^1.4.0"
},
"scripts": {
"#<git hooks>": "handled by husky",
"precommit": "lint-staged",
"#</git hooks>": "handled by husky",
"cleanup-node_modules": "trash node_modules packages/*/node_modules examples/*/node_modules website/node_modules",
"clean": "trash \"packages/*/lib\" \"{examples,packages,website}/*/src/*.bs.js\" && lerna exec --parallel -- bsb -clean-world",
"transpile": "yarn transpile:re && yarn transpile:js",
"transpile:js": "lerna exec -- babel --config-file ../../babel.config.js src --optional runtime --out-dir lib --ignore \\\"src/**/__tests__\\\"",
"transpile:re": "lerna exec -- bsb -make-world",
"posttranspile": "lerna run prepare",
"watch": "npm-run-all --parallel watch:*",
"watch:js": "lerna exec --parallel -- babel --config-file ../../babel.config.js -w src --optional runtime --out-dir lib --ignore \\\"src/**/__tests__\\\"",
"#watch:re-workaround": "https://github.com/lerna/lerna/issues/1745",
"watch:re-workaround": "replace '\\[\"ignore\",' '[\"inherit\",' ./node_modules/@lerna/child-process/index.js",
"watch:re": "lerna exec --parallel -- bsb -make-world -w",
"prepare": "yarn clean && yarn transpile && yarn watch:re-workaround",
"prerelease": "yarn prepare",
"release": "lerna publish",
"format": "yarn format:most && yarn format:re",
"format:most": "prettier --write \"**/*.{js,json,css,md}\"",
"format:re": "find . -name \"*.re\" | grep -v \"node_modules\" | xargs bsrefmt --in-place",
"links": "lerna exec -- yarn link",
"lint:eslint": "eslint --ignore-path .gitignore --fix packages examples website",
"lint:flow": "flow check",
"lint": "npm-run-all --parallel lint:*",
"tests": "jest --runInBand --coverage packages",
"examples:build": "babel-node scripts/examples.js",
"examples:tests": "jest --bail examples",
"examples": "yarn examples:build && yarn examples:tests",
"website:start": "cd website && yarn start",
"website:build": "cd website && yarn build",
"website:test": "cd website && yarn test && cd .. && jest website",
"test": "yarn lint && yarn tests",
"test-without-lint": "yarn tests",
"posttest": "yarn examples && yarn website:test"
},
"prettier": {
"trailingComma": "all",
"proseWrap": "always"
},
"lint-staged": {
"*.{js,json,css,md}": [
"git-exec-and-restage prettier --write"
]
},
"eslintConfig": {
"extends": [
"eslint-config-i-am-meticulous/react-flow",
"eslint-config-i-am-meticulous/react-native"
],
"env": {
"jest": true
},
"rules": {
"import/no-namespace": 0,
"import/max-dependencies": [
2,
{
"max": 20
}
],
"react/sort-comp": 0
},
"settings": {
"import/resolver": {
"webpack": {
"config": {
"resolve": {
"extensions": [
".web.js",
".js",
".json"
]
}
}
}
}
}
},
"jest": {
"transform": {
"^.+\\.js$": "./babel-jest.upward.js"
},
"setupFiles": [
"./jest-setup.js"
],
"testURL": "http://url.tld/path",
"coveragePathIgnorePatterns": [
"/node_modules/",
"jest-setup.js"
],
"testPathIgnorePatterns": [
"/_output/",
"/__fixtures__"
],
"modulePathIgnorePatterns": [
"/dist/"
]
},
"workspaces": [
"website",
"examples/*",
"packages/*"
]
}