-
Notifications
You must be signed in to change notification settings - Fork 309
/
package.json
81 lines (81 loc) · 2.3 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
{
"name": "stylex-monorepo",
"version": "0.9.3",
"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/docs apps/rollup-example apps/webpack-example",
"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.25.7",
"@babel/core": "^7.25.8",
"@babel/eslint-parser": "^7.25.8",
"@babel/plugin-syntax-flow": "^7.25.7",
"@babel/preset-env": "^7.25.8",
"@babel/preset-flow": "^7.25.7",
"@babel/preset-react": "^7.25.7",
"@babel/preset-typescript": "^7.25.7",
"@babel/template": "^7.25.7",
"@babel/types": "^7.25.8",
"@rollup/plugin-alias": "^5.1.1",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-replace": "^6.0.1",
"@types/estree": "^1.0.6",
"@types/jest": "^29.5.13",
"babel-plugin-syntax-hermes-parser": "^0.25.0",
"benchmark": "^2.1.4",
"cross-env": "^7.0.3",
"esbuild": "^0.24.0",
"eslint": "8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-ft-flow": "^3.0.11",
"eslint-plugin-react": "^7.37.1",
"flow-bin": "^0.249.0",
"hermes-eslint": "^0.25.0",
"jest": "^30.0.0-alpha.6",
"prettier": "^3.3.3",
"prettier-plugin-hermes-parser": "^0.25.0",
"rimraf": "^5.0.10",
"rollup": "^4.24.0",
"typescript": "^5.3.3"
},
"prettier": {
"singleQuote": true,
"tabWidth": 2,
"plugins": [
"prettier-plugin-hermes-parser"
],
"proseWrap": "always",
"overrides": [
{
"files": [
"*.js",
"*.jsx",
"*.flow"
],
"options": {
"parser": "hermes"
}
}
]
}
}