forked from facebook/stylex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 2.32 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
{
"name": "stylex-monorepo",
"version": "0.5.1",
"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.23.9",
"@babel/core": "^7.23.9",
"@babel/eslint-parser": "^7.23.9",
"@babel/plugin-syntax-flow": "^7.23.3",
"@babel/preset-env": "^7.23.9",
"@babel/preset-flow": "^7.23.3",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@babel/types": "^7.23.9",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.5",
"@types/estree": "^1.0.5",
"@types/jest": "^29.5.11",
"babel-plugin-syntax-hermes-parser": "^0.18.2",
"benchmark": "^2.1.4",
"esbuild": "^0.19.12",
"cross-env": "^7.0.3",
"eslint": "8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-ft-flow": "^3.0.2",
"eslint-plugin-react": "^7.33.2",
"flow-bin": "^0.227.0",
"hermes-eslint": "^0.18.2",
"jest": "^30.0.0-alpha.1",
"prettier": "^3.2.4",
"prettier-plugin-hermes-parser": "^0.18.2",
"rimraf": "^5.0.5",
"rollup": "^4.9.6",
"typescript": "^5.3.3"
},
"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"
}
}
]
}
}