-
Notifications
You must be signed in to change notification settings - Fork 313
/
package.json
44 lines (44 loc) · 1.2 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
{
"name": "@stylexjs/cli",
"version": "0.9.3",
"description": "A cli to compile a folder with StyleX",
"main": "./lib/transform.js",
"repository": "https://www.github.com/facebook/stylex",
"license": "MIT",
"scripts": {
"prebuild": "gen-types -i src/ -o lib/",
"build:cjs": "cross-env BABEL_ENV=cjs babel src/ --out-dir lib/ --copy-files",
"build:esm": "cross-env BABEL_ENV=esm babel src/ --out-dir lib/es --out-file-extension .mjs",
"postbuild:esm": "rollup -c ./rollup.config.mjs",
"build": "npm run build:cjs && npm run build:esm",
"build-haste": "rewrite-imports -i src/ -o lib/",
"test": "jest"
},
"dependencies": {
"@babel/core": "7.25.8",
"@babel/plugin-syntax-jsx": "^7.25.7",
"@babel/plugin-syntax-typescript": "^7.25.7",
"@babel/types": "^7.25.8",
"@stylexjs/babel-plugin": "0.9.3",
"ansis": "^3.3.2",
"fb-watchman": "^2.0.2",
"json5": "^2.2.3",
"mkdirp": "^3.0.1",
"yargs": "^17.7.2"
},
"devDependencies": {
"@stylexjs/scripts": "0.9.3"
},
"bin": {
"stylex": "./lib/index.js"
},
"jest": {
"testPathIgnorePatterns": [
"__tests__/__mocks__"
]
},
"files": [
"flow_modules/*",
"lib/*"
]
}