-
Notifications
You must be signed in to change notification settings - Fork 397
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.26 KB
/
package.json
File metadata and controls
84 lines (84 loc) · 2.26 KB
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
{
"private": true,
"name": "stylex-monorepo",
"packageManager": "yarn@1.22.22",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"postinstall": "npm run build",
"prepare": "husky install tools/husky",
"build": "npm run build --workspaces --if-present",
"build:examples": "npm run example:build --workspaces --if-present",
"flow": "flow",
"prettier": "prettier --write \"**/*.{js,flow,mjs,tsx,ts}\"",
"prettier:report": "prettier --check \"**/*.{js,flow,mjs,tsx,ts}\"",
"lint": "npm run lint:report -- --fix",
"lint:report": "eslint . --ext .flow,.js,.jsx,.mjs,.ts,.tsx",
"release": "tools/npm/release.js",
"test:packages": "npm run test --workspaces --if-present",
"test": "npm run build && npm run flow && npm run test:packages && npm run prettier:report && npm run lint:report"
},
"workspaces": [
"packages/style-value-parser",
"packages/@stylexjs/shared",
"packages/@stylexjs/stylex",
"packages/@stylexjs/babel-plugin",
"packages/@stylexjs/*",
"packages/*",
"examples/*"
],
"devDependencies": {
"@types/estree": "^1.0.6",
"@types/jest": "^30.0.0",
"@typescript-eslint/parser": "^6.21.0",
"cross-env": "^10.1.0",
"eslint": "8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-ft-flow": "^3.0.11",
"eslint-plugin-headers": "~1.2.1",
"eslint-plugin-react": "^7.37.1",
"flow-bin": "^0.291.0",
"flow-typed": "^4.1.1",
"hermes-eslint": "^0.32.1",
"husky": "^8.0.0",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"lint-staged": "^13.0.3",
"prettier": "3.5.3",
"prettier-plugin-hermes-parser": "^0.32.0",
"shx": "^0.4.0",
"yargs": "18.0.0"
},
"prettier": {
"singleQuote": true,
"tabWidth": 2,
"plugins": [
"prettier-plugin-hermes-parser"
],
"proseWrap": "always",
"trailingComma": "all",
"overrides": [
{
"files": [
"*.js",
"*.jsx",
"*.mjs",
"*.flow"
],
"options": {
"parser": "hermes"
}
}
]
},
"lint-staged": {
"**/*.js": [
"prettier --write",
"git update-index --again",
"npm run lint"
]
},
"resolutions": {
"baseline-browser-mapping": "^2.9.14"
}
}