forked from facebook/stylex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 2.42 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
{
"name": "stylex-monorepo",
"version": "0.3.0",
"license": "MIT",
"private": true,
"scripts": {
"build": "npm run build --workspaces --if-present",
"flow": "flow",
"prettier": "prettier --write \"**/*.js\" \"**/*.ts\"",
"prettier:report": "prettier --check \"**/*.js\"",
"lint": "npm run lint:report -- --fix",
"lint:report": "eslint packages apps",
"postinstall": "npm run build",
"precommit": "npm run prettier && npm run flow && npm run lint && npm run test",
"pretest": "npm run build",
"test": "npm run test --workspaces --if-present",
"test:nobuild": "npm run test --workspaces --if-present"
},
"workspaces": [
"packages/shared",
"packages/stylex",
"packages/*",
"apps/*"
],
"devDependencies": {
"@babel/cli": "^7.23.0",
"@babel/core": "^7.23.0",
"@babel/eslint-parser": "^7.22.15",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-syntax-flow": "^7.22.5",
"@babel/plugin-transform-flow-comments": "^7.22.10",
"@babel/preset-env": "^7.22.20",
"@babel/preset-flow": "^7.22.15",
"@babel/preset-react": "^7.22.15",
"@babel/preset-typescript": "^7.22.15",
"@babel/types": "^7.22.5",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.5",
"@rollup/plugin-json": "^6.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.3",
"@types/estree": "^1.0.2",
"@types/jest": "^29.5.5",
"babel-plugin-syntax-hermes-parser": "^0.18.0",
"benchmark": "^2.1.4",
"cross-env": "^7.0.3",
"eslint": "8.47.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-ft-flow": "^3.0.0",
"eslint-plugin-react": "^7.33.2",
"flow-bin": "^0.223.0",
"hermes-eslint": "^0.18.0",
"jest": "^30.0.0-alpha.1",
"prettier": "^3.1.0",
"prettier-plugin-hermes-parser": "^0.18.0",
"rimraf": "^5.0.5",
"rollup": "^4.0.2",
"typescript": "^5.1.6"
},
"overrides": {
"eslint-plugin-ft-flow": {
"hermes-eslint": "^0.18.0"
}
},
"prettier": {
"singleQuote": true,
"tabWidth": 2,
"plugins": [
"prettier-plugin-hermes-parser"
],
"proseWrap": "always",
"overrides": [
{
"files": [
"*.js",
"*.jsx",
"*.flow"
],
"options": {
"parser": "hermes"
}
}
]
}
}